IntelliJ 1.3.0 Plugin Crashing

97 views
Skip to first unread message

Christopher Graham

unread,
May 28, 2015, 11:25:13 AM5/28/15
to rob...@googlegroups.com
Installed RoboVM 1.3.0 plugin (tried both "Browse Repositories" and download - "Install from Disk").

IntelliJ Community Edition 14.1.3
JRE 1.6.0_65-b14...

Plugin 'org.robovm.intellij' failed to initialize and will be disabled.  Please restart IntelliJ IDEA.

com.intellij.diagnostic.PluginException: org/robovm/idea/components/RoboVmApplicationComponent : Unsupported major.minor version 51.0 [Plugin: org.robovm.intellij]
    at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf(PluginClassLoader.java:130)
    at com.intellij.ide.plugins.cl.PluginClassLoader.tryLoadingClass(PluginClassLoader.java:77)
    at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:66)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:249)
    at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.loadClasses(ComponentManagerImpl.java:427)
    at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.loadClasses(ComponentManagerImpl.java:417)
    at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.access$000(ComponentManagerImpl.java:403)
    at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:108)
    at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:87)
    at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:101)
    at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:499)
    at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:481)
    at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:170)
    at com.intellij.idea.MainImpl$1$1$1.run(MainImpl.java:52)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
    at java.awt.EventQueue.access$400(EventQueue.java:82)
    at java.awt.EventQueue$2.run(EventQueue.java:676)
    at java.awt.EventQueue$2.run(EventQueue.java:674)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:362)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.UnsupportedClassVersionError: org/robovm/idea/components/RoboVmApplicationComponent : Unsupported major.minor version 51.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:471)
    at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:259)
    at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:255)
    at com.intellij.util.lang.UrlClassLoader._findClass(UrlClassLoader.java:231)
    at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf(PluginClassLoader.java:124)
    ... 30 more

Mario Zechner

unread,
May 28, 2015, 11:32:13 AM5/28/15
to rob...@googlegroups.com
Hi,

Please follow the IntelliJ IDEA guide at: http://docs.robovm.com/getting-started/intellij.html

You need to run IDEA with Java 7.

Hth,
Mario
Message has been deleted

Christopher Graham

unread,
May 28, 2015, 12:42:45 PM5/28/15
to rob...@googlegroups.com
OK, problem solved. An IntelliJ upgrade trashed the required info.plist JVM version I'd specified previously.

Alden Torres

unread,
Jun 16, 2015, 8:45:17 PM6/16/15
to rob...@googlegroups.com
Is there a particular reason for this? Working with IDEA+JRE1.7+ is a problem if you care about the IDE font rendering. Is it anything we can do to get this plugin working with IDEA+JRE1.6? or just wait until JDK 1.9?

Thanks

Mario Zechner

unread,
Jun 19, 2015, 4:50:49 AM6/19/15
to rob...@googlegroups.com, ald...@gmail.com
The problem is that RoboVM is written using Java 7. Back-porting to Java 6 is a problem at this point due to the large amount of Java 7 in the code base. The IntelliJ RoboVM plugin is very young and we weren't aware of the Java 7 issues in IDEA when the compiler was written.

 JetBrains themselves have now stopped supporting Java 6 with IntelliJ IDEA 15 EAP, bundling a new custom JDK 8 (the previous bundled JDK still had issues).

I'm afraid we'll have to wait this one out until IDEA 15 is released.

Alden Torres

unread,
Jun 19, 2015, 9:37:44 AM6/19/15
to rob...@googlegroups.com, ald...@gmail.com
Thanks for your comments. Now I understand, it's no only about the plugin, is that the plugin use (and I suppose load) code for the RoboVM compiler and all is written in Java 7. I will take a look at IDEA 15 EAP.

Regards
Reply all
Reply to author
Forward
0 new messages