Does anything just work with JME2 straight out of the shoot?

I've SVN'd GBUI. I've SVN'd FengGUI. I've downloaded the jars for both. Nothing works without hours of me hacking. Does anybody just have a distro that works with JME2 for god's sake?

Fenggui works for me without problems, but only after i using a version Stardust brought to my pc



http://code.google.com/p/jme-demos/source/browse/#svn/trunk/stardust



^^ just lookd in the link above, basically it ends at the same place/jar

http://www.jmonkeyengine.com/jmeforum/index.php?topic=10311.0



coredump did something with fenggui-lwjgl-jme that works. links in the thread linked above.

coredump did something

something ...mighty....  :)
just grab FengGUI from svn, replace the old lwjgl with the same version jme uses , fix a few imports and the build.xml and thats it.

Tried doing that but the GLU.gluSetOrtho(…) thing kept me from fixing the imports correctly.

But yeah the Stardust feng worked. Thanks!!!

interesting.  I've had no problems with GBUI working with JME 2.0 out of the chute… as far as I know the SVN is good to go.



I may not have the latest JME svn (could be a month or two old).  I build right off JME SVN then do GBUI builds.



Any more information on the issues you're seeing so I can fix that ASAP?

standtrooper said:

interesting.  I've had no problems with GBUI working with JME 2.0 out of the chute... as far as I know the SVN is good to go.

I may not have the latest JME svn (could be a month or two old).  I build right off JME SVN then do GBUI builds.

Any more information on the issues you're seeing so I can fix that ASAP?


I'm going to my eye-doctor appt right now but when I get back I'll attempt to build GBUI from SVN again and tell you the problems I encounter. I can't remember off the top of my head.
CountZero said:

GBUI "atechnique" demo "works" out of the box with JME 2, but if you actually interact with it, it's quickly apparent that the menus don't get drawn properly or refresh appropriately.


I've not run that demo.  I didn't even write it.  I'll look at it and see what's going on with it.
Trussell said:

I'm going to my eye-doctor appt right now but when I get back I'll attempt to build GBUI from SVN again and tell you the problems I encounter. I can't remember off the top of my head.


That'd be great!  Thx!  Chances are if you're having problems, you're not the only one, so I'd just like to know so I can fix those sooner than later.  Not that my next release isn't full, but that's a snapshot fix
standtrooper said:

CountZero said:

GBUI "atechnique" demo "works" out of the box with JME 2, but if you actually interact with it, it's quickly apparent that the menus don't get drawn properly or refresh appropriately.


I've not run that demo.  I didn't even write it.  I'll look at it and see what's going on with it.


I don't know why it was necessary to say that I didn't write it.  In any case, yes there are some bugs with the refreshes.  Despite those, it does, however, give an excellent view of the code to run a GBUI app.

My only complaint is lack of javadocs.  To cancel that out, there's a huge tutorial on how and why.

I'll look at the rendering and see if I can fix those issues and check in a new zip

timo

Any follow up Senor Russell?

I'm sorry! I got caught up animating my models and forgot to do this for you. I'm going to type out everything I'm doing as I do it so you get an accurate idea.


  1. Downloaded GBUI via Netbeans SVN from: ttp://gbui.googlecode.com/svn/trunk/
  2. Created a project in Netbeans using the build.xml file, compiled 148 sources without issue.
  3. Ran the "dist" command thru the ant file, jar'd successfully.
  4. Created a new project and added the GBUI jar to the classpath.
  5. Scanned through the source code and found some tests: BaseTest2.java and AllDialogsTest.java should be sufficient. Copy the source, change the package declaration. Now they are in my project.
  6. Attempt to run AllDialogsTest.java but get a null pointer exception. Upon reading the text I see that the problem is in the initialization of the BuiSystem. I have placed the "rsrc" folder in the correct location, but am still receiving the error.
  7. In BaseTest2.java, I replaced the String with an absolute URL. That way I'm SURE that the BSS is being referenced. Now I receive another error: java.lang.IllegalArgumentException: input == null!



    At this point I'm frustrated enough to post asking why nothing works :x



    So those are the steps I went through. Maybe with more hacking I could've gotten it to work, but I just moved on to other things on my list for a little while.

I wouldn't say nothing works, just these two items, so far.


  1. I haven't used Netbeans since it was Forte, so no clue about why there would be an issue with it.
  2. I jar the rsrc directory and add that as a lib to my classpath for my project

          I know some that include the rsrc directory with Eclipse, but I don't know about NetBeans.
  3. AllDialogsTest, I need the stack trace to look at.
  4. Same for the change to BaseTest2



    I'll take a look at NetBeans this weekend.  If you can get me the stack traces I'd appreciate it.



    Also, same questions for you:
  5. OS
  6. JDK version
  7. JME2?

Also don't forget you can email me at any time…any time.  If you email me I'll be guaranteed to get to it sooner because I don't check the forums as often as I'd like.



In email I can also help you one on one and if/when there's a solution it can be posted here or a note made.



In general, I'm available most of the time (like 8 am to 11 pm or later) so I can look at things at almost any time.

Stacktrace without the BSS modification to BaseTest2.java:


java.lang.NullPointerException
        at java.io.Reader.<init>(Reader.java:61)
        at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
        at com.jmex.bui.bss.BStyleSheetUtil.getStyleSheet(BStyleSheetUtil.java:134)
        at com.jmex.bui.bss.BStyleSheetUtil.getStyleSheet(BStyleSheetUtil.java:38)
        at com.jmex.bui.BuiSystem.init(BuiSystem.java:94)
        at com.jmex.bui.BuiSystem.init(BuiSystem.java:81)
        at gbuitest.BaseTest2.simpleInitGame(BaseTest2.java:33)
        at com.jme.app.BaseSimpleGame.initGame(BaseSimpleGame.java:544)
        at com.jme.app.BaseGame.start(BaseGame.java:74)
        at gbuitest.AllDialogsTest.main(AllDialogsTest.java:75)
java.lang.NullPointerException
        at java.io.Reader.<init>(Reader.java:61)
        at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
        at com.jmex.bui.bss.BStyleSheetUtil.getStyleSheet(BStyleSheetUtil.java:134)
        at com.jmex.bui.bss.BStyleSheetUtil.getStyleSheet(BStyleSheetUtil.java:38)
        at com.jmex.bui.BuiSystem.init(BuiSystem.java:136)
        at com.jmex.bui.BuiSystem.init(BuiSystem.java:94)
        at com.jmex.bui.BuiSystem.init(BuiSystem.java:81)
        at gbuitest.BaseTest2.simpleInitGame(BaseTest2.java:33)
        at com.jme.app.BaseSimpleGame.initGame(BaseSimpleGame.java:544)
        at com.jme.app.BaseGame.start(BaseGame.java:74)
        at gbuitest.AllDialogsTest.main(AllDialogsTest.java:75)
Apr 9, 2009 7:35:24 PM com.jme.scene.Node attachChild
INFO: Child (BUI Root Node) attached to this node (rootNode)
java.lang.IllegalArgumentException: input == null!
        at javax.imageio.ImageIO.read(ImageIO.java:1362)
        at com.jmex.bui.BImage.<init>(BImage.java:120)
        at com.jmex.bui.image.ImageUtil.getImage(ImageUtil.java:37)
        at com.jmex.bui.icon.IconUtil.getIcon(IconUtil.java:33)
        at com.jmex.bui.BDialogMessage.<clinit>(BDialogMessage.java:40)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createDialogBox(DialogBoxUtil.java:61)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createQuestionDialogBox(DialogBoxUtil.java:106)
        at gbuitest.AllDialogsTest.createWindows(AllDialogsTest.java:54)
        at gbuitest.BaseTest2.simpleInitGame(BaseTest2.java:36)
        at com.jme.app.BaseSimpleGame.initGame(BaseSimpleGame.java:544)
        at com.jme.app.BaseGame.start(BaseGame.java:74)
        at gbuitest.AllDialogsTest.main(AllDialogsTest.java:75)
java.lang.IllegalArgumentException: input == null!
        at javax.imageio.ImageIO.read(ImageIO.java:1362)
        at com.jmex.bui.BImage.<init>(BImage.java:120)
        at com.jmex.bui.image.ImageUtil.getImage(ImageUtil.java:37)
        at com.jmex.bui.icon.IconUtil.getIcon(IconUtil.java:33)
        at com.jmex.bui.BDialogMessage.<clinit>(BDialogMessage.java:42)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createDialogBox(DialogBoxUtil.java:61)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createQuestionDialogBox(DialogBoxUtil.java:106)
        at gbuitest.AllDialogsTest.createWindows(AllDialogsTest.java:54)
        at gbuitest.BaseTest2.simpleInitGame(BaseTest2.java:36)
        at com.jme.app.BaseSimpleGame.initGame(BaseSimpleGame.java:544)
        at com.jme.app.BaseGame.start(BaseGame.java:74)
        at gbuitest.AllDialogsTest.main(AllDialogsTest.java:75)
java.lang.IllegalArgumentException: input == null!
        at javax.imageio.ImageIO.read(ImageIO.java:1362)
        at com.jmex.bui.BImage.<init>(BImage.java:120)
        at com.jmex.bui.image.ImageUtil.getImage(ImageUtil.java:37)
        at com.jmex.bui.icon.IconUtil.getIcon(IconUtil.java:33)
        at com.jmex.bui.BDialogMessage.<clinit>(BDialogMessage.java:44)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createDialogBox(DialogBoxUtil.java:61)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createQuestionDialogBox(DialogBoxUtil.java:106)
        at gbuitest.AllDialogsTest.createWindows(AllDialogsTest.java:54)
        at gbuitest.BaseTest2.simpleInitGame(BaseTest2.java:36)
        at com.jme.app.BaseSimpleGame.initGame(BaseSimpleGame.java:544)
        at com.jme.app.BaseGame.start(BaseGame.java:74)
        at gbuitest.AllDialogsTest.main(AllDialogsTest.java:75)
java.lang.IllegalArgumentException: input == null!
        at javax.imageio.ImageIO.read(ImageIO.java:1362)
        at com.jmex.bui.BImage.<init>(BImage.java:120)
        at com.jmex.bui.image.ImageUtil.getImage(ImageUtil.java:37)
        at com.jmex.bui.icon.IconUtil.getIcon(IconUtil.java:33)
        at com.jmex.bui.BDialogMessage.<clinit>(BDialogMessage.java:46)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createDialogBox(DialogBoxUtil.java:61)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createQuestionDialogBox(DialogBoxUtil.java:106)
        at gbuitest.AllDialogsTest.createWindows(AllDialogsTest.java:54)
        at gbuitest.BaseTest2.simpleInitGame(BaseTest2.java:36)
        at com.jme.app.BaseSimpleGame.initGame(BaseSimpleGame.java:544)
        at com.jme.app.BaseGame.start(BaseGame.java:74)
        at gbuitest.AllDialogsTest.main(AllDialogsTest.java:75)
java.lang.IllegalArgumentException: input == null!
        at javax.imageio.ImageIO.read(ImageIO.java:1362)
        at com.jmex.bui.BImage.<init>(BImage.java:120)
        at com.jmex.bui.image.ImageUtil.getImage(ImageUtil.java:37)
        at com.jmex.bui.icon.IconUtil.getIcon(IconUtil.java:33)
        at com.jmex.bui.BDialogMessage.<clinit>(BDialogMessage.java:48)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createDialogBox(DialogBoxUtil.java:61)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createQuestionDialogBox(DialogBoxUtil.java:106)
        at gbuitest.AllDialogsTest.createWindows(AllDialogsTest.java:54)
        at gbuitest.BaseTest2.simpleInitGame(BaseTest2.java:36)
        at com.jme.app.BaseSimpleGame.initGame(BaseSimpleGame.java:544)
        at com.jme.app.BaseGame.start(BaseGame.java:74)
        at gbuitest.AllDialogsTest.main(AllDialogsTest.java:75)
java.lang.IllegalArgumentException: input == null!
        at javax.imageio.ImageIO.read(ImageIO.java:1362)
        at com.jmex.bui.BImage.<init>(BImage.java:120)
        at com.jmex.bui.image.ImageUtil.getImage(ImageUtil.java:37)
        at com.jmex.bui.icon.IconUtil.getIcon(IconUtil.java:33)
        at com.jmex.bui.BDialogMessage.<clinit>(BDialogMessage.java:50)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createDialogBox(DialogBoxUtil.java:61)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createQuestionDialogBox(DialogBoxUtil.java:106)
        at gbuitest.AllDialogsTest.createWindows(AllDialogsTest.java:54)
        at gbuitest.BaseTest2.simpleInitGame(BaseTest2.java:36)
        at com.jme.app.BaseSimpleGame.initGame(BaseSimpleGame.java:544)
        at com.jme.app.BaseGame.start(BaseGame.java:74)
        at gbuitest.AllDialogsTest.main(AllDialogsTest.java:75)
java.lang.IllegalArgumentException: input == null!
        at javax.imageio.ImageIO.read(ImageIO.java:1362)
        at com.jmex.bui.BImage.<init>(BImage.java:120)
        at com.jmex.bui.image.ImageUtil.getImage(ImageUtil.java:37)
        at com.jmex.bui.icon.IconUtil.getIcon(IconUtil.java:33)
        at com.jmex.bui.BDialogMessage.<clinit>(BDialogMessage.java:52)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createDialogBox(DialogBoxUtil.java:61)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createQuestionDialogBox(DialogBoxUtil.java:106)
        at gbuitest.AllDialogsTest.createWindows(AllDialogsTest.java:54)
        at gbuitest.BaseTest2.simpleInitGame(BaseTest2.java:36)
        at com.jme.app.BaseSimpleGame.initGame(BaseSimpleGame.java:544)
        at com.jme.app.BaseGame.start(BaseGame.java:74)
        at gbuitest.AllDialogsTest.main(AllDialogsTest.java:75)
java.lang.IllegalArgumentException: input == null!
        at javax.imageio.ImageIO.read(ImageIO.java:1362)
        at com.jmex.bui.BImage.<init>(BImage.java:120)
        at com.jmex.bui.image.ImageUtil.getImage(ImageUtil.java:37)
        at com.jmex.bui.icon.IconUtil.getIcon(IconUtil.java:33)
        at com.jmex.bui.BDialogMessage.<clinit>(BDialogMessage.java:54)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createDialogBox(DialogBoxUtil.java:61)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createQuestionDialogBox(DialogBoxUtil.java:106)
        at gbuitest.AllDialogsTest.createWindows(AllDialogsTest.java:54)
        at gbuitest.BaseTest2.simpleInitGame(BaseTest2.java:36)
        at com.jme.app.BaseSimpleGame.initGame(BaseSimpleGame.java:544)
        at com.jme.app.BaseGame.start(BaseGame.java:74)
        at gbuitest.AllDialogsTest.main(AllDialogsTest.java:75)
Apr 9, 2009 7:35:25 PM class gbuitest.AllDialogsTest start()
SEVERE: Exception in game loop
java.lang.NullPointerException
        at com.jmex.bui.icon.ImageIcon.getWidth(ImageIcon.java:58)
        at com.jmex.bui.Label.setIcon(Label.java:91)
        at com.jmex.bui.BLabel.setIcon(BLabel.java:94)
        at com.jmex.bui.BDialogMessage.createIcon(BDialogMessage.java:119)
        at com.jmex.bui.BDialogMessage.createMessage(BDialogMessage.java:150)
        at com.jmex.bui.BDialogMessage.<init>(BDialogMessage.java:95)
        at com.jmex.bui.BDialogMessage.<init>(BDialogMessage.java:85)
        at com.jmex.bui.BDialogMessage.<init>(BDialogMessage.java:61)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createDialogBox(DialogBoxUtil.java:61)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createQuestionDialogBox(DialogBoxUtil.java:106)
        at gbuitest.AllDialogsTest.createWindows(AllDialogsTest.java:54)
        at gbuitest.BaseTest2.simpleInitGame(BaseTest2.java:36)
        at com.jme.app.BaseSimpleGame.initGame(BaseSimpleGame.java:544)
        at com.jme.app.BaseGame.start(BaseGame.java:74)
        at gbuitest.AllDialogsTest.main(AllDialogsTest.java:75)



Stacktrace WITH modification:

java.lang.IllegalArgumentException: input == null!
        at javax.imageio.ImageIO.read(ImageIO.java:1362)
        at com.jmex.bui.BImage.<init>(BImage.java:120)
        at com.jmex.bui.image.ImageUtil.getImage(ImageUtil.java:37)
        at com.jmex.bui.icon.IconUtil.getIcon(IconUtil.java:33)
        at com.jmex.bui.BDialogMessage.<clinit>(BDialogMessage.java:40)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createDialogBox(DialogBoxUtil.java:61)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createQuestionDialogBox(DialogBoxUtil.java:106)
        at gbuitest.AllDialogsTest.createWindows(AllDialogsTest.java:54)
        at gbuitest.BaseTest2.simpleInitGame(BaseTest2.java:41)
        at com.jme.app.BaseSimpleGame.initGame(BaseSimpleGame.java:544)
        at com.jme.app.BaseGame.start(BaseGame.java:74)
        at gbuitest.AllDialogsTest.main(AllDialogsTest.java:75)
java.lang.IllegalArgumentException: input == null!
        at javax.imageio.ImageIO.read(ImageIO.java:1362)
        at com.jmex.bui.BImage.<init>(BImage.java:120)
        at com.jmex.bui.image.ImageUtil.getImage(ImageUtil.java:37)
        at com.jmex.bui.icon.IconUtil.getIcon(IconUtil.java:33)
        at com.jmex.bui.BDialogMessage.<clinit>(BDialogMessage.java:42)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createDialogBox(DialogBoxUtil.java:61)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createQuestionDialogBox(DialogBoxUtil.java:106)
        at gbuitest.AllDialogsTest.createWindows(AllDialogsTest.java:54)
        at gbuitest.BaseTest2.simpleInitGame(BaseTest2.java:41)
        at com.jme.app.BaseSimpleGame.initGame(BaseSimpleGame.java:544)
        at com.jme.app.BaseGame.start(BaseGame.java:74)
        at gbuitest.AllDialogsTest.main(AllDialogsTest.java:75)
java.lang.IllegalArgumentException: input == null!
        at javax.imageio.ImageIO.read(ImageIO.java:1362)
        at com.jmex.bui.BImage.<init>(BImage.java:120)
        at com.jmex.bui.image.ImageUtil.getImage(ImageUtil.java:37)
        at com.jmex.bui.icon.IconUtil.getIcon(IconUtil.java:33)
        at com.jmex.bui.BDialogMessage.<clinit>(BDialogMessage.java:44)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createDialogBox(DialogBoxUtil.java:61)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createQuestionDialogBox(DialogBoxUtil.java:106)
        at gbuitest.AllDialogsTest.createWindows(AllDialogsTest.java:54)
        at gbuitest.BaseTest2.simpleInitGame(BaseTest2.java:41)
        at com.jme.app.BaseSimpleGame.initGame(BaseSimpleGame.java:544)
        at com.jme.app.BaseGame.start(BaseGame.java:74)
        at gbuitest.AllDialogsTest.main(AllDialogsTest.java:75)
java.lang.IllegalArgumentException: input == null!
        at javax.imageio.ImageIO.read(ImageIO.java:1362)
        at com.jmex.bui.BImage.<init>(BImage.java:120)
        at com.jmex.bui.image.ImageUtil.getImage(ImageUtil.java:37)
        at com.jmex.bui.icon.IconUtil.getIcon(IconUtil.java:33)
        at com.jmex.bui.BDialogMessage.<clinit>(BDialogMessage.java:46)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createDialogBox(DialogBoxUtil.java:61)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createQuestionDialogBox(DialogBoxUtil.java:106)
        at gbuitest.AllDialogsTest.createWindows(AllDialogsTest.java:54)
        at gbuitest.BaseTest2.simpleInitGame(BaseTest2.java:41)
        at com.jme.app.BaseSimpleGame.initGame(BaseSimpleGame.java:544)
        at com.jme.app.BaseGame.start(BaseGame.java:74)
        at gbuitest.AllDialogsTest.main(AllDialogsTest.java:75)
java.lang.IllegalArgumentException: input == null!
        at javax.imageio.ImageIO.read(ImageIO.java:1362)
        at com.jmex.bui.BImage.<init>(BImage.java:120)
        at com.jmex.bui.image.ImageUtil.getImage(ImageUtil.java:37)
        at com.jmex.bui.icon.IconUtil.getIcon(IconUtil.java:33)
        at com.jmex.bui.BDialogMessage.<clinit>(BDialogMessage.java:48)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createDialogBox(DialogBoxUtil.java:61)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createQuestionDialogBox(DialogBoxUtil.java:106)
        at gbuitest.AllDialogsTest.createWindows(AllDialogsTest.java:54)
        at gbuitest.BaseTest2.simpleInitGame(BaseTest2.java:41)
        at com.jme.app.BaseSimpleGame.initGame(BaseSimpleGame.java:544)
        at com.jme.app.BaseGame.start(BaseGame.java:74)
        at gbuitest.AllDialogsTest.main(AllDialogsTest.java:75)
java.lang.IllegalArgumentException: input == null!
        at javax.imageio.ImageIO.read(ImageIO.java:1362)
        at com.jmex.bui.BImage.<init>(BImage.java:120)
        at com.jmex.bui.image.ImageUtil.getImage(ImageUtil.java:37)
        at com.jmex.bui.icon.IconUtil.getIcon(IconUtil.java:33)
        at com.jmex.bui.BDialogMessage.<clinit>(BDialogMessage.java:50)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createDialogBox(DialogBoxUtil.java:61)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createQuestionDialogBox(DialogBoxUtil.java:106)
        at gbuitest.AllDialogsTest.createWindows(AllDialogsTest.java:54)
        at gbuitest.BaseTest2.simpleInitGame(BaseTest2.java:41)
        at com.jme.app.BaseSimpleGame.initGame(BaseSimpleGame.java:544)
        at com.jme.app.BaseGame.start(BaseGame.java:74)
        at gbuitest.AllDialogsTest.main(AllDialogsTest.java:75)
java.lang.IllegalArgumentException: input == null!
        at javax.imageio.ImageIO.read(ImageIO.java:1362)
        at com.jmex.bui.BImage.<init>(BImage.java:120)
        at com.jmex.bui.image.ImageUtil.getImage(ImageUtil.java:37)
        at com.jmex.bui.icon.IconUtil.getIcon(IconUtil.java:33)
        at com.jmex.bui.BDialogMessage.<clinit>(BDialogMessage.java:52)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createDialogBox(DialogBoxUtil.java:61)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createQuestionDialogBox(DialogBoxUtil.java:106)
        at gbuitest.AllDialogsTest.createWindows(AllDialogsTest.java:54)
        at gbuitest.BaseTest2.simpleInitGame(BaseTest2.java:41)
        at com.jme.app.BaseSimpleGame.initGame(BaseSimpleGame.java:544)
        at com.jme.app.BaseGame.start(BaseGame.java:74)
        at gbuitest.AllDialogsTest.main(AllDialogsTest.java:75)
java.lang.IllegalArgumentException: input == null!
        at javax.imageio.ImageIO.read(ImageIO.java:1362)
        at com.jmex.bui.BImage.<init>(BImage.java:120)
        at com.jmex.bui.image.ImageUtil.getImage(ImageUtil.java:37)
        at com.jmex.bui.icon.IconUtil.getIcon(IconUtil.java:33)
        at com.jmex.bui.BDialogMessage.<clinit>(BDialogMessage.java:54)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createDialogBox(DialogBoxUtil.java:61)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createQuestionDialogBox(DialogBoxUtil.java:106)
        at gbuitest.AllDialogsTest.createWindows(AllDialogsTest.java:54)
        at gbuitest.BaseTest2.simpleInitGame(BaseTest2.java:41)
        at com.jme.app.BaseSimpleGame.initGame(BaseSimpleGame.java:544)
        at com.jme.app.BaseGame.start(BaseGame.java:74)
        at gbuitest.AllDialogsTest.main(AllDialogsTest.java:75)
Apr 9, 2009 7:36:32 PM class gbuitest.AllDialogsTest start()
SEVERE: Exception in game loop
java.lang.NullPointerException
        at com.jmex.bui.icon.ImageIcon.getWidth(ImageIcon.java:58)
        at com.jmex.bui.Label.setIcon(Label.java:91)
        at com.jmex.bui.BLabel.setIcon(BLabel.java:94)
        at com.jmex.bui.BDialogMessage.createIcon(BDialogMessage.java:119)
        at com.jmex.bui.BDialogMessage.createMessage(BDialogMessage.java:150)
        at com.jmex.bui.BDialogMessage.<init>(BDialogMessage.java:95)
        at com.jmex.bui.BDialogMessage.<init>(BDialogMessage.java:85)
        at com.jmex.bui.BDialogMessage.<init>(BDialogMessage.java:61)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createDialogBox(DialogBoxUtil.java:61)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createQuestionDialogBox(DialogBoxUtil.java:106)
        at gbuitest.AllDialogsTest.createWindows(AllDialogsTest.java:54)
        at gbuitest.BaseTest2.simpleInitGame(BaseTest2.java:41)
        at com.jme.app.BaseSimpleGame.initGame(BaseSimpleGame.java:544)
        at com.jme.app.BaseGame.start(BaseGame.java:74)
        at gbuitest.AllDialogsTest.main(AllDialogsTest.java:75)



OS: MS Windows Vista, Version 6.0 (Build 6001: SP1) 64-bit Home Premium
JDK/JRE: 1.6.0_11
jME v2

The first one, obviously, couldn't find the BSS.



The second one is from the BImage not knowing where an image is by URL.



This looks like the URL path is invalid or the ClassLoader isn't doing its job.



There are mixed representations of ClassLoader in the code.  Some are className.class.getxxxx others are ClassLoader.getxxxx



Can you try adding the jar to the classpath of your project and see if that fixes the issue?



I pulled down NetBeans last night and wow is it different from using IntelliJ…I was so lost it wasn't funny.  I'll try again tonight.

Trussell:  here is the line you needed for FengGUI…

 
public void setOrtho2D(int left, int right, int bottom, int top)
  {
      GL11.glOrtho( (double) left, (double) right, (double) bottom, (double) top, -1d, 1d );
  }



Sorry I didn't see this post until today...
standtrooper said:

The first one, obviously, couldn't find the BSS.

The second one is from the BImage not knowing where an image is by URL.

This looks like the URL path is invalid or the ClassLoader isn't doing its job.

There are mixed representations of ClassLoader in the code.  Some are className.class.getxxxx others are ClassLoader.getxxxx

Can you try adding the jar to the classpath of your project and see if that fixes the issue?

I pulled down NetBeans last night and wow is it different from using IntelliJ...I was so lost it wasn't funny.  I'll try again tonight.


I assume you mean the jar of resources. Unfortunately no resource jar is downloaded via SVN and there is no dist-rsrc in your build.xml file. I'll see if I can download it from Google Code but right now it looks like their site may be down.

EDIT:

I downloaded the rsrc jar from your Google Code page and put it in. Now I am receiving this exception:

SEVERE: Exception in game loop
java.lang.RuntimeException: GroupLayout constraints object must be of type GroupLayout.Constraints
        at com.jmex.bui.layout.GroupLayout.addLayoutComponent(GroupLayout.java:188)
        at com.jmex.bui.BContainer.add(BContainer.java:104)
        at com.jmex.bui.BContainer.add(BContainer.java:94)
        at com.jmex.bui.headlessWindows.BTitledWindow.init(BTitledWindow.java:91)
        at com.jmex.bui.headlessWindows.BTitledWindow.<init>(BTitledWindow.java:77)
        at com.jmex.bui.BDialogBox.<init>(BDialogBox.java:39)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createDialogBox(DialogBoxUtil.java:62)
        at com.jmex.bui.headlessWindows.DialogBoxUtil.createQuestionDialogBox(DialogBoxUtil.java:106)
        at gbuitest.AllDialogsTest.createWindows(AllDialogsTest.java:54)
        at gbuitest.BaseTest2.simpleInitGame(BaseTest2.java:41)
        at com.jme.app.BaseSimpleGame.initGame(BaseSimpleGame.java:544)
        at com.jme.app.BaseGame.start(BaseGame.java:74)
        at gbuitest.AllDialogsTest.main(AllDialogsTest.java:75)

I wonder why the rsrc.jar task was removed.



The rsrc jar is http://gbui.googlecode.com/files/rsrc2a.jar listed on the downloads tab – google doesn't let you do mult downloads with the same name.