Null pointer exception when trying to edit Context-Fixed2.0

Feedback for 2.0 Release Candidate 3. Now locked.

Null pointer exception when trying to edit Context-Fixed2.0

Postby jwender » Thu May 29, 2008 7:03 am

Hi,

currently it is not possible to edit or add Contexts: I always get a Java null pointer exception: Any ideas someone?

java.lang.NullPointerException
at tr.view.contexts.dialog.ContextDialogPanel.getName(ContextDialogPanel.java:92)
at com.sun.java.swing.plaf.gtk.GTKStyle.getInsets(GTKStyle.java:274)
at javax.swing.plaf.synth.SynthStyle.installDefaults(SynthStyle.java:876)
at javax.swing.plaf.synth.SynthLookAndFeel.updateStyle(SynthLookAndFeel.java:256)
at javax.swing.plaf.synth.SynthPanelUI.updateStyle(SynthPanelUI.java:70)
at javax.swing.plaf.synth.SynthPanelUI.installDefaults(SynthPanelUI.java:57)
at javax.swing.plaf.basic.BasicPanelUI.installUI(BasicPanelUI.java:39)
at javax.swing.plaf.synth.SynthPanelUI.installUI(SynthPanelUI.java:37)
at javax.swing.JComponent.setUI(JComponent.java:673)
at javax.swing.JPanel.setUI(JPanel.java:136)
at javax.swing.JPanel.updateUI(JPanel.java:109)
at javax.swing.JPanel.<init>(JPanel.java:69)
at javax.swing.JPanel.<init>(JPanel.java:92)
at javax.swing.JPanel.<init>(JPanel.java:100)
at tr.view.contexts.dialog.ContextDialogPanel.<init>(ContextDialogPanel.java:33)
at tr.view.contexts.dialog.ContextDialog.construct(ContextDialog.java:82)
at tr.view.contexts.dialog.ContextDialog.<init>(ContextDialog.java:66)
at tr.view.contexts.screen.ContextNode.editContext(ContextNode.java:84)
at tr.view.contexts.EditContextAction.performAction(EditContextAction.java:66)
at org.openide.util.actions.NodeAction.performAction(NodeAction.java:289)
at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:118)
at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77)
at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:114)
at org.openide.util.actions.NodeAction.actionPerformed(NodeAction.java:277)
at tr.view.contexts.screen.ContextsPanel.edit(ContextsPanel.java:231)
at tr.view.contexts.screen.ContextsPanel.access$000(ContextsPanel.java:65)
at tr.view.contexts.screen.ContextsPanel$2.mouseClicked(ContextsPanel.java:135)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
at java.awt.Component.processMouseEvent(Component.java:6044)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3995)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

Little bit more information:
Running
java version "1.6.0"
OpenJDK Runtime Environment (build 1.6.0-b09)
OpenJDK 64-Bit Server VM (build 1.6.0-b09, mixed mode)

on Ubuntu Hardy 8.04 amd64.

I get a similar exception using
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)

TIA & Cheerio, Jan
jwender
 
Posts: 1
Joined: Thu May 29, 2008 6:47 am

Postby Claire » Thu May 29, 2008 7:20 am

This bug has been fixed for the final 2.0 release coming shortly.
Claire
ThinkingRock Analyst and Tester
Claire
 
Posts: 1518
Joined: Wed Jul 05, 2006 11:11 am
Location: Sydney


Return to TR 2.0 Release Candidate 3

Who is online

Users browsing this forum: No registered users and 0 guests

cron