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.
Profiler 070212 NetBeans IDE Dev (Build 200702111900) 1.5.0_10; Java HotSpot(TM) Client VM 1.5.0_10-b03 Windows XP version 5.1 running on x86 ru_RU (nb); Cp1251 No notification is shown for sun.java2d.SunGraphics2D item of the Memory Snapshot and Alloc Diff, for example. According to issue 53651 this is a defect.
Fixed for M7.
Verified for Memory snapshot, but still is not implemented for CPU snapshots.
Did you check the sources before saying that it's not implemented for CPU? It should be fixed for all Go To Source usages since the code is implemented in just one method called from many places (snapshots, live results, diffs, HeapWalker...). Please provide the snapshot and method name for which Go To Source doesn't work and don't show the error message or close the issue.
Try sun.awt.datatransfer.DataTransferer$CharsetComparator.<clinit> in the snapshot attached.
Created attachment 38664 [details] Snapshot
Thanks. This is a sideeffect of Issue 92727, everything will work OK once that issue will be fixed. FYI, the same problem is present for Memory snapshots, it wasn't verified properly.
*** This issue has been marked as a duplicate of 92727 ***
This is not a duplicate since in original description there is sun.java2d.SunGraphics2D class which has nothing with nested classes. Feel free to mark it as FIXED, but verification will be blocked by 92727.
Well, the problem is that you mixed two bugs together. The problem with sun.java2d.SunGraphics2D is fixed in M7. You incorrectly reopened it with different problem (see sun.awt.datatransfer.DataTransferer$CharsetComparator.<clinit> ). This problem is duplicate of issue #92727. So this bug according to original description is fixed in M7.
Verified with Profiler 070426 NetBeans IDE 6.0 Preview (M9, build 070427) 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 Windows XP version 5.1 running on x86 ru_RU (nb); Cp1251
Profiler 070427 Open attached snapshot and try to perform Go To Source operation for any method of com.toy.* class (Anagram Game project shouldn't be open). No message is shown. No sources are opened.
Another scenario: - Start Profiling of Web Sample Application (http://www.netbeans.org/nonav/issues/showattachment.cgi/39630/web.zip) on Sun Java System Application Server 9/GlassFish: Analyze Performance, Entire Application, Profile Only Project Classes - Play with application - Open Live Results - Right click org.apache.jsp.index_jsp._jspService and select Go To Source - RESULT: No sources are shown, no message is displayed.
It seems that HeapWalker uses different Go To Source routine since when I right-click com.sun.org.apache.commons.modeler.NotificationInfo[] and select Go To Source, I get no messages and no sources are shown. Please let me know if this should be filed as a separate issue.
Well, here we have more issues grouped. 1. Problem with not giving the user a warning about not being able to fetch the correct sources - i believe this is fixed 2. Problem with inner classes (anonymous or regular) - this should be ok for some time now 3. Problem opening sources of JSPs - filed a new issue #103054 as this is specific for JSPs; still the requirement for "no source available" kind-of message is valid 3. Problem with no message shown when accessing sources of a not opened project - the only circumstances leading to this kind of behaviour (at least for me) where when classpath scan blocks retouche infrastructure in opening the required file - for this i've filed a bug #103055
Sources not found dialog correctly shown for: - sun.awt.datatransfer.DataTransferer$CharsetComparator.<clinit> - method from com.toy.* when AnagramGame project is not opened Go To Source for JSP's and opening sources during initial scan is being tracked by other issues mentioned in previous comment. I'm closing this issue, if you still experience Go To Source problems in HeapWalker, please file a separate issue and provide the heapdump.