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.
[nb_dev](20010716), [jdk1.3.1](rc1) Steps to reproduce: - open/create JFrame - add GridBagLayout from Component Palette - recursively add all Swing components to frame ( 20-th or 25-th added component) cause NullPointerException(attachment)
Created attachment 1881 [details] NullPointerException
So which component causes the exception?
JSplitPane with JInternalFrame I think. If you add to JFrame JInternalFrame and after add JSplitPane you obtain NPE. If you try add JInternalFrame and other component - exception isn't rised. If you try add JSplitPane and other component - exception isn't rised. It's independent from Layout. This not happens if you add first JSplitPane and second JInternalFrame, but if you now change layout or select JInternalFrame in ComponentInspector you obtain the same exception.
The same behaviour in [pilsen](010810), this is reason for change version to FFJ3.0 ea.
This cause JSplitPane, if you add JSplitPane to JScrollPane you obtain NPE(attachment2 [details]) again.
Created attachment 2245 [details] NPE 2, JSplitPane to JScrollPane
I cannot reproduce the second problem - with JScrollPane - in current dev builds. The case with JInternalFrame has been fixed. MetaComponentCreator.java rev. 1.14
verified in [nb_dev](20011102)
verified in [FFJ3.0]+[JP3.2] with [jdk1.4](91) on [Solaris-CDE](5.8) && [Win2K]
fix in [JP3.2] was removed because causes high priority issue 20116