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 199054 - NullPointerException at org.openide.explorer.propertysheet.RendererFactory.getRenderer
Summary: NullPointerException at org.openide.explorer.propertysheet.RendererFactory.ge...
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 7.0
Hardware: All All
: P4 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-31 19:14 UTC by sworisbreathing
Modified: 2011-09-17 14:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 179108


Attachments
stacktrace (2.96 KB, text/plain)
2011-05-31 19:14 UTC, sworisbreathing
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sworisbreathing 2011-05-31 19:14:43 UTC
This bug was originally marked as duplicate of bug 124488, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans Platform 7.0 (Build 201104080000)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02-334, Java(TM) SE Runtime Environment, 1.6.0_24-b07-334-9M3326
OS: Mac OS X

User Comments:
sworisbreathing: I tried to add a PropertyPanel to a wizard's VisualPanel after adding and removing a PropertyPanelBridge.




Stacktrace: 
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)
   at org.netbeans.modules.form.VisualReplicator.setupContainerLayout(VisualReplicator.java:821)
   at org.netbeans.modules.form.VisualReplicator.updateContainerLayout(VisualReplicator.java:329)
Comment 1 sworisbreathing 2011-05-31 19:14:49 UTC
Created attachment 108634 [details]
stacktrace
Comment 2 sworisbreathing 2011-05-31 19:28:12 UTC
I'm working on a NetBeans Maven application.  I am running NetBeans 7.0 as my IDE as well as using the 7.0 release libraries in Maven.  I was trying to add the UI components to the panel from the palette.

Originally, my project was being built against RELEASE70-BETA.  The project POMs have been updated to use RELEASE70, but the Palette still references the RELEASE70-BETA jars.
Comment 3 sworisbreathing 2011-05-31 19:33:46 UTC
I updated my palette to use the components in org.netbeans.api:org-openide-explorer:RELEASE70 and the problem still exists, so I think we can rule out a version conflict.
Comment 4 Jaroslav Tulach 2011-09-15 09:28:17 UTC
ergonomics#fe4a9ca84e24
Comment 5 Quality Engineering 2011-09-17 14:20:43 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/fe4a9ca84e24
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #199054: NullPointerException at org.openide.explorer.propertysheet.RendererFactory.getRenderer
assert the fields are not null in constructor