[kepler-dev] [Bug 5501] New: Got an java.lang.NullPointerException when click any menu after downloading a kar file

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Mon Oct 3 11:21:15 PDT 2011


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5501

           Summary: Got an java.lang.NullPointerException when click any
                    menu after downloading a kar file
           Product: Kepler
           Version: 1.x dev
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: core
        AssignedTo: david.v.welker at gmail.com
        ReportedBy: tao at nceas.ucsb.edu
         QAContact: kepler-dev at kepler-project.org
   Estimated Hours: 0.0


After decompress the linux kepler-2.3 installer, I started kepler by running
./kepler.sh.

Then I searched the kepler library and found a kar file windChill. I downloaded
the kar file and wanted to open it. However, when i clicked file menu and got
the error:
[null] Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
     [null]     at
com.sun.java.swing.plaf.gtk.GTKIconFactory$MenuArrowIcon.paintIcon(GTKIconFactory.java:340)
     [null]     at sun.swing.plaf.synth.SynthIcon.paintIcon(SynthIcon.java:104)
     [null]     at
com.jgoodies.looks.common.MinimumSizedIcon.paintIcon(MinimumSizedIcon.java:80)
     [null]     at
com.jgoodies.looks.common.MenuItemRenderer.paintMenuItem(MenuItemRenderer.java:419)
     [null]     at
com.jgoodies.looks.common.ExtBasicMenuUI.paintMenuItem(ExtBasicMenuUI.java:135)
     [null]     at
com.jgoodies.looks.plastic.PlasticMenuUI.paintMenuItem(PlasticMenuUI.java:80)
     [null]     at
javax.swing.plaf.basic.BasicMenuItemUI.paint(BasicMenuItemUI.java:471)
     [null]     at
javax.swing.plaf.basic.BasicMenuItemUI.update(BasicMenuItemUI.java:467)
     [null]     at javax.swing.JComponent.paintComponent(JComponent.java:765)
     [null]     at javax.swing.JComponent.paint(JComponent.java:1029)
     [null]     at javax.swing.JComponent.paintChildren(JComponent.java:866)
     [null]     at javax.swing.JComponent.paint(JComponent.java:1038)
     [null]     at javax.swing.JComponent.paintChildren(JComponent.java:866)
     [null]     at javax.swing.JComponent.paint(JComponent.java:1038)
     [null]     at javax.swing.JComponent.paintChildren(JComponent.java:866)
     [null]     at javax.swing.JComponent.paint(JComponent.java:1038)
     [null]     at javax.swing.JLayeredPane.paint(JLayeredPane.java:581)
     [null]     at javax.swing.JComponent.paintChildren(JComponent.java:866)
     [null]     at javax.swing.JComponent.paint(JComponent.java:1038)
     [null]     at
javax.swing.JComponent.paintToOffscreen(JComponent.java:5138)
     [null]     at
javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:302)
     [null]     at javax.swing.RepaintManager.paint(RepaintManager.java:1145)
     [null]     at
javax.swing.JComponent._paintImmediately(JComponent.java:5086)
     [null]     at
javax.swing.JComponent.paintImmediately(JComponent.java:4896)
     [null]     at
javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:740)
     [null]     at
javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:696)
     [null]     at
javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:676)
     [null]     at
javax.swing.RepaintManager.access$700(RepaintManager.java:57)
     [null]     at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1550)
     [null]     at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
     [null]     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
     [null]     at java.awt.EventQueue.access$000(EventQueue.java:96)
     [null]     at java.awt.EventQueue$1.run(EventQueue.java:608)
     [null]     at java.awt.EventQueue$1.run(EventQueue.java:606)
     [null]     at java.security.AccessController.doPrivileged(Native Method)
     [null]     at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
     [null]     at java.awt.EventQueue.dispatchEvent(EventQueue.java:617)
     [null]     at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
     [null]     at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
     [null]     at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
     [null]     at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
     [null]     at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
     [null]     at
java.awt.EventDispatchThread.run(EventDispatchThread.java:138)


I doubled checked the MyWorkflow folder, and found that windChill.kar is there.

Then i quited the kepler and started it again. This time i can open and run the
windChill.kar successfully.

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Kepler-dev mailing list