This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 58433 - NullPointerException on "Get Results" when profiling
Summary: NullPointerException on "Get Results" when profiling
Status: CLOSED INVALID
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-29 08:57 UTC by oysteing
Modified: 2007-02-20 18:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description oysteing 2005-04-29 08:57:20 UTC
When profiling a remote application running on a Solaris x86 box, I get a
NullPointerException (see below) when trying to get results.  Often Netbeans
freezees for a while before the exception is flagged.  I am using Milestone 5.

Profiler.attachToApp: ***************************************************
Instrumentation filter:
  Filter type: None
  Filter value:  
*** JFluid warning (Fri Apr 22 10:22:51 CEST 2005): class myapp$WiscInsert not
found anywhere
*** JFluid warning (Fri Apr 22 10:22:51 CEST 2005): class myapp.WiscInsert not
found anywhere on class paths
*** JFluid warning (Fri Apr 22 10:22:52 CEST 2005): class
sun/reflect/LangReflectAccess, ldr = 0 not found anywhere
*** JFluid warning (Fri Apr 22 10:22:54 CEST 2005): class
org/apache/derby/impl/store/raw/xact/RowLocking3, ldr = 0 not found anywhere
*** JFluid warning (Fri Apr 22 10:22:54 CEST 2005): class
org/apache/derby/impl/store/raw/xact/NoLocking, ldr = 0 not found anywhere
*** JFluid warning (Fri Apr 22 10:23:03 CEST 2005): class
java/sql/ResultSetMetaData, ldr = 0 not found anywhere
*** JFluid warning (Fri Apr 22 10:23:25 CEST 2005): class
org/apache/derby/iapi/sql/compile/JoinStrategy, ldr = 0 not found anywhere
*** JFluid warning (Fri Apr 22 10:23:25 CEST 2005): class
org/apache/derby/iapi/sql/compile/CostEstimate, ldr = 0 not found anywhere
*********** Exception occurred ************ at 10:24 AM on Apr 22, 2005
java.lang.NullPointerException
	at
com.sun.tools.profiler.results.cpu.PresoCPUCCTNode.<init>(PresoCPUCCTNode.java:158)
	at
com.sun.tools.profiler.results.cpu.PresoCPUCCTNode.generateMirrorNode(PresoCPUCCTNode.java:80)
	at
com.sun.tools.profiler.results.cpu.PresoCPUCCTNode.createPresentationCCT(PresoCPUCCTNode.java:65)
	at
com.sun.tools.profiler.results.cpu.CPUCallGraphBuilder.createPresentationCCT(CPUCallGraphBuilder.java:72)
	at com.sun.tools.profiler.results.cpu.CPUCCTManager.<init>(CPUCCTManager.java:78)
	at
org.netbeans.modules.profiler.ResultsWindow.updateCCTDisplayForSingleThread(ResultsWindow.java:595)
	at
org.netbeans.modules.profiler.ResultsWindow.updateCCTResults(ResultsWindow.java:543)
	at
org.netbeans.modules.profiler.ResultsWindow.updateResults(ResultsWindow.java:380)
	at org.netbeans.modules.profiler.ResultsWindow.getResults(ResultsWindow.java:358)
	at
org.netbeans.modules.profiler.actions.GetCurrentResultsAction.performAction(GetCurrentResultsAction.java:35)
	at
org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:78)
	at
org.openide.util.actions.CallableSystemAction.doPerformAction(CallableSystemAction.java:116)
	at
org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:76)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
	at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
	at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
	at java.awt.Component.processMouseEvent(Component.java:5100)
	at org.openide.awt.ToolbarButton.processMouseEvent(ToolbarButton.java:29)
	at java.awt.Component.processEvent(Component.java:4897)
	at java.awt.Container.processEvent(Container.java:1569)
	at java.awt.Component.dispatchEventImpl(Component.java:3615)
	at java.awt.Container.dispatchEventImpl(Container.java:1627)
	at java.awt.Component.dispatchEvent(Component.java:3477)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
	at java.awt.Container.dispatchEventImpl(Container.java:1613)
	at java.awt.Window.dispatchEventImpl(Window.java:1606)
	at java.awt.Component.dispatchEvent(Component.java:3477)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
[catch] at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Comment 1 mishadmitriev 2005-04-29 19:30:46 UTC
Please download Milestone 6 from http://profiler.netbeans.org. This looks like
one of the bugs that have been fixed in this latest release. Let us know if the
problem persists, otherwise I will close this issue in a few days.

Regards,

Misha Dmitriev
JFluid/NetBeans Profiler Team
Comment 2 mishadmitriev 2005-05-05 04:25:19 UTC
Closing the issue as invalid (submitted against an old version of the code).
Comment 3 ehucka 2006-10-09 12:10:06 UTC
Verification of old issues.
Comment 4 Alexander Kouznetsov 2007-02-12 22:39:45 UTC
Closing old issues.
Comment 5 Alexander Kouznetsov 2007-02-20 18:33:39 UTC
Reverting to the original Target Milestone value changed by mistake. Sorry for
inconvenience.