-
Notifications
You must be signed in to change notification settings - Fork 104
This means that there was an unexpected exception when parsing the j3md #650
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
Comments
I'm trying to revive an older project using the own shaders... JME3: |
Graphics CapabilitiesFrameBuffer |
frag:
vert:
corrupted j3md:
|
Note: I store src, test and assets in external paths, they are not located in the project workspace. |
Is this the shader editor, or material editor? I seem to remember this issue from the time i worked on the shader editor. This:
Seems to indicate some issue with the j3md file, some Define block problem.
Should there pehaps be something defined here? ColorMap maybe? |
This is the shader editor. However, I believe that programming errors shouldn't crash the editor. HAS_COLORMAP isn't commented with // !JARE, which is a line from the [old JME3.3.2] original JME3 shader. And ultimately, it doesn't matter to an editor whether frag and vert are even already defined in the SDK. Not a problem for me, I just wanted to report the issue. |
By the way, the shader still runs on the graphics card and creates 3D images. after I corrected this line in vert:
|
By the way, it already worked in2021 in JME 3.3.2: Magic MarkMap: https://youtu.be/Etkj70sdigo |
jMonkeyEngine SDK Exception Report
Please submit me to the Issue Tracker
Comment: This means that there was an unexpected exception when parsing the j3md. If this was due to you opening a j3md from a jar (org.openide.filesystems.FSException) then don't report it to us, if it differs, do so!
java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
at com.jme3.gde.materialdefinition.fileStructure.leaves.DefineBlock.parse(DefineBlock.java:57)
at com.jme3.gde.materialdefinition.fileStructure.leaves.DefineBlock.(DefineBlock.java:21)
at com.jme3.gde.materialdefinition.fileStructure.DefinesBlock.(DefinesBlock.java:21)
at com.jme3.gde.materialdefinition.fileStructure.TechniqueBlock.(TechniqueBlock.java:56)
at com.jme3.gde.materialdefinition.fileStructure.MatDefBlock.(MatDefBlock.java:60)
at com.jme3.gde.materialdefinition.EditableMatDefFile.load(EditableMatDefFile.java:130)
at com.jme3.gde.materialdefinition.EditableMatDefFile.(EditableMatDefFile.java:98)
at com.jme3.gde.materialdefinition.MatDefDataObject.getEditableFile(MatDefDataObject.java:288)
at com.jme3.gde.materialdefinition.navigator.MatDefNavigatorPanel.updateData(MatDefNavigatorPanel.java:127)
at com.jme3.gde.materialdefinition.MatDefDataObject.createEditor(MatDefDataObject.java:206)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.netbeans.core.spi.multiview.MultiViewFactory$MapMVD.createElement(MultiViewFactory.java:431)
at org.netbeans.core.multiview.MultiViewModel.getElementForDescription(MultiViewModel.java:197)
at org.netbeans.core.multiview.MultiViewModel.getActiveElement(MultiViewModel.java:107)
at org.netbeans.core.multiview.MultiViewModel.getActiveElement(MultiViewModel.java:103)
at org.netbeans.core.multiview.MultiViewPeer.assignLookup(MultiViewPeer.java:236)
at org.netbeans.core.multiview.MultiViewCloneableTopComponent.getLookup(MultiViewCloneableTopComponent.java:98)
at org.openide.windows.CloneableTopComponent.componentOpened(CloneableTopComponent.java:169)
at org.netbeans.core.multiview.MultiViewCloneableTopComponent.componentOpened(MultiViewCloneableTopComponent.java:128)
at org.openide.windows.WindowManager.componentOpenNotify(WindowManager.java:282)
at org.netbeans.core.windows.WindowManagerImpl.notifyTopComponentOpened(WindowManagerImpl.java:1192)
at org.netbeans.core.windows.Central.addModeOpenedTopComponent(Central.java:773)
at org.netbeans.core.windows.ModeImpl.addOpenedTopComponent(ModeImpl.java:336)
at org.netbeans.core.windows.WindowManagerImpl.topComponentOpenAtTabPosition(WindowManagerImpl.java:1305)
at org.netbeans.core.windows.WindowManagerImpl.topComponentOpen(WindowManagerImpl.java:1262)
at org.openide.windows.TopComponent.open(TopComponent.java:473)
at org.openide.windows.TopComponent.open(TopComponent.java:453)
at org.openide.windows.CloneableOpenSupport.openCloneableTopComponent(CloneableOpenSupport.java:183)
at org.openide.windows.CloneableOpenSupport$1.run(CloneableOpenSupport.java:82)
at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:97)
at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.writeAccess(NbMutexEventProvider.java:62)
at org.netbeans.modules.openide.util.LazyMutexImplementation.writeAccess(LazyMutexImplementation.java:56)
at org.openide.util.Mutex.writeAccess(Mutex.java:292)
at org.openide.windows.CloneableOpenSupport.open(CloneableOpenSupport.java:79)
at org.openide.text.CloneableEditorSupport.open(CloneableEditorSupport.java:412)
at org.openide.awt.ActionDefaultPerfomer.actionPerformed(ActionDefaultPerfomer.java:47)
at org.openide.awt.ContextAction$Performer.actionPerformed(ContextAction.java:413)
at org.openide.awt.ContextManager.actionPerformed(ContextManager.java:261)
at org.openide.awt.ContextAction.actionPerformed(ContextAction.java:108)
at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:68)
at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:91)
at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:74)
at org.openide.awt.GeneralAction$BaseDelAction.actionPerformed(GeneralAction.java:354)
at org.openide.explorer.view.TreeView$PopupSupport.mouseClicked(TreeView.java:1608)
at java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:278)
at java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:277)
at java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:277)
at java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:277)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6624)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3398)
at java.desktop/java.awt.Component.processEvent(Component.java:6386)
at java.desktop/java.awt.Container.processEvent(Container.java:2266)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4996)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4828)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4584)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4828)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:775)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:98)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:747)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:744)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Operating System: Windows 11
Engine Version as used by the SDK: 3.7.0-stable
The text was updated successfully, but these errors were encountered: