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 271183

Summary: NullPointerException at org.netbeans.modules.profiler.nbimpl.providers.ProfilerStorageProviderImpl.getGlobalFolder
Product: profiler Reporter: manusa <manusa>
Component: IdeAssignee: issues@profiler <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 223248
Attachments: stacktrace

Description manusa 2017-07-28 08:08:09 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.131-b11, Java(TM) SE Runtime Environment, 1.8.0_131-b11
OS: Linux

User Comments:
manusa: Attach Profiler to External Process on a Clean IDE install (no projects)

GUEST: New copy of netbeans, click Profile -> Attach to external process. Error bubble shows up with NPE

GUEST: Started IDE, no other action.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.profiler.nbimpl.providers.ProfilerStorageProviderImpl.getGlobalFolder(ProfilerStorageProviderImpl.java:74)
   at org.netbeans.modules.profiler.spi.ProfilerStorageProvider$Abstract.loadGlobalProperties(ProfilerStorageProvider.java:138)
   at org.netbeans.modules.profiler.api.ProfilerStorage.loadGlobalProperties(ProfilerStorage.java:79)
   at org.netbeans.modules.profiler.api.ProfilerStorage.loadProjectProperties(ProfilerStorage.java:137)
   at org.netbeans.modules.profiler.v2.ProfilerWindow.loadSessionSettings(ProfilerWindow.java:237)
   at org.netbeans.modules.profiler.v2.ProfilerWindow.access$000(ProfilerWindow.java:156)
Comment 1 manusa 2017-07-28 08:08:12 UTC
Created attachment 164846 [details]
stacktrace