Exception when trying to open some animated models
Issue #175
resolved
I've been trying to open these models with a version of the editor that could allow me move the animation controls but there is no editor version that supports this feature that could open my models. I'm not how exactly to reproduce de issue, but it is there since version 1.0.1. It works fine for version 0.9.12 and below but not for 1.0.1 or 1.1.0.
java.lang.Exception: java.lang.UnsupportedOperationException
at com.ss.editor.ui.component.editor.area.EditorAreaComponent.processOpenFileImpl(Unknown Source)
at com.ss.editor.ui.component.editor.area.EditorAreaComponent.lambda$processOpenFile$9(Unknown Source)
at com.ss.editor.executor.impl.BackgroundEditorTaskExecutor.doExecute(Unknown Source)
at com.ss.editor.executor.impl.AbstractEditorTaskExecutor.run(Unknown Source)
Caused by: java.lang.UnsupportedOperationException
at java.util.AbstractList.remove(AbstractList.java:161)
at java.util.AbstractList$Itr.remove(AbstractList.java:374)
at java.util.AbstractCollection.remove(AbstractCollection.java:293)
at com.jme3.util.SafeArrayList.remove(Unknown Source)
at com.jme3.scene.Mesh.clearBuffer(Mesh.java:1053)
at com.jme3.scene.Mesh.cloneForAnim(Mesh.java:284)
at com.jme3.scene.Geometry.cloneFields(Geometry.java:597)
at com.jme3.util.clone.Cloner.clone(Cloner.java:255)
at com.jme3.util.clone.Cloner.clone(Cloner.java:160)
at com.jme3.util.clone.ListCloneFunction.cloneFields(ListCloneFunction.java:66)
at com.jme3.util.clone.ListCloneFunction.cloneFields(ListCloneFunction.java:43)
at com.jme3.util.clone.Cloner.clone(Cloner.java:228)
at com.jme3.util.clone.Cloner.clone(Cloner.java:160)
at com.jme3.scene.Node.cloneFields(Node.java:725)
at com.jme3.util.clone.Cloner.clone(Cloner.java:255)
at com.jme3.util.clone.Cloner.clone(Cloner.java:160)
at com.jme3.util.clone.ListCloneFunction.cloneFields(ListCloneFunction.java:66)
at com.jme3.util.clone.ListCloneFunction.cloneFields(ListCloneFunction.java:43)
at com.jme3.util.clone.Cloner.clone(Cloner.java:228)
at com.jme3.util.clone.Cloner.clone(Cloner.java:160)
at com.jme3.scene.Node.cloneFields(Node.java:725)
at com.jme3.util.clone.Cloner.clone(Cloner.java:255)
at com.jme3.util.clone.Cloner.clone(Cloner.java:160)
at com.jme3.util.clone.ListCloneFunction.cloneFields(ListCloneFunction.java:66)
at com.jme3.util.clone.ListCloneFunction.cloneFields(ListCloneFunction.java:43)
at com.jme3.util.clone.Cloner.clone(Cloner.java:228)
at com.jme3.util.clone.Cloner.clone(Cloner.java:160)
at com.jme3.scene.Node.cloneFields(Node.java:725)
at com.jme3.util.clone.Cloner.clone(Cloner.java:255)
at com.jme3.util.clone.Cloner.clone(Cloner.java:160)
at com.jme3.util.clone.ListCloneFunction.cloneFields(ListCloneFunction.java:66)
at com.jme3.util.clone.ListCloneFunction.cloneFields(ListCloneFunction.java:43)
at com.jme3.util.clone.Cloner.clone(Cloner.java:228)
at com.jme3.util.clone.Cloner.clone(Cloner.java:160)
at com.jme3.scene.Node.cloneFields(Node.java:725)
at com.jme3.util.clone.Cloner.clone(Cloner.java:255)
at com.jme3.util.clone.Cloner.clone(Cloner.java:160)
at com.jme3.scene.Spatial.clone(Unknown Source)
at com.jme3.scene.Node.clone(Node.java:682)
at com.jme3.scene.Node.clone(Node.java:62)
at com.jme3.scene.Spatial.clone(Unknown Source)
at com.jme3.scene.Spatial.clone(Unknown Source)
at com.jme3.asset.CloneableAssetProcessor.createClone(CloneableAssetProcessor.java:48)
at com.jme3.asset.DesktopAssetManager.registerAndCloneSmartAsset(DesktopAssetManager.java:317)
at com.jme3.asset.DesktopAssetManager.loadAsset(DesktopAssetManager.java:379)
at com.ss.editor.ui.component.editor.impl.model.ModelFileEditor.doOpenFile(Unknown Source)
at com.ss.editor.plugin.api.editor.BaseFileEditor.openFile(Unknown Source)
at com.ss.editor.plugin.api.editor.Base3DFileEditor.openFile(Unknown Source)
... 4 more
Comments (3)
-
repo owner -
repo owner Fixed in the version 1.2.0, it was my mistake :)
-
repo owner - changed status to resolved
- Log in to comment
I think it happens after @nehon 's changes for glTF support... I will look at it...