LOL the “Should never happen” Exception… The programmer really got sense of humor !
yeah ^^ obviously it DID happen
Hi guys. After last update now I get such a log:
[java]java.lang.InternalError: Should never happen
at org.netbeans.lib.profiler.common.Profiler.getDefault(Profiler.java:125)
at org.netbeans.modules.profiler.NetBeansProfiler.getDefaultNB(NetBeansProfiler.java:654)
at org.netbeans.modules.profiler.NetBeansProfiler.isInitialized(NetBeansProfiler.java:660)
at org.netbeans.modules.profiler.actions.RerunAction.isEnabled(RerunAction.java:79)
at org.openide.awt.Actions$MenuBridge.updateState(Actions.java:1199)
at org.openide.awt.Actions$Bridge.prepare(Actions.java:858)
at org.openide.awt.Actions$MenuBridge.prepare(Actions.java:1186)
at org.openide.awt.Actions.connect(Actions.java:194)
at org.openide.awt.Actions.connect(Actions.java:165)
at org.openide.awt.Actions$MenuItem.<init>(Actions.java:1524)
at org.netbeans.modules.openide.awt.DefaultAWTBridge.createMenuPresenter(DefaultAWTBridge.java:76)
at org.openide.util.actions.CallableSystemAction.getMenuPresenter(CallableSystemAction.java:91)
at org.openide.awt.DynaMenuModel.loadSubmenu(DynaMenuModel.java:99)
at org.openide.awt.MenuBar$LazyMenu$MenuFolder.createInstance(MenuBar.java:760)
at org.openide.loaders.FolderInstance.defaultProcessObjectsFinal(FolderInstance.java:873)
at org.openide.loaders.FolderInstance$1R.run(FolderInstance.java:738)
at org.openide.util.Task.run(Task.java:248)
at org.netbeans.modules.openide.loaders.AWTTask.run(AWTTask.java:73)
at org.netbeans.modules.openide.loaders.AWTTask$Processor.run(AWTTask.java:114)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
at java.awt.EventQueue.access$000(EventQueue.java:96)
at java.awt.EventQueue$1.run(EventQueue.java:608)
at java.awt.EventQueue$1.run(EventQueue.java:606)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:617)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)
at java.awt.Dialog$1.run(Dialog.java:1072)
at java.awt.Dialog$3.run(Dialog.java:1126)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1124)
at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:1038)
at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1072)
at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1060)
at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:126)
at org.openide.util.Mutex.doEventAccess(Mutex.java:1361)
at org.openide.util.Mutex.readAccess(Mutex.java:271)
at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:1045)
at java.awt.Component.show(Component.java:1551)
at java.awt.Component.setVisible(Component.java:1503)
at java.awt.Window.setVisible(Window.java:881)
at java.awt.Dialog.setVisible(Dialog.java:1011)
at org.netbeans.core.windows.services.DialogDisplayerImpl$1AWTQuery.showDialog(DialogDisplayerImpl.java:249)
at org.netbeans.core.windows.services.DialogDisplayerImpl.notify(DialogDisplayerImpl.java:265)
at org.netbeans.core.windows.services.DialogDisplayerImpl.access$100(DialogDisplayerImpl.java:73)
at org.netbeans.core.windows.services.DialogDisplayerImpl$1R.run(DialogDisplayerImpl.java:301)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
at java.awt.EventQueue.access$000(EventQueue.java:96)
at java.awt.EventQueue$1.run(EventQueue.java:608)
at java.awt.EventQueue$1.run(EventQueue.java:606)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:617)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)
at java.awt.Dialog$1.run(Dialog.java:1072)
at java.awt.Dialog$3.run(Dialog.java:1126)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1124)
at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:1038)
at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1072)
at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1060)
at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:126)
at org.openide.util.Mutex.doEventAccess(Mutex.java:1361)
at org.openide.util.Mutex.readAccess(Mutex.java:271)
at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:1045)
at java.awt.Component.show(Component.java:1551)
at java.awt.Component.setVisible(Component.java:1503)
at java.awt.Window.setVisible(Window.java:881)
at java.awt.Dialog.setVisible(Dialog.java:1011)
at org.netbeans.core.windows.services.DialogDisplayerImpl$1AWTQuery.showDialog(DialogDisplayerImpl.java:249)
at org.netbeans.core.windows.services.DialogDisplayerImpl.notify(DialogDisplayerImpl.java:265)
at org.netbeans.core.windows.services.DialogDisplayerImpl.access$100(DialogDisplayerImpl.java:73)
at org.netbeans.core.windows.services.DialogDisplayerImpl$1R.run(DialogDisplayerImpl.java:301)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
at java.awt.EventQueue.access$000(EventQueue.java:96)
at java.awt.EventQueue$1.run(EventQueue.java:608)
at java.awt.EventQueue$1.run(EventQueue.java:606)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:617)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)
at java.awt.Dialog$1.run(Dialog.java:1072)
at java.awt.Dialog$3.run(Dialog.java:1126)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1124)
at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:1038)
at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1072)
at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1060)
at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:126)
at org.openide.util.Mutex.doEventAccess(Mutex.java:1361)
at org.openide.util.Mutex.readAccess(Mutex.java:271)
at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:1045)
at java.awt.Component.show(Component.java:1551)
at java.awt.Component.setVisible(Component.java:1503)
at java.awt.Window.setVisible(Window.java:881)
at java.awt.Dialog.setVisible(Dialog.java:1011)
at org.netbeans.core.windows.services.DialogDisplayerImpl$1AWTQuery.showDialog(DialogDisplayerImpl.java:249)
at org.netbeans.core.windows.services.DialogDisplayerImpl.notify(DialogDisplayerImpl.java:265)
at org.netbeans.core.windows.services.DialogDisplayerImpl.access$100(DialogDisplayerImpl.java:73)
at org.netbeans.core.windows.services.DialogDisplayerImpl$1R.run(DialogDisplayerImpl.java:301)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
at java.awt.EventQueue.access$000(EventQueue.java:96)
at java.awt.EventQueue$1.run(EventQueue.java:608)
at java.awt.EventQueue$1.run(EventQueue.java:606)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:617)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)
at java.awt.Dialog$1.run(Dialog.java:1072)
at java.awt.Dialog$3.run(Dialog.java:1126)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1124)
at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:1038)
at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1072)
at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1060)
at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:126)
at org.openide.util.Mutex.doEventAccess(Mutex.java:1361)
at org.openide.util.Mutex.readAccess(Mutex.java:271)
at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:1045)
at java.awt.Component.show(Component.java:1551)
at java.awt.Component.setVisible(Component.java:1503)
at java.awt.Window.setVisible(Window.java:881)
at java.awt.Dialog.setVisible(Dialog.java:1011)
at org.netbeans.core.windows.services.DialogDisplayerImpl$1AWTQuery.showDialog(DialogDisplayerImpl.java:249)
at org.netbeans.core.windows.services.DialogDisplayerImpl.notify(DialogDisplayerImpl.java:265)
at org.netbeans.core.windows.services.DialogDisplayerImpl.access$100(DialogDisplayerImpl.java:73)
at org.netbeans.core.windows.services.DialogDisplayerImpl$1R.run(DialogDisplayerImpl.java:301)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
at java.awt.EventQueue.access$000(EventQueue.java:96)
at java.awt.EventQueue$1.run(EventQueue.java:608)
at java.awt.EventQueue$1.run(EventQueue.java:606)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:617)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
[/java]
Well that’s really strange because this kind of internal error should never happen…
It looks like an error in the profiler plugin. It’s a netbeans plugin it’s not part of JMP. Try to deactivate the profiler plugin for now, maybe next update will fix the issue. Also you can post an issue on the netbeans website
The profiler plugin is not installed. ok, i’ll try to post it to netbeans forum.
I nstalled the profiler plugin and now I have such a log:
[java]
java.lang.NullPointerException
at com.jme3.gde.core.sceneviewer.SceneViewerTopComponent$1.mouseWheelMoved(SceneViewerTopComponent.java:100)
at java.awt.Component.processMouseWheelEvent(Component.java:6356)
at java.awt.Component.processEvent(Component.java:6040)
at java.awt.Container.processEvent(Container.java:2045)
at java.awt.Component.dispatchEventImpl(Component.java:4629)
at java.awt.Container.dispatchEventToSelf(Container.java:2127)
at java.awt.Component.dispatchMouseWheelToAncestor(Component.java:4781)
at java.awt.Component.dispatchEventImpl(Component.java:4513)
at java.awt.Component.dispatchEvent(Component.java:4455)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
at java.awt.EventQueue.access$000(EventQueue.java:96)
at java.awt.EventQueue$1.run(EventQueue.java:608)
at java.awt.EventQueue$1.run(EventQueue.java:606)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
at java.awt.EventQueue$2.run(EventQueue.java:622)
at java.awt.EventQueue$2.run(EventQueue.java:620)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
java.lang.NullPointerException
at com.jme3.gde.core.sceneviewer.SceneViewerTopComponent$1.mouseWheelMoved(SceneViewerTopComponent.java:100)
at java.awt.Component.processMouseWheelEvent(Component.java:6356)
at java.awt.Component.processEvent(Component.java:6040)
at java.awt.Container.processEvent(Container.java:2045)
at java.awt.Component.dispatchEventImpl(Component.java:4629)
at java.awt.Container.dispatchEventToSelf(Container.java:2127)
at java.awt.Component.dispatchMouseWheelToAncestor(Component.java:4781)
at java.awt.Component.dispatchEventImpl(Component.java:4513)
at java.awt.Component.dispatchEvent(Component.java:4455)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
at java.awt.EventQueue.access$000(EventQueue.java:96)
at java.awt.EventQueue$1.run(EventQueue.java:608)
at java.awt.EventQueue$1.run(EventQueue.java:606)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
at java.awt.EventQueue$2.run(EventQueue.java:622)
at java.awt.EventQueue$2.run(EventQueue.java:620)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
[/java]
So, what log I should post to netbeans?
p.s. sceneviewer still does not work.
@mifth
Count yourself lucky, at least you’ve got a jMP that starts and can load stuff.
mifth said:
I nstalled the profiler plugin and now I have such a log:
how come you had an error in the profiler module if it was not installed?
You have that error but doing what?
when stating jmp?
well, I have got a new machine. 5 days ago installed JMP alpha-4. Then I updated. That’s all.
Still on ubuntu, right?
yes, right.
I have the same exact problem… just updated Netbeans, profiler is crashing. It makes jMP not able to close, I have to force-quit it!
Is there a way to roll back a version? I even uninstalled the “Java Profiler” plugin (which said it was version 1.0), and I still get errors. I don’t see another Java Profiler plugin installed, but yet I still get the exception when loading…
EDIT: I am also on Ubuntu
One thing you could try is to replace the old Profiler with the one from the latest Netbeans build. Search where the .jar on your installation and replace it with the nightly… Make sure to make backups though.
Last link on the following page.
madjack said:
One thing you could try is to replace the old Profiler with the one from the latest Netbeans build. Search where the .jar on your installation and replace it with the nightly... Make sure to make backups though.
Last link on the following page.
This worked! I pretty much added/replaced everything in the profiler ZIP to my local installation. I fear my "manual install" of the profiler may break automatic updates, though :/ If that happens, I'll just uninstall/re-install/re-update jMP, I suppose.
phr00t said:
This worked! I pretty much added/replaced everything in the profiler ZIP to my local installation. I fear my "manual install" of the profiler may break automatic updates, though :/ If that happens, I'll just uninstall/re-install/re-update jMP, I suppose.
It shouldn't since this is Netbean's own modules. As soon as a new version appears (when they release one), it should ask to replace it.
I have a similar problem to this :
mifth said:
org.lwjgl.LWJGLException: X Error - disp: 0x423e0280 serial: 49 error: BadValue (integer parameter out of range for operation) request_code: 1 minor_code: 0
at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:294)
at org.lwjgl.opengl.LinuxDisplay.nCreateWindow(Native Method)
Newly installed Alpha-4 and updated all modules. Started on the simple application tutorial (newbie to jmonekyengine) everything workes fine. Today I get errors when starting up. Fiddled around a bit and can now reproduce it. As soon as I have a java-file opened when starting (remembered from previous session) I get a dialog box saying I need GL 2.0 support and the SceneViewer Window is gray (no GL canvas). If I close the java-file leaving only the sceneviewer window and restart it loads without problems. Feels like some problem with creating the GL-stuff on a hidden surface or something like that.
These are the exceptions I get in the error dialog in NetBeans/platform
java.lang.IllegalStateException: Cannot determine close requested state of uncreated window
at org.lwjgl.opengl.Display.isCloseRequested(Display.java:583)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:208)
[catch] at java.lang.Thread.run(Thread.java:619)
java.lang.NullPointerException
at org.lwjgl.opengl.GL11.glGetString(GL11.java:1771)
[catch] at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:109)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:206)
at java.lang.Thread.run(Thread.java:619)
org.lwjgl.LWJGLException: X Error - disp: 0x42259420 serial: 32 error: BadValue (integer parameter out of range for operation) request_code: 1 minor_code: 0
at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:277)
at org.lwjgl.opengl.LinuxDisplay.nCreateWindow(Native Method)
at org.lwjgl.opengl.LinuxDisplay.createWindow(LinuxDisplay.java:430)
at org.lwjgl.opengl.Display.createWindow(Display.java:317)
at org.lwjgl.opengl.Display.create(Display.java:857)
at org.lwjgl.opengl.Display.create(Display.java:785)
[catch] at com.jme3.system.lwjgl.LwjglCanvas.createContext(LwjglCanvas.java:309)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:100)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:206)
at java.lang.Thread.run(Thread.java:619)
Guys, I have just updated JMP and the SceneViewer is fixed!!! THANK YOU VERY MUCH!!!
The only Exception appears:
java.lang.NoSuchMethodError: com.jme3.renderer.RenderManager.render(F)V
[catch] at com.jme3.gde.core.scene.SceneApplication.update(SceneApplication.java:233)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:149)
at com.jme3.system.lwjgl.LwjglCanvas.runLoop(LwjglCanvas.java:228)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:223)
at java.lang.Thread.run(Thread.java:679)
But the SceneViewer is loaded and it works! Thank you!!!
Edited: But the exception could be because I cannot update SDK Core.
It writes:
Some plugins require plugin Java SE Projects to be installed.
The plugin Java SE Projects is requested in implementation version 45.
The following plugin is affected: SDK Core
When you uninstall, make sure you delete the whole application and its settings folder (you can do that with the uninstaller as well). There is no update problems anymore.
Apart from that your problems are well known:
http://code.google.com/p/jmonkeyengine/issues/list?can=2&q=label%3AProduct-Platform
Ok, thanks! I’ll wait for the beta to uninstall the JMP.