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 77092 - NullPointerException in LayoutDesigner.imposeCurrentContainerSize()
Summary: NullPointerException in LayoutDesigner.imposeCurrentContainerSize()
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
: 69849 72282 72618 72867 74529 75805 76509 79589 80472 83117 85421 87279 87546 87883 88115 89429 93770 94350 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-30 15:42 UTC by twolf2919
Modified: 2007-07-26 08:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The java file that has the problem - will also attach .form file (12.37 KB, text/plain)
2006-05-30 15:49 UTC, twolf2919
Details
The corresponding .form file (20.14 KB, text/xml)
2006-05-30 15:50 UTC, twolf2919
Details
log message and defected source files (33.48 KB, application/octet-stream)
2006-06-06 11:37 UTC, kima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description twolf2919 2006-05-30 15:42:17 UTC
I created a Panel using Matisse.  When I restarted the IDE and the form opened, I
was greeted with NullPointerException shown below.  This was with the 6.0 05/21
daily build.  I downloaded the latest daily (05/29) and tried again.  Same
result.  Following is the messages.log content, including the exception:


>Log Session: Tuesday, May 30, 2006 10:32:16 AM EDT
>System Info:
  Product Version         = NetBeans IDE Dev (Build 200605292030)
  Operating System        = Linux version 2.6.15-1.2054_FC5 running on i386
  Java; VM; Vendor; Home  = 1.5.0_06; Java HotSpot(TM) Client VM 1.5.0_06-b05;
Sun Microsystems Inc.; /opt/java/jdk1.5.0_06/jre
  System Locale; Encoding = en_US (nb); UTF-8
  Home Dir.; Current Dir. = /home/twolf; /home/twolf
  Installation; User Dir. =
/opt/java/netbeans/nb6.0:/opt/java/netbeans/ide8:/opt/java/netbeans/enterprise4:/opt/java/netbeans/harness:/opt/java/netbeans/platform7;
/home/twolf/.netbeans/dev
  Boot & Ext. Classpath   =
/opt/java/jdk1.5.0_06/jre/lib/rt.jar:/opt/java/jdk1.5.0_06/jre/lib/i18n.jar:/opt/java/jdk1.5.0_06/jre/lib/sunrsasign.jar:/opt/java/jdk1.5.0_06/jre/lib/jsse.jar:/opt/java/jdk1.5.0_06/jre/lib/jce.jar:/opt/java/jdk1.5.0_06/jre/lib/charsets.jar:/opt/java/jdk1.5.0_06/jre/classes:/opt/java/jdk1.5.0_06/jre/lib/ext/sunpkcs11.jar:/opt/java/jdk1.5.0_06/jre/lib/ext/localedata.jar:/opt/java/jdk1.5.0_06/jre/lib/ext/dnsns.jar:/opt/java/jdk1.5.0_06/jre/lib/ext/sunjce_provider.jar
  Application Classpath   =
/opt/java/netbeans/platform7/lib/boot.jar:/opt/java/netbeans/platform7/lib/org-openide-modules.jar:/opt/java/netbeans/platform7/lib/org-openide-util.jar:/opt/java/jdk1.5.0_06/lib/dt.jar:/opt/java/jdk1.5.0_06/lib/tools.jar
  Startup Classpath       =
/opt/java/netbeans/platform7/core/core.jar:/opt/java/netbeans/platform7/core/org-openide-filesystems.jar:/opt/java/netbeans/nb6.0/core/org-netbeans-upgrader.jar:/opt/java/netbeans/nb6.0/core/locale/core_nb.jar
-------------------------------------------------------------------------------
WARNING [org.netbeans.modules.settings.convertors.XMLSettingsSupport]: Warning:
unknown module code base: org.netbeans.modules.profiler in
MultiFileObject@134ab9b[Services/org-netbeans-modules-profiler-ProfilerIDESettings.settings]
Turning on modules:
        org.openide.util [7.0.1 1 200605292030]
        org.openide.modules [7.0 200605292030]
        org.openide.filesystems [6.6 200605292030]
        org.openide.options [6.5 200605292030]
        org.netbeans.modules.queries/1 [1.8 200605292030]
        org.netbeans.modules.masterfs/1 [1.8 200605292030]
        org.netbeans.libs.xerces/1 [1.10 2.8.0 200605292030]
        org.netbeans.modules.servletapi/1 [1.10 200605292030]
        org.openide.awt [6.8.0.1 200605292030]
        org.openide.dialogs [6.6 200605292030]
        org.openide.nodes [6.8.0.1 200605292030]
        org.openide.windows [6.6 200605292030]
        org.netbeans.api.progress/1 [1.6.0.1 1 200605292030]
        org.openide.text [6.10 200605292030]
        org.openide.explorer [6.6 1 200605292030]
        org.openide.actions [6.6.0.1 200605292030]
        org.openide.loaders [5.10 200605292030]
        org.netbeans.modules.projectapi/1 [1.10 200605292030]
        org.netbeans.api.web.webmodule [1.7 200605292030]
        org.netbeans.modules.projectuiapi/1 [1.15.0.5 5 200605292030]
        org.netbeans.modules.project.ant/1 [1.13 200605292030]
        org.netbeans.modules.web.examples/1 [1.6 200605292030]
        org.netbeans.modules.versioning/1 [1.4.0.1 1 200605292030]
        org.netbeans.modules.classfile/1 [1.19 200605292030]
        javax.jmi.reflect/1 [1.8 200605292030]
        org.netbeans.jmi.javamodel/2 [1.22.0 200605292030]
        org.netbeans.api.mdr/1 [1.5 200605292030]
        javax.jmi.model/1 [1.8 200605292030]
        org.netbeans.modules.jmiutils/1 [1.6.0.2 2 200605292030]
        org.netbeans.modules.mdr/1 [1.6.0.2.2 2 200605292030]
        org.openide.io [1.10 200605292030]
        org.openide.execution [1.9 200605292030]
        org.netbeans.api.java/1 [1.11 200605292030]
        org.netbeans.modules.javacore/1 [1.19.0.2.2 200605292030]
        org.netbeans.core.output2/1 [1.8.0.1 1 200605292030]
        org.netbeans.modules.options.api/0 [1.4 200605292030]
        org.jdesktop.layout/1 [1.4 1.0 200605292030]
        org.netbeans.api.xml/1 [1.13 200605292030]
        org.netbeans.spi.navigator/1 [1.3 200605292030]
        org.netbeans.bootstrap/1 [2.4 200605292030]
        org.netbeans.core.startup/1 [1.7 200605292030]
        org.netbeans.swing.plaf [1.6 200605292030]
        org.netbeans.core/2 [3.4.0.1 200605292030]
        org.netbeans.core.execution/1 [1.10.0.1 200605292030]
        org.apache.tools.ant.module/3 [3.25.0.1 1 200605292030]
        org.openidex.util/3 [3.10 200605292030]
        org.netbeans.modules.java.platform/1 [1.9 200605292030]
        org.netbeans.modules.favorites/1 [1.12 200605292030]
        org.netbeans.core.ui/1 [1.10 200605292030]
        org.netbeans.modules.xml.core/2 [1.12.0.4 4 200605292030]
        org.netbeans.modules.xml.catalog/2 [1.11.0.4.4 4 200605292030]
        org.netbeans.modules.projectui [1.9.0.1.5 1 200605292030]
        org.openide.src [1.9 200605292030]
        org.netbeans.modules.editor.errorstripe.api/1 [2.3.0.1 1 200605292030]
        org.netbeans.modules.java/1 [1.26.0.2.2.2 2 200605292030]
        org.netbeans.modules.project.libraries/1 [1.14 200605292030]
        org.netbeans.modules.java.project/1 [1.10 200605292030]
        org.netbeans.modules.javahelp/1 [2.9 200605292030]
        org.netbeans.modules.refactoring/1 [1.20.0.3.2.2 3 200605292030]
        org.netbeans.modules.settings/1 [1.12 200605292030]
        org.netbeans.tasklistapi/1 [1.21.0.8 8 200605292030]
        org.netbeans.modules.tasklist.core/2 [1.38.0.18.8 18 200605292030]
        org.netbeans.upgrader [4.6 200605292030]
        org.netbeans.modules.extbrowser/1 [1.11 200605292030]
        org.netbeans.modules.editor.util/1 [1.9 200605292030]
        org.netbeans.modules.editor.mimelookup/1 [1.4 200605292030]
        org.netbeans.modules.editor.fold/1 [1.6 200605292030]
        org.netbeans.modules.editor.lib/1 [1.10.0.1 1 200605292030]
        org.netbeans.modules.editor.settings/1 [1.5 200605292030]
        org.netbeans.modules.editor/3 [1.27.0.1 200605292030]
        org.netbeans.modules.editor.completion/1 [1.7 200605292030]
        org.netbeans.modules.autoupdate/1 [2.19 200605292030]
        org.netbeans.modules.updatecenters/1 [1.7 200605292030]
        org.netbeans.modules.properties/1 [1.18 200605292030]
        org.netbeans.modules.i18n/1 [1.21 200605292030]
        org.netbeans.spi.viewmodel/2 [1.11 200605292030]
        org.netbeans.api.debugger/1 [1.8 200605292030]
        org.netbeans.spi.debugger.ui/1 [2.9 200605292030]
        org.netbeans.modules.j2eeapis/1 [1.7 200605292030]
        org.netbeans.modules.db/0 [1.17.0.3 3 200605292030]
        org.netbeans.modules.schema2beans/1 [1.15 200605292030]
        org.netbeans.api.debugger.jpda/2 [2.6 200605292030]
        org.netbeans.modules.j2eeserver/4 [1.14.0.1 1 200605292030]
        org.netbeans.modules.j2ee.dd/1 [1.8.0.2 2 200605292030]
        org.netbeans.modules.tomcat5/1 [1.8 200605292030]
        org.netbeans.modules.tomcat5.bundled/1 [1.7 200605292030]
        org.netbeans.modules.editor.structure/1 [1.12.0.1 1 200605292030]
        org.netbeans.modules.xml.text/2 [1.12.0.4.4 4 200605292030]
        org.netbeans.modules.ant.freeform/1 [1.11 200605292030]
        org.netbeans.modules.java.freeform/1 [1.6 200605292030]
        org.netbeans.modules.j2ee.ant [1.8.0.1 200605292030]
        org.netbeans.modules.apisupport.ant [2.31 200605292030]
        org.netbeans.modules.ant.browsetask [1.12 200605292030]
        org.netbeans.modules.debugger.jpda.ant [1.8 200605292030]
        org.netbeans.modules.xml.tax/2 [1.12.0.4.4 4 200605292030]
        org.netbeans.core.multiview/1 [1.9 200605292030]
        org.netbeans.modules.junit/2 [2.21.0.2 200605292030]
        org.netbeans.modules.apisupport.project [1.13.0.6.4 6 200605292030]
        org.netbeans.swing.tabcontrol [1.7 200605292030]
        org.netbeans.modules.javadoc/1 [1.19 200605292030]
        org.netbeans.modules.db.core [1.3 200605292030]
        org.netbeans.modules.ant.debugger/1 [1.8.0.1 200605292030]
        org.netbeans.modules.ant.grammar/1 [1.15 200605292030]
        org.netbeans.modules.editor.plain.lib/1 [1.4 200605292030]
        org.netbeans.modules.editor.plain/1 [1.4 200605292030]
        org.netbeans.modules.servletapi24/1 [2.7 2.4 200605292030]
        org.netbeans.modules.j2ee.debug/1 [1.4 200605292030]
        org.netbeans.modules.jmxri/1 [1.3 1 200605292030]
        org.netbeans.modules.j2ee.sun.dd/1 [1.6 200605292030]
        org.netbeans.modules.j2ee.sun.appsrv/1 [1.4 1 200605292030]
        org.netbeans.modules.dbschema/1 [1.8.0.3.3 3 200605292030]
        org.netbeans.modules.j2ee.sun.ddui/1 [1.7 1 200605292030]
        org.netbeans.spi.palette/0 [1.6 200605292030]
        org.netbeans.modules.form/2 [1.20 1 200605292030]
        org.netbeans.modules.i18n.form/2 [1.19 200605292030]
        org.netbeans.libs.commons_logging/1 [1.4 1.0.4 200605292030]
        org.netbeans.modules.web.jspparser/2 [2.6 200605292030]
        org.netbeans.modules.websvc.clientapi [1.5 200605292030]
        org.netbeans.modules.j2ee.dd.webservice [1.4 200605292030]
        org.netbeans.modules.websvc.websvcapi [1.5 200605292030]
        org.netbeans.modules.j2ee.api.ejbmodule [1.5 200605292030]
        org.netbeans.modules.web.project [1.5 200605292030]
        org.netbeans.modules.web.debug/1 [2.9 200605292030]
        org.netbeans.modules.editor.codetemplates/1 [1.3 200605292030]
        org.netbeans.lib.cvsclient/1 [1.15 200605292030]
        org.netbeans.modules.j2ee.jboss4/1 [1.5.0.1 200605292030]
        org.netbeans.core.ide/1 [1.10 200605292030]
        org.netbeans.modules.xml.tools/2 [1.12.0.4.4.4 4 200605292030]
        org.netbeans.modules.web.freeform [1.5 200605292030]
        org.netbeans.modules.j2ee.weblogic9/1 [1.5 200605292030]
        org.netbeans.modules.websvc.jaxrpc16/1 [1.3 200605292030]
        org.netbeans.modules.properties.syntax/1 [1.18 200605292030]
        org.netbeans.modules.welcome/1 [1.12 200605292030]
        org.netbeans.modules.java.navigation/1 [1.3 200605292030]
        org.netbeans.modules.apisupport.feedreader/1 [1.4 200605292030]
        org.netbeans.modules.xml.multiview/1 [1.5.0.2 2 200605292030]
        org.netbeans.modules.java.editor.lib/1 [1.5 200605292030]
        org.netbeans.modules.java.editor/1 [1.5 200605292030]
        org.netbeans.modules.j2ee.common/1 [1.5 200605292030]
        org.netbeans.modules.editor.hints/1 [1.10.0.1 1 200605292030]
        org.netbeans.modules.j2ee.ejbcore [1.5 200605292030]
        org.netbeans.modules.j2ee.ddloaders/1 [1.7.0.2.2 200605292030]
        org.netbeans.modules.editor.settings.storage/1 [1.5 200605292030]
        org.netbeans.modules.derby [1.4 200605292030]
        org.netbeans.modules.j2ee.sun.appsrv81/1 [1.2.0.1.1 1 200605292030]
        org.netbeans.modules.suggestions_framework/2 [1.16.0.10.18.8 10
200605292030]
        org.netbeans.modules.httpserver/2 [2.6.0.42 42 200605292030]
        org.netbeans.modules.xsl/1 [1.12.0.4 200605292030]
        org.netbeans.modules.debugger.jpda/2 [1.17 200605292030]
        org.netbeans.modules.debugger.jpda.ui/1 [1.6 200605292030]
        org.netbeans.modules.j2ee.ejbjarproject [1.5 200605292030]
        org.netbeans.modules.j2ee.earproject [1.6.0 200605292030]
        org.netbeans.modules.editor.errorstripe/2 [2.3.0.1.1 1 200605292030]
        org.netbeans.modules.clazz/1 [1.20 200605292030]
        org.netbeans.modules.j2ee.blueprints/1 [1.10 200605292030]
        org.netbeans.modules.j2ee.platform/1 [1.4 200605292030]
        org.netbeans.modules.websvc.registry [1.4 200605292030]
        org.netbeans.modules.apisupport.paintapp [1.1 200605292030]
        org.netbeans.modules.tasklist.docscan/2 [1.24.0.10.18.8 200605292030]
        org.netbeans.modules.java.examples/1 [1.6 200605292030]
        org.netbeans.modules.css/2 [1.12 200605292030]
        org.netbeans.modules.websvc.core [1.6.0.1.4 1 200605292030]
        org.netbeans.modules.html.editor.lib/1 [1.5 200605292030]
        org.netbeans.modules.html.editor/1 [1.5 200605292030]
        org.netbeans.modules.web.core.syntax/1 [1.23.0 200605292030]
        org.netbeans.modules.web.core/1 [1.26.0.42.2 42 200605292030]
        org.netbeans.modules.j2ee.refactoring/1 [1.6.0.42.1 200605292030]
        org.netbeans.modules.options.editor/1 [1.3 200605292030]
        org.netbeans.modules.db.sql.editor [1.3.0.3 200605292030]
        org.netbeans.modules.diff/1 [1.16.0.42 42 200605292030]
        org.netbeans.libs.jsch/1 [1.5 0.1.24 200605292030]
        org.netbeans.modules.versioning.system.cvss/1 [1.8.0.1.42.1 1 200605292030]
        org.netbeans.modules.utilities/1 [1.22 200605292030]
        org.netbeans.modules.web.monitor/1 [1.16 200605292030]
        org.netbeans.modules.defaults/1 [1.3 200605292030]
        org.netbeans.modules.beans/1 [1.18 200605292030]
        org.netbeans.modules.html/1 [1.20 200605292030]
        org.netbeans.core.windows/2 [2.8.0.1 200605292030]
        org.netbeans.modules.xml.schema/1 [1.12.0.4 200605292030]
        org.netbeans.modules.java.j2seproject [1.7.0.42 42 200605292030]
        org.netbeans.modules.web.struts/1 [1.3.0.1 1 200605292030]
        org.netbeans.modules.java.j2seplatform/1 [1.7.0.2 2 200605292030]
        org.netbeans.modules.web.jsf/1 [1.3.0.1 1 200605292030]
        org.netbeans.modules.j2ee.genericserver [1.5 200605292030]
        org.netbeans.modules.editor.bookmarks/1 [1.4 200605292030]
        org.netbeans.modules.apisupport.refactoring [1.4.0.6 200605292030]
        org.netbeans.modules.websvc.dev/1 [1.6.0.1 200605292030]
        org.netbeans.modules.j2ee.ejbfreeform [1.7 200605292030]
        org.netbeans.modules.utilities.project/1 [1.6 200605292030]
        org.netbeans.modules.image/1 [1.18 200605292030]
        org.netbeans.modules.java.hints/1 [1.11.0.1 1 200605292030]
        org.netbeans.modules.usersguide/1 [1.20 200605292030]
        org.netbeans.modules.web.jstl11/1 [2.7 1.1.2 200605292030]
INFO [stderr]: [WARNING] Opening form ProxySettingsPanel as javax.swing.JPanel.
INFO [stderr]:           Could not use the declared superclass:
com.netforensics.desktop.admin.AdminPanel
INFO [stderr]: java.lang.InstantiationException
INFO [stderr]:  at
sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
INFO [stderr]:  at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
INFO [stderr]:  at java.lang.Class.newInstance0(Class.java:350)
INFO [stderr]:  at java.lang.Class.newInstance(Class.java:303)
INFO [stderr]:  at
org.netbeans.modules.form.CreationFactory.createDefaultInstance(CreationFactory.java:130)
INFO [stderr]:  at
org.netbeans.modules.form.RADComponent.createBeanInstance(RADComponent.java:194)
INFO [stderr]:  at
org.netbeans.modules.form.RADComponent.initInstance(RADComponent.java:138)
INFO [stderr]:  at
org.netbeans.modules.form.FormModel.setFormBaseClass(FormModel.java:119)
INFO [stderr]:  at
org.netbeans.modules.form.GandalfPersistenceManager.loadForm(GandalfPersistenceManager.java:324)
INFO [stderr]:  at
org.netbeans.modules.form.GandalfPersistenceManager.loadForm(GandalfPersistenceManager.java:200)
INFO [stderr]:  at org.netbeans.modules.form.FormEditor$2.run(FormEditor.java:230)
INFO [stderr]:  at org.netbeans.modules.form.FormLAF$1.run(FormLAF.java:141)
INFO [stderr]:  at org.openide.util.Mutex.doEventAccess(Mutex.java:1220)
INFO [stderr]:  at org.openide.util.Mutex.readAccess(Mutex.java:253)
INFO [stderr]:  at
org.netbeans.modules.form.FormLAF.executeWithLookAndFeel(FormLAF.java:126)
INFO [stderr]:  at
org.netbeans.modules.form.FormEditor.loadFormData(FormEditor.java:228)
INFO [stderr]:  at
org.netbeans.modules.form.FormEditor.loadFormDesigner(FormEditor.java:151)
INFO [stderr]:  at
org.netbeans.modules.form.FormDesigner.componentShowing(FormDesigner.java:1595)
INFO [stderr]:  at
org.netbeans.core.multiview.MultiViewPeer.peerComponentShowing(MultiViewPeer.java:172)
INFO [stderr]:  at
org.netbeans.core.multiview.MultiViewCloneableTopComponent.componentShowing(MultiViewCloneableTopComponent.java:107)
INFO [stderr]:  at
org.openide.windows.WindowManager.componentShowing(WindowManager.java:303)
INFO [stderr]:  at
org.netbeans.core.windows.WindowManagerImpl.componentShowing(WindowManagerImpl.java:944)
INFO [stderr]:  at
org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:145)
INFO [stderr]:  at
org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:238)
INFO [stderr]:  at
org.netbeans.core.windows.ViewRequestor.processVisibilityRequest(ViewRequestor.java:227)
INFO [stderr]:  at
org.netbeans.core.windows.ViewRequestor.postVisibilityRequest(ViewRequestor.java:164)
INFO [stderr]:  at
org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:85)
INFO [stderr]:  at
org.netbeans.core.windows.Central.setVisible(Central.java:74)INFO [stderr]:  at
org.netbeans.core.windows.WindowManagerImpl.setVisible(WindowManagerImpl.java:710)
INFO [stderr]:  at
org.netbeans.core.windows.WindowSystemImpl.show(WindowSystemImpl.java:57)
INFO [stderr]:  at org.netbeans.core.NonGui$3.run(NonGui.java:187)
INFO [stderr]:  at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
INFO [stderr]:  at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
INFO [stderr]:  at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
INFO [stderr]:  at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
INFO [stderr]:  at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
INFO [stderr]:  at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
INFO [stderr]:  at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
SEVERE [null]: *********** Exception occurred ************ at 10:32 AM on May
30, 2006
java.lang.AssertionError
        at
org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.fillGroup(SwingLayoutBuilder.java:202)
        at
org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.composeGroup(SwingLayoutBuilder.java:166)
        at
org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.fillGroup(SwingLayoutBuilder.java:190)
        at
org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.composeGroup(SwingLayoutBuilder.java:166)
        at
org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.fillGroup(SwingLayoutBuilder.java:187)
        at
org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.composeGroup(SwingLayoutBuilder.java:166)
        at
org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.fillGroup(SwingLayoutBuilder.java:190)
        at
org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.composeGroup(SwingLayoutBuilder.java:166)
        at
org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.createLayout(SwingLayoutBuilder.java:122)
        at
org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.setupContainerLayout(SwingLayoutBuilder.java:74)
[catch] at
org.netbeans.modules.form.VisualReplicator.setupContainerLayout(VisualReplicator.java:734)
        at
org.netbeans.modules.form.VisualReplicator.cloneComponent(VisualReplicator.java:670)
        at
org.netbeans.modules.form.VisualReplicator.cloneComponent(VisualReplicator.java:646)
        at
org.netbeans.modules.form.VisualReplicator.createClone(VisualReplicator.java:171)
        at
org.netbeans.modules.form.VisualReplicator.createClone(VisualReplicator.java:159)
        at
org.netbeans.modules.form.FormDesigner$FormListener.run(FormDesigner.java:1983)
        at org.netbeans.modules.form.FormLAF$2.run(FormLAF.java:174)
        at org.openide.util.Mutex.doEventAccess(Mutex.java:1220)
        at org.openide.util.Mutex.readAccess(Mutex.java:211)
        at
org.netbeans.modules.form.FormLAF.executeWithLookAndFeel(FormLAF.java:159)
        at
org.netbeans.modules.form.FormDesigner$FormListener.processEvents(FormDesigner.java:1971)
        at
org.netbeans.modules.form.FormDesigner$FormListener.formChanged(FormDesigner.java:1941)
        at
org.netbeans.modules.form.FormDesigner.updateWholeDesigner(FormDesigner.java:458)
        at org.netbeans.modules.form.FormDesigner.initialize(FormDesigner.java:265)
        at
org.netbeans.modules.form.FormDesigner.componentShowing(FormDesigner.java:1602)
        at
org.netbeans.core.multiview.MultiViewPeer.peerComponentShowing(MultiViewPeer.java:172)
        at
org.netbeans.core.multiview.MultiViewCloneableTopComponent.componentShowing(MultiViewCloneableTopComponent.java:107)
        at
org.openide.windows.WindowManager.componentShowing(WindowManager.java:303)
        at
org.netbeans.core.windows.WindowManagerImpl.componentShowing(WindowManagerImpl.java:944)
        at
org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:145)
        at
org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:238)
        at
org.netbeans.core.windows.ViewRequestor.processVisibilityRequest(ViewRequestor.java:227)
        at
org.netbeans.core.windows.ViewRequestor.postVisibilityRequest(ViewRequestor.java:164)
        at
org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:85)
        at org.netbeans.core.windows.Central.setVisible(Central.java:74)
        at
org.netbeans.core.windows.WindowManagerImpl.setVisible(WindowManagerImpl.java:710)
        at org.netbeans.core.windows.WindowSystemImpl.show(WindowSystemImpl.java:57)
        at org.netbeans.core.NonGui$3.run(NonGui.java:187)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
       at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
SEVERE [null]: *********** Exception occurred ************ at 10:32 AM on May
30, 2006
java.lang.NullPointerException
        at
org.netbeans.modules.form.layoutdesign.LayoutDesigner.imposeCurrentContainerSize(LayoutDesigner.java:2533)
        at
org.netbeans.modules.form.layoutdesign.LayoutDesigner.updatePositions(LayoutDesigner.java:133)
        at
org.netbeans.modules.form.layoutdesign.LayoutDesigner.updateCurrentState(LayoutDesigner.java:72)
        at
org.netbeans.modules.form.FormDesigner.updateComponentLayer(FormDesigner.java:477)
        at org.netbeans.modules.form.FormDesigner.access$1800(FormDesigner.java:65)
        at
org.netbeans.modules.form.FormDesigner$FormListener$2.run(FormDesigner.java:1999)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
[catch] at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
       at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
INFO [null]: INFORMATIONAL*********** Exception occurred ************ at 10:38
AM on May 30, 2006
Annotation: URL: http://www.netbeans.org/updates/dev_1.18_.xml?unique=649669163
java.net.ConnectException: Connection timed out
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.Socket.connect(Socket.java:507)
        at java.net.Socket.connect(Socket.java:457)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
        at sun.net.www.http.HttpClient.New(HttpClient.java:287)
        at sun.net.www.http.HttpClient.New(HttpClient.java:299)
        at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:792)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:744)
        at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:669)
        at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913)
        at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:973)
        at
com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:184)
        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:798)
        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
        at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
        at
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:250)
        at
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)
        at org.netbeans.updater.XMLUtil.parse(XMLUtil.java:73)
        at
org.netbeans.modules.autoupdate.XMLUpdates.parseDocumentImpl(XMLUpdates.java:402)
[catch] at
org.netbeans.modules.autoupdate.XMLUpdates.parseDocument(XMLUpdates.java:351)
        at org.netbeans.modules.autoupdate.XMLUpdates.access$500(XMLUpdates.java:44)
        at org.netbeans.modules.autoupdate.XMLUpdates$2.run(XMLUpdates.java:204)
       at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:516)
       at
org.openide.util.RequestProcessor$Processor.doEvaluate(RequestProcessor.java:994)
        at
org.openide.util.RequestProcessor$Task.waitFinished(RequestProcessor.java:686)
        at
org.netbeans.modules.autoupdate.XMLUpdates.checkUpdates(XMLUpdates.java:241)
        at
org.netbeans.modules.autoupdate.AutoChecker.runInner(AutoChecker.java:144)
        at org.netbeans.modules.autoupdate.AutoChecker$1.run(AutoChecker.java:125)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:516)
       at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:949)
[twolf@beowulf log]$
Comment 1 twolf2919 2006-05-30 15:49:50 UTC
Created attachment 30672 [details]
The java file that has the problem - will also attach .form file
Comment 2 twolf2919 2006-05-30 15:50:46 UTC
Created attachment 30673 [details]
The corresponding .form file
Comment 3 kima 2006-06-06 11:37:55 UTC
Created attachment 30822 [details]
log message and defected source files
Comment 4 Tomas Pavek 2006-06-28 18:33:02 UTC
I'm a bit confused with the logs you've attached. The first one which you pasted
here shows what happened when you tried to open the damaged form. But what is
the second one supposed to be (contained in the attached zip file)?

BTW don't you have by chance the log from the session when you designed the
form? I.e. before you restarted and it failed to open? Thanks
Comment 5 twolf2919 2006-06-28 19:02:16 UTC
Pavek(?),
I didn't attach any logs: I initially pasted a log message and then I attached
two files (the affected java file and the affected form file.)  The other log
file was attached by 'kima' - i don't know what that is about.

As to your other question whether I still have the log from when I created the
form, no, I don't.  It's been about a month since I reported this - since then
I've restarted the IDE about 20 times.  NB only keeps the last 3 logs around.

Out of curiosity, I tried opening the ProxySettingsPanel.java in Matisse in my
latest build.  I no longer get a NullPointerException....instead, I get
java.lang.AssertionError in the IDE dialog and in the log file I see
INFO [stderr]:           Could not use the declared superclass:
com.netforensics.desktop.components.NFPanel
INFO [stderr]: java.lang.InstantiationException

Does NB have trouble instantiating classes that were originally defined as
standard JPanels and subsequently were changed to inherit from some user-
defined class?

Anyway, I don't know whether these errors have to do with this issue or whether
one of my refactorings caused this problem (since the editor isn't exactly
reliable in terms of what it saves and doesn't save these days :-(
I will try to debug this in the afternoon.  Will let you know if it relates to
this issue.

Sorry I couldn't be of more help.
tom
Comment 6 Tomas Pavek 2006-07-03 10:27:03 UTC
Thomas, thanks for explanation.
I've looked at your form (ProxySettingsPanel) and it contains two components of
the same name (jCheckBox1) which is wrong. I already know how this can happen
and am working on a fix. Perhaps it will also be possible to fix such errors
automatically when you open such form.

The form attached by kima is similar, but slightly different - there is invalid
name of a component as well, but here it is "null". I'll also try to fix the
form during opening automatically. However in this case I don't know exactly the
cause (have not been able to create such form). Given that another such form is
attached in issue 76749 it is apparent it can happen somehow...
Comment 7 Tomas Pavek 2006-07-03 10:37:48 UTC
Re: "Could not use the declared superclass:
com.netforensics.desktop.components.NFPanel"

This is a harmless message - it only means that form editor could not load this
class (likely it is not compiled) or instantiate it (likely it is not a
JavaBean) while opening a form that extends it (i.e. the class of the form has
"extends NFPanel" clause). Form editor tries create the instance of the declared
superclass and shown in the designer. If that fails, it prints the message and
uses plain JPanel for visualization (which is mostly enough).
Comment 8 Tomas Pavek 2006-07-03 22:26:31 UTC
I've implemented a fix that automatically corrects invalid component reference.
So now the forms form this issue (as well as others - e.g. issue 76749) should
open without problems.

I've also fixed one case when an invalid component name could occur - undoing
copy/paste operation.

/cvs/form/src/org/netbeans/modules/form/layoutdesign/LayoutComponent.java
new revision: 1.14; previous revision: 1.13
/cvs/form/src/org/netbeans/modules/form/layoutdesign/LayoutModel.java
new revision: 1.32; previous revision: 1.31
/cvs/form/src/org/netbeans/modules/form/layoutdesign/LayoutPersistenceManager.java
new revision: 1.16; previous revision: 1.15
/cvs/form/src/org/netbeans/modules/form/CopySupport.java
new revision: 1.29; previous revision: 1.28
/cvs/form/src/org/netbeans/modules/form/RADComponent.java
new revision: 1.161; previous revision: 1.160
/cvs/form/src/org/netbeans/modules/form/MetaComponentCreator.java
new revision: 1.92; previous revision: 1.91
/cvs/form/src/org/netbeans/modules/form/GandalfPersistenceManager.java
new revision: 1.166; previous revision: 1.165
/cvs/form/src/org/netbeans/modules/form/FormModelEvent.java
new revision: 1.27; previous revision: 1.26
/cvs/form/src/org/netbeans/modules/form/HandleLayer.java
new revision: 1.149; previous revision: 1.148
/cvs/form/src/org/netbeans/modules/form/FormModel.java
new revision: 1.70; previous revision: 1.69

Comment 9 Tomas Pavek 2006-07-03 22:27:05 UTC
Fixed in 6.0 dev trunk. Will integrate the fix to 5.5 as well.
Comment 10 Tomas Pavek 2006-07-04 12:53:12 UTC
Fix integrated into 5.5.

/cvs/form/src/org/netbeans/modules/form/RADComponent.java
new revision: 1.149.10.2.2.2; previous revision: 1.149.10.2.2.1
/cvs/form/src/org/netbeans/modules/form/FormModelEvent.java
new revision: 1.22.2.2.2.2; previous revision: 1.22.2.2.2.1
/cvs/form/src/org/netbeans/modules/form/GandalfPersistenceManager.java
new revision: 1.134.2.2.2.3; previous revision: 1.134.2.2.2.2
/cvs/form/src/org/netbeans/modules/form/FormModel.java
new revision: 1.48.2.3.2.3; previous revision: 1.48.2.3.2.2
/cvs/form/src/org/netbeans/modules/form/CopySupport.java
new revision: 1.21.4.3.2.2; previous revision: 1.21.4.3.2.1
/cvs/form/src/org/netbeans/modules/form/HandleLayer.java
new revision: 1.80.2.3.2.3; previous revision: 1.80.2.3.2.2
/cvs/form/src/org/netbeans/modules/form/MetaComponentCreator.java
new revision: 1.57.2.3.2.3; previous revision: 1.57.2.3.2.2
/cvs/form/src/org/netbeans/modules/form/layoutdesign/LayoutComponent.java
new revision: 1.5.2.2.2.2; previous revision: 1.5.2.2.2.1
/cvs/form/src/org/netbeans/modules/form/layoutdesign/LayoutPersistenceManager.java
new revision: 1.4.2.2.2.2; previous revision: 1.4.2.2.2.1
/cvs/form/src/org/netbeans/modules/form/layoutdesign/LayoutModel.java
new revision: 1.10.2.2.2.2; previous revision: 1.10.2.2.2.1
Comment 11 Tomas Pavek 2006-07-04 14:55:42 UTC
*** Issue 72618 has been marked as a duplicate of this issue. ***
Comment 12 Tomas Pavek 2006-07-19 09:55:47 UTC
*** Issue 80472 has been marked as a duplicate of this issue. ***
Comment 13 Jan Stola 2006-08-23 17:18:44 UTC
*** Issue 76509 has been marked as a duplicate of this issue. ***
Comment 14 Jan Stola 2006-08-23 17:20:19 UTC
*** Issue 74529 has been marked as a duplicate of this issue. ***
Comment 15 Jan Stola 2006-08-23 17:38:28 UTC
*** Issue 75805 has been marked as a duplicate of this issue. ***
Comment 16 Jan Stola 2006-08-23 17:41:45 UTC
*** Issue 72282 has been marked as a duplicate of this issue. ***
Comment 17 Jan Stola 2006-08-24 15:36:19 UTC
*** Issue 72867 has been marked as a duplicate of this issue. ***
Comment 18 Jan Stola 2006-08-30 15:58:28 UTC
*** Issue 69849 has been marked as a duplicate of this issue. ***
Comment 19 Jan Stola 2006-09-01 08:57:12 UTC
*** Issue 83117 has been marked as a duplicate of this issue. ***
Comment 20 Jan Stola 2006-09-07 10:38:39 UTC
*** Issue 79589 has been marked as a duplicate of this issue. ***
Comment 21 Jan Stola 2006-09-26 13:58:26 UTC
*** Issue 85421 has been marked as a duplicate of this issue. ***
Comment 22 Tomas Pavek 2006-10-27 10:14:20 UTC
*** Issue 88115 has been marked as a duplicate of this issue. ***
Comment 23 Tomas Pavek 2006-10-27 10:19:42 UTC
*** Issue 87883 has been marked as a duplicate of this issue. ***
Comment 24 Tomas Pavek 2006-11-20 10:08:18 UTC
*** Issue 89429 has been marked as a duplicate of this issue. ***
Comment 25 Tomas Pavek 2007-01-11 18:51:15 UTC
*** Issue 87279 has been marked as a duplicate of this issue. ***
Comment 26 Tomas Pavek 2007-01-12 15:42:12 UTC
*** Issue 87546 has been marked as a duplicate of this issue. ***
Comment 27 Jiri Prox 2007-02-05 09:42:42 UTC
*** Issue 93770 has been marked as a duplicate of this issue. ***
Comment 28 Tomas Pavek 2007-07-26 08:56:35 UTC
*** Issue 94350 has been marked as a duplicate of this issue. ***