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

jme3test.export.TestAssetLinkNode throws an AssetLoadException #985

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

Comments

Projects
None yet
1 participant
@stephengold
Copy link
Contributor

commented Dec 29, 2018

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

Dec 29, 2018 10:43:05 AM com.jme3.scene.plugins.ogre.MeshLoader load
WARNING: Cannot locate Models/MonkeyHead/MonkeyHead.material for model Models/MonkeyHead/MonkeyHead.mesh.xml
Dec 29, 2018 10:43:06 AM com.jme3.app.LegacyApplication handleError
SEVERE: Uncaught exception thrown in Thread[jME3 Main,5,main]
com.jme3.asset.AssetLoadException: An exception has occured while loading asset: Common/Materials/RedColor.j3m
	at com.jme3.asset.DesktopAssetManager.loadLocatedAsset(DesktopAssetManager.java:261)
	at com.jme3.asset.DesktopAssetManager.loadAsset(DesktopAssetManager.java:373)
	at jme3test.export.TestAssetLinkNode.simpleInitApp(TestAssetLinkNode.java:96)
	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.IOException: Material instances must be loaded via MaterialKey
	at com.jme3.material.plugins.J3MLoader.load(J3MLoader.java:797)
	at com.jme3.asset.DesktopAssetManager.loadLocatedAsset(DesktopAssetManager.java:259)
	... 6 more

@stephengold stephengold self-assigned this Jan 7, 2019

stephengold added a commit that referenced this issue Jan 7, 2019

@stephengold

This comment has been minimized.

Copy link
Contributor Author

commented Jan 7, 2019

Fixed in master branch at hash e5fb5bf .

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.