Project

General

Profile

Actions

Bug #5501

closed

Got an java.lang.NullPointerException when click any menu after downloading a kar file

Added by Jing Tao about 13 years ago. Updated about 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
core
Target version:
Start date:
10/03/2011
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5501

Description

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.


Files

ubuntu_default_lnf.png (114 KB) ubuntu_default_lnf.png Derik Barseghian, 11/08/2011 06:12 PM
Actions

Also available in: Atom PDF