Cannot create new project/module - J2ME plugin issue

FYI to anyone who runs into this...

Clicked on "New Project" or "New Module" and nothing happened. I've rebooted/restarted several times. Looking in the log reveals this:

]]>2008-10-22 08:32:18,980 ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(78,266),absolute(78,266),button=1,modifiers=Button1,clickCount=1] on frame0
java.lang.ClassFormatError: com/intellij/j2meplugin/emulator/MobileSdk
at com.intellij.j2meplugin.module.J2MEModuleType.createWizardSteps(J2MEModuleType.java:58)
at com.intellij.j2meplugin.module.J2MEModuleType.createWizardSteps(J2MEModuleType.java:38)
at com.intellij.ide.util.newProjectWizard.modes.CreateFromScratchMode.createSteps(CreateFromScratchMode.java:1)
at com.intellij.ide.util.newProjectWizard.modes.WizardMode.getSteps(WizardMode.java:9)
at com.intellij.ide.util.newProjectWizard.AddModuleWizard.a(AddModuleWizard.java:105)
at com.intellij.ide.util.newProjectWizard.AddModuleWizard.]]>(AddModuleWizard.java:74)
at com.intellij.ide.impl.ProjectUtil.createNewProject(ProjectUtil.java:15)
at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeScreen$4.onPress(WelcomeScreen.java:2)
at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeScreen$MyActionButton$1.mouseReleased(WelcomeScreen.java:9)
at java.awt.Component.processMouseEvent(Component.java:6041)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:146)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:118)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:87)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
2008-10-22 08:32:18,980 ERROR - com.intellij.ide.IdeEventQueue - IntelliJ IDEA 7.0.4 Build #7941
2008-10-22 08:32:18,980 ERROR - com.intellij.ide.IdeEventQueue - JDK: 1.6.0_04
2008-10-22 08:32:18,980 ERROR - com.intellij.ide.IdeEventQueue - VM: Java HotSpot(TM) Client VM
2008-10-22 08:32:18,980 ERROR - com.intellij.ide.IdeEventQueue - Vendor: Sun Microsystems Inc.
2008-10-22 08:32:18,980 ERROR - com.intellij.ide.IdeEventQueue - OS: Windows XP </h5>


So, I removed the J2ME plugin and it now works.

1 comment
Comment actions Permalink

Hello Jason,

This is an issue with your installation of IDEA which got corrupted, not
with the J2ME plugin.

FYI to anyone who runs into this...

Clicked on "New Project" or "New Module" and nothing happened. I've
rebooted/restarted several times. Looking in the log reveals this:

<h5>2008-10-22 08:32:18,980 ERROR -
com.intellij.ide.IdeEventQueue - Error during dispatching of
java.awt.event.MouseEvent[MOUSE_RELEASED,(78,266),absolute(78,266),but
ton=1,modifiers=Button1,clickCount=1] on frame0
java.lang.ClassFormatError: com/intellij/j2meplugin/emulator/MobileSdk
at
com.intellij.j2meplugin.module.J2MEModuleType.createWizardSteps(J2MEMo
duleType.java:58)
at
com.intellij.j2meplugin.module.J2MEModuleType.createWizardSteps(J2MEMo
duleType.java:38)
at
com.intellij.ide.util.newProjectWizard.modes.CreateFromScratchMode.cre
ateSteps(CreateFromScratchMode.java:1)
at
com.intellij.ide.util.newProjectWizard.modes.WizardMode.getSteps(Wizar
dMode.java:9)
at
com.intellij.ide.util.newProjectWizard.AddModuleWizard.a(AddModuleWiza
rd.java:105)
at
com.intellij.ide.util.newProjectWizard.AddModuleWizard.<init>(AddModul
eWizard.java:74)
at
com.intellij.ide.impl.ProjectUtil.createNewProject(ProjectUtil.java:15
)
at
com.intellij.openapi.wm.impl.welcomeScreen.WelcomeScreen$4.onPress(Wel
comeScreen.java:2)
at
com.intellij.openapi.wm.impl.welcomeScreen.WelcomeScreen$MyActionButto
n$1.mouseReleased(WelcomeScreen.java:9)
at java.awt.Component.processMouseEvent(Component.java:6041)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:146)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:118)
at
com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:87)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThrea
d.java:273)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.j
ava:183)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
d.java:173)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
2008-10-22 08:32:18,980 ERROR -
com.intellij.ide.IdeEventQueue - IntelliJ IDEA 7.0.4 Build #7941
2008-10-22 08:32:18,980 ERROR -
com.intellij.ide.IdeEventQueue - JDK: 1.6.0_04 2008-10-22 08:32:18,980
ERROR - com.intellij.ide.IdeEventQueue - VM: Java
HotSpot(TM) Client VM 2008-10-22 08:32:18,980 ERROR -
com.intellij.ide.IdeEventQueue - Vendor: Sun Microsystems Inc.
2008-10-22 08:32:18,980 ERROR -
com.intellij.ide.IdeEventQueue - OS: Windows XP </h5>

So, I removed the J2ME plugin and it now works.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.