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.
Product Version: NetBeans IDE Dev (Build 200710221200) Java: 1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87 System: Mac OS X version 10.4.10 running on i386; MacCyrillic; ru_RU (nb) Steps to reproduce: - Start CPU profiling of Anagram Game application: Entire application, Profile all classes - Open Live results - Click Save view to image button. Cancel opened dialog - Select some other line and/or scroll the window - Click Save view to image button. - RESULT: NPE is thrown. If not, cancel opened dialog, repeat selecting of line and/or scrolling. Then click save view to image button again. It is quite easy to reproduce after several attempts. java.lang.NullPointerException at org.netbeans.modules.profiler.ui.ImagePreviewPanel$1.run(ImagePreviewPanel.java:116) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
*** Issue 119740 has been marked as a duplicate of this issue. ***
Fixed in trunk. /cvs/profiler/modules/main/src/org/netbeans/modules/profiler/ui/ImagePreviewPanel.java,v <-- ImagePreviewPanel.java new revision: 1.2; previous revision: 1.1
VERIFIED in build 200812080201