Community
Participate
Working Groups
Build ID: I20070503-1400 Steps To Reproduce: I cannot reliably reproduce this but have seen it twice in the last two days while testing JVMTI profiling. The steps are from the latest case. Run the PauseResume03 case from the JVMPI profiler test suite but using jdk 1.5+ (jvmti) - with time analysis checked in execution analysis: 1. Launch (locally/remotely) StartStop 2. Open the Method Statistics view after the entry prompt is displayed in the Profiling Console. Refresh the view until no more new data is shown. 3. Pause the agent 4. Press enter in the profiling console. Refresh the views and verify that no additional data is displayed 5. Resume the trace 6. Press enter in the profiling console. Refresh the views and verify that the cumulative time for the main method in the Method Statistics view has increased. It was at this refresh that the workbench started producing exception dialogs. ACServer did not exit and the next attempt was successful. More information: The error log has a bunch of entries (6 over ~40s): eclipse.buildId=I20070503-1400 java.fullversion=J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-20070201 (JIT enabled) J9VM - 20070131_11312_lHdSMR JIT - 20070109_1805ifx1_r8 GC - 200701_09 BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Framework arguments: -startup D:\test\tptp\440\0508C\eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20070502.jar Command-line arguments: -os win32 -ws win32 -arch x86 -startup D:\test\tptp\440\0508C\eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20070502.jar Error Fri May 18 15:21:13 EDT 2007 Problems occurred when invoking code from plug-in: "org.eclipse.jface". java.lang.NullPointerException at org.eclipse.hyades.trace.views.internal.view.columnlabels.PackageNameColumnLabel.getTRCPackage(PackageNameColumnLabel.java:69) at org.eclipse.hyades.trace.views.internal.view.columnlabels.PackageNameColumnLabel.getDisplayString(PackageNameColumnLabel.java:35) at org.eclipse.hyades.trace.views.internal.StatisticView.getElementColumnText(StatisticView.java:1086) at org.eclipse.hyades.trace.views.internal.MethodDetailsStatistic$MethodStatisticLabelProvider.getColumnText(MethodDetailsStatistic.java:432) at org.eclipse.jface.viewers.TableColumnViewerLabelProvider.update(TableColumnViewerLabelProvider.java:70) at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:135) at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:895) at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:97) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.runtime.Platform.run(Platform.java:850) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:193) at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:973) at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:466) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.runtime.Platform.run(Platform.java:850) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:193) at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2018) at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:806) at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:781) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:755) at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:563) at org.eclipse.jface.viewers.AbstractTreeViewer.internalInitializeTree(AbstractTreeViewer.java:1441) at org.eclipse.jface.viewers.TreeViewer.internalInitializeTree(TreeViewer.java:752) at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1428) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1363) at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:377) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1325) at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1417) at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:251) at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1601) at org.eclipse.hyades.trace.views.internal.StatisticView.update(StatisticView.java:851) at org.eclipse.hyades.trace.views.internal.MultiLevelStatisticView.update(MultiLevelStatisticView.java:766) at org.eclipse.hyades.trace.views.internal.ExecutionStatisticView.update(ExecutionStatisticView.java:1237) at org.eclipse.hyades.trace.views.internal.StatisticView.updateUI(StatisticView.java:742) at org.eclipse.hyades.trace.views.internal.MethodDetails.update(MethodDetails.java:197) at org.eclipse.hyades.trace.views.internal.MethodDetails.refresh(MethodDetails.java:88) at org.eclipse.hyades.trace.views.adapter.internal.MethodDetailsTab.refresh(MethodDetailsTab.java:68) at org.eclipse.hyades.trace.views.adapter.internal.ExecutionStatisticPage2.refreshPage(ExecutionStatisticPage2.java:155) at org.eclipse.hyades.trace.ui.TraceViewer.refreshPage(TraceViewer.java:417) at org.eclipse.hyades.trace.ui.TraceViewer.handleProfileEvent(TraceViewer.java:576) at org.eclipse.tptp.platform.common.ui.trace.internal.helpers.TraceUIManager$1.run(TraceUIManager.java:168) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:152) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:118) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4088) at org.eclipse.tptp.platform.common.ui.trace.internal.helpers.TraceUIManager.notifyProfileEventListener(TraceUIManager.java:161) at org.eclipse.hyades.trace.ui.UIPlugin.notifyProfileEventListener(UIPlugin.java:560) at org.eclipse.hyades.trace.views.internal.StatisticView$UpdateAction.run(StatisticView.java:341) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3673) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2365) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2329) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2204) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:497) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:436) at org.eclipse.equinox.launcher.Main.run(Main.java:1162) at org.eclipse.equinox.launcher.Main.main(Main.java:1137)
Alan, would you please attach the Java application here?
Created attachment 67863 [details] test program
Alan, I cannot reproduce the problem as described with the C driver. I did see an error dialog when try to resume monitoring. but that's all I saw and nothing else is logged in .log file. Are you using all-in-one? or separate download? I am using tptp.sdk-TPTP-4.4.0-200705080100C.zip
and I am using IAC with ibm JDK 1.5.
I am using: tptp.runtime-TPTP-4.4.0-200705080100C.zip with IBM JDK 1.5 SR4 I also cannot reproduce this at will. I have only seen it twice but have been testing all week. I was using standalone AC - though I doubt IAC is likely to behave differently.
I will try again with RAC. Thanks.
Also seeing this with the TPTP-4.4.0-200706140100A build on Vista with IBM JDK 1.5 SR3. Once it starts to happen it will happen every time I refresh until I close and reopen the Execution Statistics view. Still cannot reliably trigger it, but have seen it at least 3 times while running 11 test cases from the profiler suite.
On EM64T Windows 2003 server I am 2/2 reproducing this by: - launch StartStop from workbench (local Win XP) - hit enter in console until finished - open execution statistics by double clicking the monitor - launch StartStop on the host: java -agentlib:JPIBootLoader=JPIAgent:server=enabled;CGProf StartStop - attach to it - hit enter until it terminates - open execution statistics by double clicking on the monitor - right click in the execution statistics view and refresh => results in a bunch of exceptions, very annoying
In testing the 4401 candidate on Vista I am seeing this error every time I run a profiler test that involves attaching to a running agent.
this is a dup of bug 191809. *** This bug has been marked as a duplicate of bug 191809 ***
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.