facebook

matisse opening form null pointer exception

  1. MyEclipse Archived
  2.  > 
  3. Matisse/Swing UI Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #278803 Reply

    paulmol
    Member

    jAfter upgrading from 5.5 to 6.0 all my Matisse forms open OK except one
    that gives null pointer exception when trying to open it.
    How can I try to fix it ?

    -Paul

    java.lang.NullPointerException
    at org.jdesktop.layout.GroupLayout.isVisible(GroupLayout.java:235)
    at org.jdesktop.layout.GroupLayout$ComponentInfo.<init>(GroupLayout.java:2618)
    at org.jdesktop.layout.GroupLayout.getComponentInfo(GroupLayout.java:890)
    at org.jdesktop.layout.GroupLayout.access$700(GroupLayout.java:85)
    at org.jdesktop.layout.GroupLayout$ComponentSpring.<init>(GroupLayout.java:2097)
    at org.jdesktop.layout.GroupLayout$ComponentSpring.<init>(GroupLayout.java:2073)
    at org.jdesktop.layout.GroupLayout$ParallelGroup.add(GroupLayout.java:1874)
    at org.netbeans.modules.form.layoutdesign.support.SwingLayoutBuilder.fillGroup(SwingLayoutBuilder.java:223)
    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.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.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)
    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.createClone(VisualReplicator.java:171)
    at org.netbeans.modules.form.VisualReplicator.createClone(VisualReplicator.java:159)
    at org.netbeans.modules.form.FormDesigner$FormListener.run(FormDesigner.java:1910)
    at org.netbeans.modules.form.FormLAF$2.run(FormLAF.java:94)
    at org.openide.util.Mutex.doEventAccess(Mutex.java:1172)
    at org.openide.util.Mutex.readAccess(Mutex.java:209)
    at org.netbeans.modules.form.FormLAF.executeWithLookAndFeel(FormLAF.java:76)
    at org.netbeans.modules.form.FormDesigner$FormListener.processEvents(FormDesigner.java:1898)
    at org.netbeans.modules.form.FormDesigner$FormListener.access$0(FormDesigner.java:1872)
    [catch] at org.netbeans.modules.form.FormDesigner$FormListener$1.run(FormDesigner.java:1864)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    #278835 Reply

    Loyal Water
    Member

    Hope the form is not corrupt. Can you mail the form to me. Ill try opening it at my end.

    #278836 Reply

    paulmol
    Member

    I resolved it.

    It was missing some sub-components from custom palette
    which got lost in the process of upgrading 5.5 -> 6.0

    Error messages could be more specific.

    Btw I still don’t know how to preserve custom palette components
    while upgrading MyEclipse other than taking a good list before upgrade and adding them again.

    For each component you need to pay attention if it is a “widget” or a “form”.

    -Paul

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: matisse opening form null pointer exception

You must be logged in to post in the forum log in