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.
1. Add a PropertyPanel to the Palette (i.e., get it from the explorer.jar in the IDE and then add it to the Palette). 2. Drag it onto a TopComponent. Result: java.lang.NullPointerException at org.openide.explorer.propertysheet.RendererFactory.getRenderer(RendererFactory.java:202) at org.openide.explorer.propertysheet.RendererPropertyDisplayer.getRenderer(RendererPropertyDisplayer.java:296) at org.openide.explorer.propertysheet.EditorPropertyDisplayer.getPreferredSize(EditorPropertyDisplayer.java:260) at org.openide.explorer.propertysheet.PropertyPanel.getPreferredSize(PropertyPanel.java:571) [catch] at org.netbeans.modules.form.VisualReplicator.setupContainerLayout(VisualReplicator.java:821) at org.netbeans.modules.form.VisualReplicator.updateContainerLayout(VisualReplicator.java:329) at org.netbeans.modules.form.FormDesigner$LayoutMapper.rebuildLayout(FormDesigner.java:2224) at org.netbeans.modules.form.layoutdesign.LayoutDesigner.updateCurrentState(LayoutDesigner.java:117) at org.netbeans.modules.form.FormDesigner.updateComponentLayer(FormDesigner.java:564) at org.netbeans.modules.form.FormDesigner.access$2000(FormDesigner.java:107) at org.netbeans.modules.form.FormDesigner$FormListener.run(FormDesigner.java:2493) at org.netbeans.modules.form.FormLAF$3.run(FormLAF.java:329) at org.openide.util.Mutex.doEventAccess(Mutex.java:1361) at org.openide.util.Mutex.readAccess(Mutex.java:271) at org.netbeans.modules.form.FormLAF.executeWithLookAndFeel(FormLAF.java:312) at org.netbeans.modules.form.FormDesigner$FormListener.processEvents(FormDesigner.java:2339) at org.netbeans.modules.form.FormDesigner$FormListener.formChanged(FormDesigner.java:2305) at org.netbeans.modules.form.FormModel.fireEvents(FormModel.java:1296) at org.netbeans.modules.form.FormModel.fireEventBatch(FormModel.java:1269) at org.netbeans.modules.form.FormModel.firePendingEvents(FormModel.java:1232) at org.netbeans.modules.form.FormModel.access$000(FormModel.java:68) at org.netbeans.modules.form.FormModel$2.run(FormModel.java:1212) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642) at java.awt.EventQueue.access$000(EventQueue.java:85) at java.awt.EventQueue$1.run(EventQueue.java:603) at java.awt.EventQueue$1.run(EventQueue.java:601) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:612) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Would be great if this issue could be fixed soon.
Please evaluate. Not 100% sure about target component, so please forgive me if I chose wrong one :)
I am sorry, but you are the one who should evaluate this issue. I have no idea how your component (=PropertyPanel) works and why it throws NPE. If you still believe that there is some problem in GUI Builder then you should describe it clearly. So far, I don't see any justification why this exception is not caused by a bug in PropertyPanel itself.
I believe it is a problem in PropertyPanel. Would be great if we could drag and drop a PropertyPanel into a Matisse GUI form, since PropertyPanel is a very useful component that is now (because it cannot be dragged and dropped) seldom used.
(In reply to comment #4) > I believe it is a problem in PropertyPanel. Then I believe it is up to Property Sheet to evaluate this issue (PropertyPanel is part of Explorer&Property Sheet module/component) -> reassigning to Explorer&Property Sheet
ergonomics#f716004cb0c7
Integrated into 'main-golden', will be available in build *201109180600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/f716004cb0c7 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #196723: Never return null model