[Pogamut-list] Netbeans Exception
Tomus
pogamut-forum at artemis.ms.mff.cuni.cz
Thu Jul 30 14:32:48 CEST 2009
Netbeans Exception
Author: Tomus
I have created a new project and the coding is very simple at the moment it is getting all the navigation points (memory.getKnownNavPoints())
but when I run it the Netbeans displays an exception on the screen.
java.lang.NullPointerException
at org.openide.nodes.Children.justComputeNodes(Children.java:786)
at org.openide.nodes.ChildrenArray.nodes(ChildrenArray.java:96)
at org.openide.nodes.Children.setEntries(Children.java:845)
at org.openide.nodes.Children$Keys$2.run(Children.java:2136)
at org.openide.util.Mutex.postRequest(Mutex.java:1251)
at org.openide.util.Mutex.postWriteRequest(Mutex.java:582)
at org.openide.nodes.Children$Keys.applyKeys(Children.java:2145)
at org.openide.nodes.Children$Keys.setKeys(Children.java:2090)
at cz.cuni.pogamut.netbeansplugin.UTServerNode$BotsOnServer.refreshList(UTServerNode.java:407)
at cz.cuni.pogamut.netbeansplugin.UTServerNode$BotsOnServer.serverStateChanged(UTServerNode.java:411)
at cz.cuni.pogamut.netbeansplugin.NbUTServer.changed(NbUTServer.java:447)
[catch] at cz.cuni.pogamut.netbeansplugin.NbUTServer$3.run(NbUTServer.java:503)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Does anybody knows how to fix this? As you can seen in the feedback [catch] in line 503 in the NbUTServer$3.run
Is there a way to prevent this?
Thomas
More information about the Pogamut-list
mailing list