Clicking on a AudioNode spartial in the SceneComposer causes a NullPointerException in the current nightly.
See stacktrace bellow.
java.lang.NullPointerException
at org.openide.nodes.Sheet$Set.put(Sheet.java:317)
at com.jme3.gde.core.sceneexplorer.nodes.JmeAudioNode.createSheet(JmeAudioNode.java:103)
at org.openide.nodes.AbstractNode.getSheet(AbstractNode.java:441)
at org.openide.nodes.AbstractNode.getPropertySets(AbstractNode.java:457)
at com.jme3.gde.core.sceneexplorer.nodes.AbstractSceneExplorerNode.syncSceneData(AbstractSceneExplorerNode.java:206)
at com.jme3.gde.core.scene.NodeSyncAppState.update(NodeSyncAppState.java:76)
at com.jme3.app.state.AppStateManager.update(AppStateManager.java:261)
at com.jme3.gde.core.scene.SceneApplication.update(SceneApplication.java:315)
at com.jme3.system.awt.AwtPanelsContext.updateInThread(AwtPanelsContext.java:188)
at com.jme3.system.awt.AwtPanelsContext.access$100(AwtPanelsContext.java:44)
at com.jme3.system.awt.AwtPanelsContext$AwtPanelsListener.update(AwtPanelsContext.java:68)
at com.jme3.system.lwjgl.LwjglOffscreenBuffer.runLoop(LwjglOffscreenBuffer.java:125)
at com.jme3.system.lwjgl.LwjglOffscreenBuffer.run(LwjglOffscreenBuffer.java:151)
at java.lang.Thread.run(Thread.java:722)
No I didn’t know, but I was quite sure that I can find it if I have the source XD But its even better, if somebody else takes care about this;)
Is there someplace where I can see the known issues for the nightly? Would spare me to post already known issues… Or should
I just stop posting issues for the nightly because its WIP anyway?
Btw - Just wanted to say that you all (including the community) doing a great job. I am working with JME for some months now and no
big issues so far!
We don’t track every single little issue in the trackers as mostly theres one developer caring for a certain part of the engine anyway and he knows what still needs to be done. So best just post on the forum if you find something that nobody mentioned yet (forum search). Otherwise there is the issue tracker in googlecode: https://code.google.com/p/jmonkeyengine/wiki/IssueFrontpage?tm=3 but as said, its mainly used to track larger scope things or heisen- and schroedinbugs
@nehon: So maybe this is your “fix”? Could be its because you mixed the new SceneExplorerProperties with other normal properties. At any instance I’ll look into this among other things before release.
So maybe because “getStatus” of AudioNode returns AudioSource.Status and not the deprecated
AudioNode.Status and therefore the setter/getter cannot be found.
Edit: Btw - what does Exceptions.printStackTrace(ex) do in a netbeans plugin environment? Is it logged somewhere? If my assumption is correct, changing this line to:
set.put(makeProperty(obj, AudioSource.Status.class, “getStatus”, “setStatus”, “Status”));