[gecode-users] Gecode/J - gist in Netbeans

Miroslava Plachá 139902 at mail.muni.cz
Mon Feb 26 18:58:21 CET 2007


Hi,
I'm a newbie in Java and Gecode/J. I use Netbeans (WinXP). Everything is
working except of gist. If I take any example given within install pack and run
it with class Options in the same package, the result is always the same:
e.g.
Exception in thread "main" java.lang.NullPointerException
   at org.gecode.gist.swing.SwingUI.setCurrentNode(SwingUI.java:107)
   at org.gecode.gist.GistController.setCurrentNode(GistController.java:164)
   at org.gecode.gist.GistController.stateChanged(GistController.java:370)
   at org.gecode.gist.GistController.searchDone(GistController.java:362)
   at org.gecode.gist.GistController.exploreOne(GistController.java:98)
   at org.gecode.gist.Gist.exploreOne(Gist.java:60)
   at examples.Options.doSearch(Options.java:286)
   at examples.Options.doSearch(Options.java:182)
   at examples.MagicSquare.main(MagicSquare.java:102)

I didn't touch a  letter, gecode library is attached, so I think it's due to
Netbeans. Can you recommand me some editor I can see gist working in? (or is
the problem in me as always?)

Thanks a lot 
Mirka Placha




More information about the gecode-users mailing list