SDK mistake something in FileLocator!

I 've tried to add a animated model “malebuilder” from WorldForge AssetPack and get this exceptions

Take a carefully look at two filePaths, there is a "dot . " in the second filePath !!!


[java]com.jme3.asset.AssetNotFoundException: Asset name doesn’t match requirements.

“C:/Documents and Settings/hungcuong.3945AFF7530341A/.jmonkeyplatform/assetpacks/

WorldForge/assets/3d_objects/characters/

malebuilder/male/animations/malebuilder.skeleton.xml”



doesn’t match



“C:/Documents and Settings/hungcuong.3945AFF7530341A/.jmonkeyplatform/assetpacks/

WorldForge/assets/3d_objects/characters/

malebuilder/male/./animations/malebuilder.skeleton.xml”

at com.jme3.asset.plugins.FileLocator.locate(FileLocator.java:93)

at com.jme3.asset.ImplHandler.tryLocate(ImplHandler.java:122)

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

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

at com.jme3.scene.plugins.ogre.MeshLoader.startSkeleton(MeshLoader.java:546)

at com.jme3.scene.plugins.ogre.MeshLoader.startElement(MeshLoader.java:618)

at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)

at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)

at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2755)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)

at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)

at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)

at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)

at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)

at com.jme3.scene.plugins.ogre.MeshLoader.load(MeshLoader.java:811)

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

at com.jme3.gde.assetpack.AssetPackLoader.loadSingleMesh(AssetPackLoader.java:221)

at com.jme3.gde.assetpack.AssetPackLoader.loadAssetPackModel(AssetPackLoader.java:95)

at com.jme3.gde.assetpack.actions.AddToProjectAction.actionPerformed(AddToProjectAction.java:47)

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)

at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)

at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)

at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)

at javax.swing.AbstractButton.doClick(AbstractButton.java:357)

at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)

at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)

at java.awt.Component.processMouseEvent(Component.java:6263)

at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)

at java.awt.Component.processEvent(Component.java:6028)

at java.awt.Container.processEvent(Container.java:2041)

at java.awt.Component.dispatchEventImpl(Component.java:4630)

at java.awt.Container.dispatchEventImpl(Container.java:2099)

at java.awt.Component.dispatchEvent(Component.java:4460)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)

at java.awt.Container.dispatchEventImpl(Container.java:2085)

at java.awt.Component.dispatchEvent(Component.java:4460)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)

at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148)

[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)

at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)[/java]

In addition, the Category list box of the Asset Browser is not working yet, isn’t it?

Yes it is.

And the path problem is due to @Momoko_Fans latest changes to the asset path stuff (incited by the complaints about case-insensitivity).

Thanks , i will wait and check for the solving of this problem and the Category thing-> I kind of need that feature for my game now (The asset list is too damn looooong now) !

Categories work fine as said.

1 Like

@normen: Ah … Thank a lot !I’m going to try it immediately !