#4148 doesn't start with Inspection-JS & Co installed

It's probably a good idea to obfuscate all license-related code, but this makes IDEA just
hang during startup if any of the SRR plugins are installed. It's not such a good idea to
block the whole thing if a plugin has initialization problems. I think that should be
handled in a more graceful way for the 5.1 release.

Sascha

java.lang.NoClassDefFoundError: com/intellij/licensecommon/util/InvalidLicenseKeyException
at com.sixrr.inspectjs.InspectionJSPlugin.]]>(InspectionJSPlugin.java:116)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)

java.lang.NoClassDefFoundError: com/intellij/licensecommon/util/InvalidLicenseKeyException
at com.sixrr.inspectjs.InspectionJSPlugin.(InspectionJSPlugin.java:116) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:128) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:154) at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:56) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:184) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:44) at com.intellij.openapi.components.impl.ComponentManagerImpl$MyComponentAdapterFactory$1.getComponentInstance(ComponentManagerImpl.java:1) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:44) at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:38) at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322) at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:305) at org.picocontainer.defaults.CollectionComponentParameter.getArrayInstance(CollectionComponentParameter.java:270) at org.picocontainer.defaults.CollectionComponentParameter.resolveInstance(CollectionComponentParameter.java:128) at org.picocontainer.defaults.ComponentParameter.resolveInstance(ComponentParameter.java:119) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getConstructorArguments(ConstructorInjectionComponentAdapter.java:193) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:148) at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:56) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:184) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:44) at com.intellij.openapi.components.impl.ComponentManagerImpl$MyComponentAdapterFactory$1.getComponentInstance(ComponentManagerImpl.java:1) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:44) at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:38) at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322) at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:305) at com.intellij.openapi.extensions.impl.AreaPicoContainerImpl$4.visitContainer(AreaPicoContainerImpl.java:120) at org.picocontainer.defaults.DefaultPicoContainer.accept(DefaultPicoContainer.java:416) at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.accept(AbstractDelegatingMutablePicoContainer.java:134) at com.intellij.openapi.extensions.impl.AreaPicoContainerImpl.getComponentInstance(AreaPicoContainerImpl.java:107) at com.intellij.openapi.components.impl.ComponentManagerImpl.instantiateComponent(ComponentManagerImpl.java:26) at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:28) at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponentFromContainer(ComponentManagerImpl.java:10) at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:281) at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:137) at com.intellij.codeInspection.ex.InspectionToolRegistrar.getInstance(InspectionToolRegistrar.java:63) at com.intellij.codeInspection.ex.InspectionProfileImpl.initInspectionTools(InspectionProfileImpl.java:64) at com.intellij.codeInspection.ex.InspectionProfileImpl.getInspectionTools(InspectionProfileImpl.java:141) at com.intellij.codeInspection.ex.InspectionProfileImpl.(InspectionProfileImpl.java:13) at com.intellij.codeInspection.ex.InspectionProfileManager.initProfiles(InspectionProfileManager.java:51) at com.intellij.codeInspection.ex.InspectionProfileManager.(InspectionProfileManager.java:16) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:128) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:154) at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:56) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:184) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:44) at com.intellij.openapi.components.impl.ComponentManagerImpl$MyComponentAdapterFactory$1.getComponentInstance(ComponentManagerImpl.java:1) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:44) at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:38) at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322) at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:305) at com.intellij.openapi.extensions.impl.AreaPicoContainerImpl$4.visitContainer(AreaPicoContainerImpl.java:120) at org.picocontainer.defaults.DefaultPicoContainer.accept(DefaultPicoContainer.java:416) at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.accept(AbstractDelegatingMutablePicoContainer.java:134) at com.intellij.openapi.extensions.impl.AreaPicoContainerImpl.getComponentInstance(AreaPicoContainerImpl.java:107) at com.intellij.openapi.components.impl.ComponentManagerImpl.instantiateComponent(ComponentManagerImpl.java:26) at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:28) at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponentFromContainer(ComponentManagerImpl.java:10) at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:281) at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:137) at com.intellij.codeInspection.ex.InspectionProfileManager.getInstance(InspectionProfileManager.java:50) at com.intellij.codeInsight.daemon.DaemonCodeAnalyzerSettings.readExternal(DaemonCodeAnalyzerSettings.java:51) at com.intellij.openapi.components.impl.ComponentManagerImpl.doInitJdomExternalizable(ComponentManagerImpl.java:278) at com.intellij.openapi.components.impl.ComponentManagerImpl.initJdomExternalizable(ComponentManagerImpl.java:134) at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:217) at com.intellij.openapi.components.impl.ComponentManagerImpl.access$000(ComponentManagerImpl.java:60) at com.intellij.openapi.components.impl.ComponentManagerImpl$MyComponentAdapterFactory$1.getComponentInstance(ComponentManagerImpl.java:3) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:44) at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:38) at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322) at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:305) at com.intellij.openapi.extensions.impl.AreaPicoContainerImpl$4.visitContainer(AreaPicoContainerImpl.java:120) at org.picocontainer.defaults.DefaultPicoContainer.accept(DefaultPicoContainer.java:416) at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.accept(AbstractDelegatingMutablePicoContainer.java:134) at com.intellij.openapi.extensions.impl.AreaPicoContainerImpl.getComponentInstance(AreaPicoContainerImpl.java:107) at com.intellij.openapi.components.impl.ComponentManagerImpl.instantiateComponent(ComponentManagerImpl.java:26) at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:28) at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:227) at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:87) at com.intellij.openapi.application.impl.ApplicationImpl.initComponents(ApplicationImpl.java:267) at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:349) at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:58) at com.intellij.idea.Main$3.run(Main.java:2) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:148) at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:104) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:125) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) java.lang.NoClassDefFoundError: com/intellij/licensecommon/util/InvalidLicenseKeyException at com.sixrr.rpp.RefactorJ.]]>(RefactorJ.java:18)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:128)
at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:154)
at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:56)
at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:184)
at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:44)
at com.intellij.openapi.components.impl.ComponentManagerImpl$MyComponentAdapterFactory$1.getComponentInstance(ComponentManagerImpl.java:1)
at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:44)
at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:38)
at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322)
at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:305)
at com.intellij.openapi.extensions.impl.AreaPicoContainerImpl$4.visitContainer(AreaPicoContainerImpl.java:120)
at org.picocontainer.defaults.DefaultPicoContainer.accept(DefaultPicoContainer.java:416)
at org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.accept(AbstractDelegatingMutablePicoContainer.java:134)
at com.intellij.openapi.extensions.impl.AreaPicoContainerImpl.getComponentInstance(AreaPicoContainerImpl.java:107)
at com.intellij.openapi.components.impl.ComponentManagerImpl.instantiateComponent(ComponentManagerImpl.java:26)
at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:28)
at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:227)
at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:87)
at com.intellij.openapi.application.impl.ApplicationImpl.initComponents(ApplicationImpl.java:267)
at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:349)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:58)
at com.intellij.idea.Main$3.run(Main.java:2)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:148)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:104)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:125)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

2 comments

Fixed. You'll need to update the latest versions of Inspection-JS, Refactor-X, and Refactor-J. It was our fault for using non-open API.

Sixth and Red River Software
"Code with Grace and Verve"

0

Sixth and Red River Software wrote:

Fixed. You'll need to update the latest versions of Inspection-JS, Refactor-X, and Refactor-J. It was our fault for using non-open API.


That's what I figured and I didn't want to blame anyone, I just think IDEA should handle
plugin-crashes in a better way than just hanging during startup.

Sascha

0

Please sign in to leave a comment.