Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HelloCollision throws an AssetLoadException #992

Closed
stephengold opened this Issue Dec 31, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@stephengold
Copy link
Contributor

commented Dec 31, 2018

Currently (in master branch at 3.3-6684) TestAssetLinkNode crashes with the following stack trace:

Dec 30, 2018 11:08:09 PM com.jme3.app.LegacyApplication handleError
SEVERE: Uncaught exception thrown in Thread[jME3 Main,5,main]
com.jme3.asset.AssetLoadException: Failed to open zip file: town.zip
	at com.jme3.asset.plugins.ZipLocator.setRootPath(ZipLocator.java:79)
	at com.jme3.asset.ImplHandler$ImplThreadLocal.initialValue(ImplHandler.java:120)
	at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:180)
	at java.lang.ThreadLocal.get(ThreadLocal.java:170)
	at com.jme3.asset.ImplHandler.tryLocate(ImplHandler.java:178)
	at com.jme3.asset.DesktopAssetManager.loadAsset(DesktopAssetManager.java:359)
	at com.jme3.asset.DesktopAssetManager.loadModel(DesktopAssetManager.java:416)
	at com.jme3.asset.DesktopAssetManager.loadModel(DesktopAssetManager.java:420)
	at jme3test.helloworld.HelloCollision.simpleInitApp(HelloCollision.java:92)
	at com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:220)
	at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:130)
	at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:211)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.FileNotFoundException: town.zip (The system cannot find the file specified)
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:225)
	at java.util.zip.ZipFile.<init>(ZipFile.java:155)
	at com.jme3.asset.plugins.ZipLocator.setRootPath(ZipLocator.java:77)
	... 12 more

@stephengold stephengold self-assigned this Dec 31, 2018

@stephengold stephengold added the bug label Dec 31, 2018

stephengold added a commit that referenced this issue Dec 31, 2018

@stephengold

This comment has been minimized.

Copy link
Contributor Author

commented Dec 31, 2018

fixed in master branch at SHA id=2a904034c29d11a8f9bb96f0ca4afbd453883612

HelloCollision still doesn't work right with native Bullet, but that's a separate issue #910.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.