[Pogamut-list] Netbeans Exception

rudolf.kadlec pogamut-forum at artemis.ms.mff.cuni.cz
Fri Aug 7 14:30:49 CEST 2009


Re: Netbeans Exception

Author: rudolf.kadlec

Hi,
is this issue somehow blocking your work or could you get over this?
Right now we are dedicating all our effort to development of Pogamut 3 (and its NB plugin), so Pogamut 2 will be outdated soon.
R

> 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