Hello,
I’m getting the following exception whenever I try to load a texture with the method createGrass():
[java]
Informações: Loaded material definition: GrassBase
Out 25, 2012 9:59:13 PM com.jme3.app.Application handleError
Grave: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
com.jme3.asset.AssetLoadException: An exception has occured while loading asset: se/jod/biomonkey/assets/matdefs/GrassBase.j3md
at com.jme3.asset.DesktopAssetManager.loadAsset(DesktopAssetManager.java:284)
at com.jme3.material.Material.<init>(Material.java:116)
at se.jod.biomonkey.MaterialSP.<init>(MaterialSP.java:74)
at se.jod.biomonkey.grass.GrassLayer.initMaterial(GrassLayer.java:121)
at se.jod.biomonkey.grass.GrassLayer.<init>(GrassLayer.java:85)
at se.jod.biomonkey.biomes.plants.Grass.<init>(Grass.java:54)
at se.jod.biomonkey.EcoManager.createGrass(EcoManager.java:172)
[/java]
Line 284 from DesktopAssetManager.java is
[java]
try {
handler.establishParentKey(key);
obj = loader.load(info);
} catch (IOException ex) {
throw new AssetLoadException("An exception has occured while loading asset: " + key, ex); <
} finally {
handler.releaseParentKey(key);
}
[/java]
Is anybody having the same problem? Sorry if I posted in the wrong place. I'm new to the forum.
Thanks ^^