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 215852 - NullPointerException at org.netbeans.lib.profiler.results.memory.PresoObjAllocCCTNode.setFullClassAndMethodInfo
Summary: NullPointerException at org.netbeans.lib.profiler.results.memory.PresoObjAllo...
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords: VISUALVM
: 215316 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-07-24 07:56 UTC by matteodg
Modified: 2014-01-23 15:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 158690


Attachments
stacktrace (5.84 KB, text/plain)
2012-07-24 07:56 UTC, matteodg
Details
Snapshot exploiting the bug (541.76 KB, application/octet-stream)
2012-07-24 08:02 UTC, matteodg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matteodg 2012-07-24 07:56:39 UTC
Build: NetBeans IDE 7.1 (Build 201112071828)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.1-b02, Java(TM) SE Runtime Environment, 1.6.0_26-b03
OS: Linux

User Comments:
matteodg: Doing "Show allocation Stacktrace"




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.lib.profiler.results.memory.PresoObjAllocCCTNode.setFullClassAndMethodInfo(PresoObjAllocCCTNode.java:279)
   at org.netbeans.lib.profiler.results.memory.PresoObjAllocCCTNode.setFullClassAndMethodInfo(PresoObjAllocCCTNode.java:284)
   at org.netbeans.lib.profiler.results.memory.PresoObjAllocCCTNode.setFullClassAndMethodInfo(PresoObjAllocCCTNode.java:284)
   at org.netbeans.lib.profiler.results.memory.PresoObjAllocCCTNode.setFullClassAndMethodInfo(PresoObjAllocCCTNode.java:284)
   at org.netbeans.lib.profiler.results.memory.PresoObjAllocCCTNode.setFullClassAndMethodInfo(PresoObjAllocCCTNode.java:284)
   at org.netbeans.lib.profiler.results.memory.PresoObjAllocCCTNode.setFullClassAndMethodInfo(PresoObjAllocCCTNode.java:284)
Comment 1 matteodg 2012-07-24 07:56:42 UTC
Created attachment 122282 [details]
stacktrace
Comment 2 matteodg 2012-07-24 08:02:47 UTC
Created attachment 122283 [details]
Snapshot exploiting the bug
Comment 3 Jiri Sedlacek 2012-11-12 16:39:12 UTC
*** Bug 215316 has been marked as a duplicate of this bug. ***
Comment 4 Tomas Hurka 2013-08-01 05:56:06 UTC
Thanks for the snapshot.
Comment 5 Tomas Hurka 2013-08-01 07:17:18 UTC
Fixed in profiler-main

changeset:   259948:7160e5d6a815
user:        Tomas Hurka <thurka@netbeans.org>
date:        Thu Aug 01 09:14:44 2013 +0200
summary:     bugfix #215852, methodId can be zero
Comment 6 Quality Engineering 2013-08-03 02:08:29 UTC
Integrated into 'main-silver', will be available in build *201308022300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/7160e5d6a815
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #215852, methodId can be zero