Java files are not displayed in jmonkey IDE

I have installed jmonkey linux 32 bits for ubuntu12.04. But the java files are not displayed in IDE. It says “loading” but nothing loads and editor seems to hang up.

I have attached screenshot for this issue.

What about other files, will they open? Is there a lot of background jobs running that might prevent the editor to open the file?

No, other files are also not opening. Because of this issue, I am not able to see compile errors, hence not able to use jmonkey. I have checked there are not lots of background jobs, and 1GB free memory available. Can you please tell me more info on how to debug this issue?

in the menubar goto View and press IDE Log, maybe in the idelog is more info about the problem

I guess there is some basic problem. When I go to menubar/View, I get errors shown below. Hence, I am not even able to open menubar/View.

java.lang.NoClassDefFoundError: java/lang/Objuct
at org.netbeans.modules.editor.NbEditorKit.getDeclaredActions(NbEditorKit.java:217)
at org.netbeans.editor.BaseKit.addActionsToMap(BaseKit.java:1003)
at org.netbeans.editor.BaseKit.getActionMap(BaseKit.java:987)
at org.netbeans.editor.BaseKit.getActionByName(BaseKit.java:1054)
at org.netbeans.modules.editor.NbCodeFoldingAction$CodeFoldsMenu.getPopupMenu(NbCodeFoldingAction.java:143)
at org.netbeans.modules.editor.NbCodeFoldingAction$CodeFoldsMenu.synchMenuPresenters(NbCodeFoldingAction.java:132)
at org.openide.awt.DynaMenuModel.checkSubmenu(DynaMenuModel.java:191)
at org.openide.awt.MenuBar$LazyMenu.setPopupMenuVisible(MenuBar.java:729)
at javax.swing.JPopupMenu.menuSelectionChanged(JPopupMenu.java:1471)
at javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:118)
at javax.swing.plaf.basic.BasicMenuUI$Handler.mouseEntered(BasicMenuUI.java:526)
at java.awt.Component.processMouseEvent(Component.java:6514)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:4620)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4474)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.ClassNotFoundException: java.lang.Objuct starting from ModuleCL@f919e6[org.netbeans.modules.editor] with possible defining loaders null and declared parents [ModuleCL@1195c94[org.netbeans.modules.editor.settings], ModuleCL@163019b[org.netbeans.modules.editor.indent], ModuleCL@1ef0fb7[org.openide.loaders], org.netbeans.MainImpl$BootClassLoader@531380, ModuleCL@151ecc8[org.netbeans.modules.editor.lib], ModuleCL@62b59d[org.openide.windows], ModuleCL@1eaf080[org.openide.awt], ModuleCL@28179e[org.netbeans.modules.editor.fold], ModuleCL@72f262[org.netbeans.modules.editor.lib2], ModuleCL@1b9705c[org.openide.dialogs], …7 more]
at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:224)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
… 44 more
Caused by: java.lang.ClassNotFoundException: java.lang.Objuct
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:222)
… 45 more

I think someone has been drinkin’ & codin’: java.lang.NoClassDefFoundError: java/lang/Objuct :mrgreen:

1 Like
@quartz1 said: I guess there is some basic problem. When I go to menubar/View, I get errors shown below. Hence, I am not even able to open menubar/View.

java.lang.NoClassDefFoundError: java/lang/Objuct

Objuct - Yes I would say that is a fundamental flaw, it should be java.lang.Object. I can’t even begin to imagine how it can end up like that, corrupt files? Broken download?

@jmaasing said: Objuct - Yes I would say that is a fundamental flaw, it should be java.lang.Object. I can't even begin to imagine how it can end up like that, corrupt files? Broken download?

Naw. It’s Linux. Normal behavior. :wink:

@madjack said: Naw. It's Linux. Normal behavior. ;)

On your machine maybee, if mine did this I would be somewhat allerted ^^

It’s a joke. sigh

@madjack said: It's a joke. *sigh*

German humor and the internet really don’t not work well. I was just making fun of your computer ^^

Linux people have the tendency of redoing things their own ways… So the joke was taking that largely known fact and twisting it into them redoing the basic java Object and renaming Objuct.

Thanks guys for enthralling discussions. It seems to be download/installation issue. I have re-download the engine and installed it. It works fine now. I have gone through some of the tutorials and the engine seems to be a very great one. I have previously used OGRE for rendering purpose, but now I am switching to jmonkey due to my new team inclinment towards Java. It seems that the basic concepts remains the same and transition will be smooth.