Seems I guessed right: http://saros-build.imp.fu-berlin.de/gerrit/#/c/3004/
And I get a very big window including the whole stack trace (IntelliJ 13.4)
Plugin 'de.fu_berlin.inf.dpp.intellij' failed to initialize and will be
disabled. Please restart IntelliJ IDEA.
java.lang.NullPointerException
at
de.fu_berlin.inf.dpp.SarosPluginContext.initComponent(SarosPluginContext.java:31)
at
de.fu_berlin.inf.dpp.intellij.ui.actions.AbstractSarosAction.<init>(AbstractSarosAction.java:48)
at
de.fu_berlin.inf.dpp.intellij.ui.actions.FollowModeAction.<init>(FollowModeAction.java:80)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at
org.picocontainer.injectors.AbstractInjector.newInstance(AbstractInjector.java:146)
at
org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:319)
at
org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:268)
at
org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:341)
at
org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
at
org.picocontainer.injectors.CompositeInjector.getComponentInstance(CompositeInjector.java:42)
at
org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
at
org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
at
org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
at
org.picocontainer.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:605)
at
org.picocontainer.DefaultPicoContainer.getComponents(DefaultPicoContainer.java:586)
at
org.picocontainer.DefaultPicoContainer.getComponents(DefaultPicoContainer.java:572)
at de.fu_berlin.inf.dpp.SarosContext.initialize(SarosContext.java:173)
at de.fu_berlin.inf.dpp.core.Saros.start(Saros.java:109)
at de.fu_berlin.inf.dpp.core.Saros.create(Saros.java:74)
at
de.fu_berlin.inf.dpp.intellij.SarosComponent.<init>(SarosComponent.java:53)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at
org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193)
at
org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:220)
at
org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53)
at
org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248)
at
org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60)
at
org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:58)
at
com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:530)
at
com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:590)
at
com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:225)
at
com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:212)
at
com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:199)
at
org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
at
com.intellij.openapi.components.impl.ComponentManagerImpl.createComponent(ComponentManagerImpl.java:121)
at
com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:112)
at
com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:89)
at
com.intellij.openapi.project.impl.ProjectImpl.init(ProjectImpl.java:296)
at
com.intellij.openapi.project.impl.ProjectManagerImpl.initProject(ProjectManagerImpl.java:280)
at
com.intellij.openapi.project.impl.ProjectManagerImpl.access$400(ProjectManagerImpl.java:83)
at
com.intellij.openapi.project.impl.ProjectManagerImpl$10.compute(ProjectManagerImpl.java:580)
at
com.intellij.openapi.project.impl.ProjectManagerImpl$10.compute(ProjectManagerImpl.java:576)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl$4.run(ProgressManagerImpl.java:240)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:471)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:281)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
at
com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:209)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:212)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:171)
at
com.intellij.openapi.application.impl.ApplicationImpl$10$1.run(ApplicationImpl.java:645)
at
com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:419)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
at
com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:149)
On 04.02.2016 13:41, Zieris, Franz wrote:
> Thanks, David, for reporting this.
>
> There are three and a half problems here:
>
> 1) This should not happen. There need to be at least smoke tests for this.
> The current tests in [1] are executed for each new patch in Gerrit,
> but they cover next to nothing.
>
> 2) I can confirm that starting Saros/I as of 0c88717 (current master)
> does not work, whereas commit e0f66e1 (Gerrit #3002) does.
> However, on startup, there is just this message:
>
> > Cannot load project:
> > com.intellij.ide.plugins.PluginManager$StartupAbortedException:
> > com.intellij.diagnostic.PluginException: [Plugin:
> de.fu_berlin.inf.dpp.intellij]
>
> I could not find any log file containing a stacktrace or *any* additional
> information.
>
> Holger, do you know of similar cases? How do you trick IntelliJ into
> getting
> a bit more verbose?
>
> 3) To deal with issue 1), I wanted to start writing a simple smoke test.
> I'm using IntelliJ 14 (not 15, because of [2]), and before adding a new
> test case, I wanted to successfully execute the existing ones, which was
> not possible.
> Both "IntelliJFileImplTest" and "PropertiesComponentAdapterTest" failed
> to initialize with the stacktrace below.
> It seem like the class "net.sf.cglib.core.AbstractClassGenerator" exists
> twice:
> (1) In our own "cglib-nodep-2.2.2.jar" [3].
> (2) In IntelliJ's "util.jar" which we cannot exclude from the SDK (as with
> some other libraries [4]), because then Saros/I won't even compile.
>
> Holger, are you able to execute the test cases in your setup?
>
> 4) Finally, out of curiosity I wanted to execute the test cases the way our CI
> server does: Letting ANT execute the build.xml.
> Problem here: Both from within Eclipse and IntelliJ, this fails due to the
> following error:
>
> > BUILD FAILED
> > G:\Development\saros\de.fu_berlin.inf.dpp.intellij\build.xml:156:
> taskdef
> > A class needed by class com.intellij.ant.Javac2 cannot be found:
> > org/jetbrains/org/objectweb/asm/ClassVisitor using the classloader
> > AntClassLoader[G:\Software\JetBrains\IntelliJ IDEA Community Edition
> 14.1.5\lib\javac2.jar;
> > G:\Software\JetBrains\IntelliJ IDEA Community Edition
> 14.1.5\lib\jdom.jar;
> > G:\Software\JetBrains\IntelliJ IDEA Community Edition
> 14.1.5\lib\asm4-all.jar;
> > G:\Software\JetBrains\IntelliJ IDEA Community Edition
> 14.1.5\lib\jgoodies-forms.jar]
>
> This also could be IntelliJ 14 vs. 13 error -- but I was too lazy to find
> and
> install an IntelliJ 13 version.
>
> Holger, are you able to execute the build.xml locally?
>
> This current development process of Saros/I is not obviously suited to produce
> acceptable quality. This really needs to change!
>
> Franz
>
> [1]
> https://github.com/saros-project/saros/tree/master/de.fu_berlin.inf.dpp.intellij/test/junit/de/fu_berlin/inf/dpp
> [2] http://sourceforge.net/p/dpp/bugs/862/
> [3]
> https://github.com/saros-project/saros/blob/master/de.fu_berlin.inf.dpp.core/test/lib/cglib-nodep-2.2.2.jar
> [4] http://www.saros-project.org/setup-intellij-environment#create-sdk
>
> ----
> Stacktrace from test case execution
>
> java.lang.NoSuchMethodError:
> net.sf.cglib.core.ClassNameReader.getClassName(Lorg/objectweb/asm/ClassReader;)Ljava/lang/String;
> at
> net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:220)
> at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:144)
> at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:116)
> at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
> at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
> at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69)
> at
> org.powermock.api.extension.proxyframework.ProxyFrameworkImpl.isProxy(ProxyFrameworkImpl.java:29)
> at
> org.powermock.reflect.internal.WhiteboxImpl.getUnmockedType(WhiteboxImpl.java:1783)
> at
> org.powermock.reflect.internal.WhiteboxImpl.getType(WhiteboxImpl.java:2237)
> at
> org.powermock.reflect.internal.WhiteboxImpl.setInternalState(WhiteboxImpl.java:327)
> at
> org.powermock.reflect.proxyframework.RegisterProxyFramework.registerProxyFramework(RegisterProxyFramework.java:18)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at
> org.powermock.reflect.internal.WhiteboxImpl.performMethodInvocation(WhiteboxImpl.java:2014)
> at
> org.powermock.reflect.internal.WhiteboxImpl.doInvokeMethod(WhiteboxImpl.java:885)
> at
> org.powermock.reflect.internal.WhiteboxImpl.invokeMethod(WhiteboxImpl.java:859)
> at org.powermock.reflect.Whitebox.invokeMethod(Whitebox.java:466)
> at
> org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl.registerProxyframework(AbstractTestSuiteChunkerImpl.java:154)
> at
> org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl.getPowerMockTestListenersLoadedByASpecificClassLoader(AbstractTestSuiteChunkerImpl.java:107)
> at
> org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.createDelegatorFromClassloader(JUnit4TestSuiteChunkerImpl.java:143)
> at
> org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.createDelegatorFromClassloader(JUnit4TestSuiteChunkerImpl.java:39)
> at
> org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl.createTestDelegators(AbstractTestSuiteChunkerImpl.java:217)
> at
> org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.<init>(JUnit4TestSuiteChunkerImpl.java:59)
> at
> org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner.<init>(AbstractCommonPowerMockRunner.java:32)
> at
> org.powermock.modules.junit4.PowerMockRunner.<init>(PowerMockRunner.java:33)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> at
> org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:29)
> at
> org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:21)
> at
> org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at
> org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
> at
> org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:101)
> at org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:87)
> at
> com.intellij.junit4.JUnit46ClassesRequestBuilder.collectWrappedRunners(JUnit46ClassesRequestBuilder.java:90)
> at
> com.intellij.junit4.JUnit46ClassesRequestBuilder.getClassesRequest(JUnit46ClassesRequestBuilder.java:51)
> at
> com.intellij.junit4.JUnit4TestRunnerUtil.buildRequest(JUnit4TestRunnerUtil.java:91)
> at
> com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:39)
> at
> com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:212)
> at
> com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:68)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
> -----
>
>
> -----Original Message-----
> From: David Sungaila [mailto:[email protected]]
> Sent: Thursday, February 04, 2016 11:08 AM
> To: [email protected]
> Subject: [DPP-Devel] Saros for IntelliJ is broken
>
> Hello everyone,
>
> I just noticed that Saros/I is not working in the current master branch.
> Change 3004 makes the load up fail when SarosContext.init is called.
>
> Can anyone confirm this? 3004 is not working for me, but 3002 is. So I
> concluded change 3004 is the faulty one.
>
> Best regards,
> David S.
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> DPP-Devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dpp-devel
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
DPP-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dpp-devel