Assets Not Found Exception and cannot load lwjgl library

4 replies [Last post]
Offline
Joined: 05/26/2013

 Hey, My first issue is when i try and run the jar file in the dist folder it says unsatisfied link error cannot load library lwjgl. I have found out that my laptop is 64 bit so i have to put the all the 64 bit dll files in the dist folder to get rid of that error. Is there a way when I build it for netbeans to include that? Also once I get that error out of the way it says 

com.jme3.asset.AssetNotFoundException: textures/fence1.png (Flipped) (Mipmapped)

 

        at com.jme3.asset.DesktopAssetManager.loadAsset(DesktopAssetManager.java

:283)

        at com.jme3.asset.DesktopAssetManager.loadTexture(DesktopAssetManager.ja

va:346)

        at com.jme3.asset.DesktopAssetManager.loadTexture(DesktopAssetManager.ja

va:356)

        at env3d.RoomAdapter.drawWall(RoomAdapter.java:152)

        at env3d.RoomAdapter.<init>(RoomAdapter.java:91)

        at env3d.EnvBasic.setRoom(EnvBasic.java:207)

        at env3d.advanced.EnvAdvanced.setRoom(EnvAdvanced.java:81)

        at env3d.Env.<init>(Env.java:78)

        at env3d.advanced.EnvAdvanced.<init>(EnvAdvanced.java:31)

        at Game.load(Game.java:104)

        at Game.play(Game.java:115)

        at Game.main(Game.java:188)

com.jme3.asset.AssetNotFoundException: textures/skybox/default/west.png (Flipped

) (Mipmapped)

        at com.jme3.asset.DesktopAssetManager.loadAsset(DesktopAssetManager.java

:283)

        at com.jme3.asset.DesktopAssetManager.loadTexture(DesktopAssetManager.ja

va:346)

        at com.jme3.asset.DesktopAssetManager.loadTexture(DesktopAssetManager.ja

va:356)

        at env3d.advanced.EnvSkyRoom.CreateSkyRoom(EnvSkyRoom.java:98)

        at env3d.advanced.EnvSkyRoom.<init>(EnvSkyRoom.java:40)

        at Game.setup(Game.java:31)

        at Game.load(Game.java:105)

        at Game.play(Game.java:115)

        at Game.main(Game.java:188)

Aug 28, 2013 10:29:19 PM com.jme3.app.Application handleError

SEVERE: Uncaught exception thrown in Thread[main,5,main]

java.lang.NullPointerException

        at Game.play(Game.java:136)

        at Game.main(Game.java:188)

 

 

I can run the game fine in netbeans it wont run outside of netbeans

Thanks

Offline
Joined: 05/26/2013
 nevermind when i try and run

 nevermind when i try and run it in netbeans this pops up

 

at com.jme3.asset.DesktopAssetManager.loadAsset(DesktopAssetManager.java:283)

at com.jme3.asset.DesktopAssetManager.loadTexture(DesktopAssetManager.java:346)

at com.jme3.asset.DesktopAssetManager.loadTexture(DesktopAssetManager.java:356)

at env3d.advanced.EnvNode.setTextureHelper(EnvNode.java:49)

at env3d.advanced.EnvNode.setTexture(EnvNode.java:131)

at Cerberus.<init>(Cerberus.java:50)

at Cerberus.<init>(Cerberus.java:38)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

at java.lang.Class.newInstance(Class.java:374)

at Game.setup(Game.java:42)

at Game.load(Game.java:105)

at Game.play(Game.java:115)

at Game.main(Game.java:188)

Aug 28, 2013 10:38:09 PM com.jme3.app.Application handleError

SEVERE: Uncaught exception thrown in Thread[main,5,main]

java.lang.NullPointerException

at Game.play(Game.java:136)

 

Offline
Joined: 12/13/2010
Thanks for the heads up!  I

Thanks for the heads up!  I know there are some issues with 64bit windows.  I usually develop on a mac but do have access to a windows machine occationally.  Will get back to you as soon as I can.

Offline
Joined: 05/26/2013
I have access to a mac would

I have access to a mac would that be easier to use to package the jar file?