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 60469 - Profiler Milestone 7 RC2 - NPE when starting profiler with freeform project
Summary: Profiler Milestone 7 RC2 - NPE when starting profiler with freeform project
Status: CLOSED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-23 23:34 UTC by sviyer
Modified: 2007-02-21 10:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
message log (195.23 KB, text/plain)
2005-06-23 23:36 UTC, sviyer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sviyer 2005-06-23 23:34:02 UTC
Profiler Milestone 7 RC2 - NPE when starting profiler on main project from
toolbar/menu. I have NB4.2 22 June build.

Mileston6 was working fine with older NB4.2 night build. Except that it was not
finding the project build file ( was looking for the default build.xml file ).

But this latest version crashes on start up ?

If this is a NB 4.2 problem please reassign to NB team

_______________________________________________________________________________
java.lang.NullPointerException
	at org.netbeans.modules.javacore.JMManager.getResource(JMManager.java:490)
	at org.netbeans.modules.javacore.JMManager.getResource(JMManager.java:486)
	at
org.netbeans.modules.profiler.utils.SourceUtilities.hasMainMethod(SourceUtilities.java:288)
	at
org.netbeans.modules.profiler.freeform.FreeFormProjectTypeProfiler.getDefaultRootMethods(FreeFormProjectTypeProfiler.java:145)
	at
org.netbeans.modules.profiler.actions.AntActions.doProfileProject(AntActions.java:297)
	at org.netbeans.modules.profiler.actions.AntActions.access$000(AntActions.java:40)
	at org.netbeans.modules.profiler.actions.AntActions$4.perform(AntActions.java:147)
	at
org.netbeans.modules.project.ui.actions.MainProjectAction.actionPerformed(MainProjectAction.java:98)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1863)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2183)
	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:234)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
	at java.awt.Component.processMouseEvent(Component.java:5921)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
	at java.awt.Component.processEvent(Component.java:5686)
	at java.awt.Container.processEvent(Container.java:1967)
	at java.awt.Component.dispatchEventImpl(Component.java:4360)
	at java.awt.Container.dispatchEventImpl(Container.java:2025)
	at java.awt.Component.dispatchEvent(Component.java:4194)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4229)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3893)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3823)
	at java.awt.Container.dispatchEventImpl(Container.java:2011)
	at java.awt.Window.dispatchEventImpl(Window.java:2012)
	at java.awt.Component.dispatchEvent(Component.java:4194)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:592)
	at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:270)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:198)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:171)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:166)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:158)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:119)
_________________________________________________________________________

please find message log attached
Comment 1 sviyer 2005-06-23 23:36:09 UTC
Created attachment 22877 [details]
message log
Comment 2 iformanek 2005-06-24 06:58:27 UTC
Fixed post RC2
Comment 3 ehucka 2006-10-09 12:09:54 UTC
Verification of old issues.
Comment 4 Alexander Kouznetsov 2007-02-21 10:36:29 UTC
Closing old issues