IntelliJ IDEA Ultimate 13.1.5 [SOLVED by including netty..alpha]

Hello,
I am Haxe plugin for IDEA maintainer.
Recently updated from 13.1.4 to 13.1.5 and IntelliJ IDEA fails to run each unit test

testVarDeclaration:

log4j:WARN No appenders could be found for logger (com.intellij.ide.plugins.PluginBean).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

java.lang.NoClassDefFoundError: io/netty/channel/EventLoopGroup
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:408)
    at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:398)
    at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.access$000(ComponentManagerImpl.java:384)
    at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:107)
    at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:89)
    at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:87)
    at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:508)
    at com.intellij.idea.IdeaTestApplication$1.run(IdeaTestApplication.java:54)
    at com.intellij.openapi.application.RunResult.run(RunResult.java:38)
    at com.intellij.openapi.application.WriteAction$1$1.run(WriteAction.java:47)
    at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:984)
    at com.intellij.openapi.application.WriteAction$1.run(WriteAction.java:44)
    at com.intellij.openapi.application.WriteAction.execute(WriteAction.java:53)
    at com.intellij.idea.IdeaTestApplication.getInstance(IdeaTestApplication.java:52)
    at com.intellij.testFramework.fixtures.impl.HeavyIdeaTestFixtureImpl.b(HeavyIdeaTestFixtureImpl.java:176)
    at com.intellij.testFramework.fixtures.impl.HeavyIdeaTestFixtureImpl.setUp(HeavyIdeaTestFixtureImpl.java:101)
    at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$18.run(CodeInsightTestFixtureImpl.java:1123)
    at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:2074)
    at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1119)
    at com.intellij.testFramework.fixtures.JavaCodeInsightFixtureTestCase.setUp(JavaCodeInsightFixtureTestCase.java:57)
    at com.intellij.testFramework.UsefulTestCase.defaultRunBare(UsefulTestCase.java:340)
    at com.intellij.testFramework.UsefulTestCase$3.run(UsefulTestCase.java:353)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:666)
    at java.awt.EventQueue.access$400(EventQueue.java:81)
    at java.awt.EventQueue$2.run(EventQueue.java:627)
    at java.awt.EventQueue$2.run(EventQueue.java:625)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:636)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.ClassNotFoundException: io.netty.channel.EventLoopGroup
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    ... 39 more


testLocalVarDeclaration

java.lang.RuntimeException: java.lang.NullPointerException
    at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$18.run(CodeInsightTestFixtureImpl.java:1127)
    at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:2074)
    at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1119)
    at com.intellij.testFramework.fixtures.JavaCodeInsightFixtureTestCase.setUp(JavaCodeInsightFixtureTestCase.java:57)
    at com.intellij.testFramework.UsefulTestCase.defaultRunBare(UsefulTestCase.java:340)
    at com.intellij.testFramework.UsefulTestCase$3.run(UsefulTestCase.java:353)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:666)
    at java.awt.EventQueue.access$400(EventQueue.java:81)
    at java.awt.EventQueue$2.run(EventQueue.java:627)
    at java.awt.EventQueue$2.run(EventQueue.java:625)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:636)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.NullPointerException
    at com.intellij.openapi.command.WriteCommandAction.performWriteCommandAction(WriteCommandAction.java:106)
    at com.intellij.openapi.command.WriteCommandAction.access$000(WriteCommandAction.java:33)
    at com.intellij.openapi.command.WriteCommandAction$1.run(WriteCommandAction.java:80)
    at com.intellij.openapi.command.WriteCommandAction.execute(WriteCommandAction.java:85)
    at com.intellij.testFramework.fixtures.impl.HeavyIdeaTestFixtureImpl.a(HeavyIdeaTestFixtureImpl.java:148)
    at com.intellij.testFramework.fixtures.impl.HeavyIdeaTestFixtureImpl.setUp(HeavyIdeaTestFixtureImpl.java:102)
    at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$18.run(CodeInsightTestFixtureImpl.java:1123)
    ... 20 more



SOLVED by including netty alpha(does it changed?)

1 comment
Comment actions Permalink

Thanks for posting how you solved this.  Adding the netty jar from the community sources fixed this for me too.

0

Please sign in to leave a comment.