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 163757 - NullPointerException at org.netbeans.modules.profiler.utilities.queries.impl.SettingsFolderQueryImpl.getSettingsFolder
Summary: NullPointerException at org.netbeans.modules.profiler.utilities.queries.impl....
Status: VERIFIED WORKSFORME
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL: http://statistics.netbeans.org/except...
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2009-04-27 13:33 UTC by Jaromir Uhrik
Modified: 2009-04-28 07:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 150150


Attachments
stacktrace (6.76 KB, text/plain)
2009-04-27 13:33 UTC, Jaromir Uhrik
Details
stacktrace (7.75 KB, text/plain)
2009-04-27 13:35 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2009-04-27 13:33:51 UTC
Build: NetBeans IDE Dev (Build 200904270201)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.6, i386

User Comments:
juhrik: Created project on kenai and when it finished properly then the dialog appeared.
The dialog asked whether create the project so I pushed Create Project button.
Then selected java se project and pushed Next. The exception appeared then...



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.profiler.utilities.queries.impl.SettingsFolderQueryImpl.getSettingsFolder(SettingsFolderQueryImpl.java:59)
        at org.netbeans.modules.profiler.utils.IDEUtils.getSettingsFolder(IDEUtils.java:355)
        at org.netbeans.modules.profiler.utils.IDEUtils.getProjectSettingsFolder(IDEUtils.java:318)
        at org.netbeans.modules.profiler.ResultsManager.listSavedSnapshots(ResultsManager.java:517)
        at org.netbeans.modules.profiler.ProfilerControlPanel2$SnapshotsPanel$7.run(ProfilerControlPanel2.java:1294)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
Comment 1 Jaromir Uhrik 2009-04-27 13:33:57 UTC
Created attachment 80978 [details]
stacktrace
Comment 2 Jaromir Uhrik 2009-04-27 13:35:52 UTC
Build: NetBeans IDE Dev (Build 200904270201)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.6, i386

User Comments: 
-Created project on kenai
-when the project created I pushed Create Project in the dialog that appeared
-pushed Next and then Finish
-->> Exception appeared

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.profiler.utilities.queries.impl.SettingsFolderQueryImpl.getSettingsFolder(SettingsFolderQueryImpl.java:59)
        at org.netbeans.modules.profiler.utils.IDEUtils.getSettingsFolder(IDEUtils.java:355)
        at org.netbeans.modules.profiler.utils.IDEUtils.getProjectSettingsFolder(IDEUtils.java:318)
        at org.netbeans.modules.profiler.ResultsManager.listSavedSnapshots(ResultsManager.java:517)
        at org.netbeans.modules.profiler.ProfilerControlPanel2$SnapshotsPanel$7.run(ProfilerControlPanel2.java:1294)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
Comment 3 Jaromir Uhrik 2009-04-27 13:35:56 UTC
Created attachment 80979 [details]
stacktrace
Comment 4 Tomas Hurka 2009-04-27 15:59:24 UTC
juhrik was unable to reproduce. Closing as works-for-me. Please reopen if you are able to reproduce it.
Comment 5 Tomas Hurka 2009-04-27 16:05:57 UTC
should be closed as works-for-me.
Comment 6 Tomas Hurka 2009-04-27 16:06:35 UTC
second try
Comment 7 Jaromir Uhrik 2009-04-28 07:44:08 UTC
Verified. I will reopen if the problem appears again. So far it seems that it was caused by some special coincidence.