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.
Build: NetBeans IDE Dev (Build 20130509-9b89676e0140) VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02 OS: Windows 8 User Comments: ralphbenjamin: Debugging, pressing continue Stacktrace: java.lang.NullPointerException at org.netbeans.modules.debugger.jpda.ui.models.ValuePropertyEditor.supportsCustomEditor(ValuePropertyEditor.java:318) at org.openide.explorer.propertysheet.RendererFactory.getRenderer(RendererFactory.java:271) at org.openide.explorer.propertysheet.RendererPropertyDisplayer.getRenderer(RendererPropertyDisplayer.java:296) at org.openide.explorer.propertysheet.RendererPropertyDisplayer.paintComponent(RendererPropertyDisplayer.java:275) at javax.swing.JComponent.paint(JComponent.java:1054) at javax.swing.JComponent.paintChildren(JComponent.java:887)
Created attachment 134267 [details] stacktrace
Unfortunately, I'm not able to reproduce this. :-( It looks like the property editor is asked for supportsCustomEditor and isPaintable before the value is set. Therefore the delegating property editor is not set. But I'm not able to get it into such state... Can you provide some steps to reproduce? E.g. using a sample project?
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=200543
(In reply to comment #2) > Unfortunately, I'm not able to reproduce this. :-( > It looks like the property editor is asked for supportsCustomEditor and > isPaintable before the value is set. Therefore the delegating property editor > is not set. But I'm not able to get it into such state... > Can you provide some steps to reproduce? E.g. using a sample project? I had some breakpoints in a JavaSource Task, like in refactoring.java\test\unit\src\org\netbeans\modules\refactoring\java\test\PullUpTest.java line 1038. The exception occurs when I open the Variables window, or expand a node in this window. Did you try to reproduce on windows? Looking at the exception reports, it could be platform specific.
Created attachment 135287 [details] stacktrace <Please provide a description of the problem or the steps to reproduce> Not able to watch the variables in debug mode
I did not manage to reproduce it, from the code it looks like the VariablePropertyEditor should contain null value when this occurs. Therefore just a check for null should solve this correctly. Fixed by changeset: 256045:1f19e268ac92 http://hg.netbeans.org/core-main/rev/1f19e268ac92
Integrated into 'main-golden', will be available in build *201306112301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/1f19e268ac92 User: mentlicher@netbeans.org Log: #229552: Check for null delegate.