Re: Clearcase plugin for community edition

Hello Gilles,

The easiest way to fix this is to add -Didea.load.plugins.id=.

Hi,

i'm trying to write a Clearcase plugin for community edition. So I
wrote a few lines of code, a class that extends AbstractVcs.

Now when i try to run the plugin configuration, the sandbox IntelliJ
correctly starts but there's an exception that I can't explain :

C:\jdk1.6.0_18\bin\java -Xms256m -Xmx1024m -XX:MaxPermSize=190m -ea
"-Xbootclasspath/a:C:/Program Files/JetBrains/IntelliJ IDEA Community
Edition 9.0.2\lib\boot.jar"
-Didea.config.path=C:\Users\gphilip\Pro\Tools\.IntelliJIdea90\system\p
lugins-sandbox\config
-Didea.system.path=C:\Users\gphilip\Pro\Tools\.IntelliJIdea90\system\p
lugins-sandbox\system
-Didea.plugins.path=C:\Users\gphilip\Pro\Tools\.IntelliJIdea90\system\
plugins-sandbox\plugins -Didea.launcher.port=7534
"-Didea.launcher.bin.path=C:\Program Files\JetBrains\IntelliJ IDEA
9.0.2\bin" -Dfile.encoding=windows-1252 -classpath
"C:\jdk1.6.0_18\lib\tools.jar;C:/Program Files/JetBrains/IntelliJ IDEA
Community Edition 9.0.2\lib\idea_rt.jar;C:/Program
Files/JetBrains/IntelliJ IDEA Community Edition
9.0.2\lib\idea.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community
Edition 9.0.2\lib\bootstrap.jar;C:/Program Files/JetBrains/IntelliJ
IDEA Community Edition 9.0.2\lib\extensions.jar;C:/Program
Files/JetBrains/IntelliJ IDEA Community Edition
9.0.2\lib\util.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community
Edition 9.0.2\lib\openapi.jar;C:/Program Files/JetBrains/IntelliJ IDEA
Community Edition 9.0.2\lib\jdom.jar;C:/Program
Files/JetBrains/IntelliJ IDEA Community Edition
9.0.2\lib\log4j.jar;C:\Program Files\JetBrains\IntelliJ IDEA
9.0.2\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain
com.intellij.idea.Main
  ERROR - ntellij.openapi.vcs.impl.VcsEP -
org.jetbrains.idea.svn.SvnVcs
java.lang.ClassNotFoundException: org.jetbrains.idea.svn.SvnVcs
at
com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoa
der.java:70)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at
com.intellij.openapi.extensions.AbstractExtensionPointBean.findClass(A
bstractExtensionPointBean.java:34)
at com.intellij.openapi.vcs.impl.VcsEP.getVcs(VcsEP.java:47)
at
com.intellij.openapi.vcs.impl.projectlevelman.AllVcses.<init>(AllVcses
.java:53)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructo
rAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo
nstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(I
nstantiatingComponentAdapter.java:193)
at
org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(
ConstructorInjectionComponentAdapter.java:220)
at
org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(Th
readLocalCyclicDependencyGuard.java:53)
at
org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getCom
ponentInstance(ConstructorInjectionComponentAdapter.java:248)
at
org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInst
ance(DecoratingComponentAdapter.java:60)
at
com.intellij.openapi.components.impl.CachingComponentAdapter.getCompon
entInstance(CachingComponentAdapter.java:53)
at
com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAda
pter.initializeInstance(ServiceManagerImpl.java:135)
at
com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAda
pter$1.compute(ServiceManagerImpl.java:127)
at
com.intellij.openapi.application.impl.ApplicationImpl$10.run(Applicati
onImpl.java:725)
at
com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(Ap
plicationImpl.java:695)
at
com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(Ap
plicationImpl.java:723)
at
com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAda
pter.getComponentInstance(ServiceManagerImpl.java:122)
at
com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPi
coContainer.java:231)
at
com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoCon
tainer.java:218)
at
com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(Defau
ltPicoContainer.java:200)
at
org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.
getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
at
com.intellij.openapi.components.ServiceManager.getService(ServiceManag
er.java:40)
at
com.intellij.openapi.vcs.impl.projectlevelman.AllVcses.getInstance(All
Vcses.java:58)
at
com.intellij.openapi.vcs.impl.projectlevelman.NewMappings.keepActiveVc
s(NewMappings.java:154)
at
com.intellij.openapi.vcs.impl.projectlevelman.NewMappings.activateActi
veVcses(NewMappings.java:95)
at
com.intellij.openapi.vcs.impl.projectlevelman.NewMappings$1.run(NewMap
pings.java:77)
at
com.intellij.openapi.vcs.impl.VcsInitialization.execute(VcsInitializat
ion.java:76)
at
com.intellij.openapi.vcs.impl.VcsInitialization$1.run(VcsInitializatio
n.java:45)
at
com.intellij.ide.startup.impl.StartupManagerImpl.runActivities(Startup
ManagerImpl.java:175)
at
com.intellij.ide.startup.impl.StartupManagerImpl.runPostStartupActivit
ies(StartupManagerImpl.java:140)
at
com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(Proje
ctManagerImpl.java:384)
at
com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProjec
t(ProjectManagerImpl.java:420)
at
com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProjec
t(ProjectManagerImpl.java:403)
at
com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:157)
at
com.intellij.ide.RecentProjectsManager.doOpenProject(RecentProjectsMan
ager.java:48)
at
com.intellij.ide.RecentProjectsManagerBase$MyAppLifecycleListener.appS
tarting(RecentProjectsManagerBase.java:242)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
ava:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessag
e(MessageBusConnectionImpl.java:101)
at
com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageB
usImpl.java:183)
at
com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBus
Impl.java:175)
at
com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusI
mpl.java:167)
at
com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusIm
pl.java:40)
at
com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl
.java:106)
at $Proxy32.appStarting(Unknown Source)
at
com.intellij.idea.IdeaApplication.loadProject(IdeaApplication.java:238
)
at
com.intellij.idea.IdeaApplication.access$400(IdeaApplication.java:52)
at
com.intellij.idea.IdeaApplication$IdeStarter$3.run(IdeaApplication.jav
a:218)
at
com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(La
terInvocator.java:319)
at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at
com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java
:610)
at
com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:500)
at
com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThrea
d.java:269)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.j
ava:184)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
d.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)
  ERROR - ntellij.openapi.vcs.impl.VcsEP - IntelliJ IDEA
9.0.2  Build #IC-95.66
  ERROR - ntellij.openapi.vcs.impl.VcsEP - JDK: 1.6.0_18-ea
  ERROR - ntellij.openapi.vcs.impl.VcsEP - VM: Java
HotSpot(TM) Client VM
  ERROR - ntellij.openapi.vcs.impl.VcsEP - Vendor: Sun
Microsystems Inc.
  ERROR - ntellij.openapi.vcs.impl.VcsEP - OS: Windows XP
  ERROR - ntellij.openapi.vcs.impl.VcsEP - Last Action:
  ERROR - tartup.impl.StartupManagerImpl - null
java.lang.NullPointerException
at
com.intellij.openapi.vcs.impl.projectlevelman.AllVcses.registerVcs(All
Vcses.java:83)
at
com.intellij.openapi.vcs.impl.projectlevelman.AllVcses.addVcs(AllVcses
.java:62)
at
com.intellij.openapi.vcs.impl.projectlevelman.AllVcses.<init>(AllVcses
.java:53)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructo
rAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo
nstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(I
nstantiatingComponentAdapter.java:193)
at
org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(
ConstructorInjectionComponentAdapter.java:220)
at
org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(Th
readLocalCyclicDependencyGuard.java:53)
at
org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getCom
ponentInstance(ConstructorInjectionComponentAdapter.java:248)
at
org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInst
ance(DecoratingComponentAdapter.java:60)
at
com.intellij.openapi.components.impl.CachingComponentAdapter.getCompon
entInstance(CachingComponentAdapter.java:53)
at
com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAda
pter.initializeInstance(ServiceManagerImpl.java:135)
at
com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAda
pter$1.compute(ServiceManagerImpl.java:127)
at
com.intellij.openapi.application.impl.ApplicationImpl$10.run(Applicati
onImpl.java:725)
at
com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(Ap
plicationImpl.java:695)
at
com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(Ap
plicationImpl.java:723)
at
com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAda
pter.getComponentInstance(ServiceManagerImpl.java:122)
at
com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPi
coContainer.java:231)
at
com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoCon
tainer.java:218)
at
com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(Defau
ltPicoContainer.java:200)
at
org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.
getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
at
com.intellij.openapi.components.ServiceManager.getService(ServiceManag
er.java:40)
at
com.intellij.openapi.vcs.impl.projectlevelman.AllVcses.getInstance(All
Vcses.java:58)
at
com.intellij.openapi.vcs.impl.projectlevelman.NewMappings.keepActiveVc
s(NewMappings.java:154)
at
com.intellij.openapi.vcs.impl.projectlevelman.NewMappings.activateActi
veVcses(NewMappings.java:95)
at
com.intellij.openapi.vcs.impl.projectlevelman.NewMappings$1.run(NewMap
pings.java:77)
at
com.intellij.openapi.vcs.impl.VcsInitialization.execute(VcsInitializat
ion.java:76)
at
com.intellij.openapi.vcs.impl.VcsInitialization$1.run(VcsInitializatio
n.java:45)
at
com.intellij.ide.startup.impl.StartupManagerImpl.runActivities(Startup
ManagerImpl.java:175)
at
com.intellij.ide.startup.impl.StartupManagerImpl.runPostStartupActivit
ies(StartupManagerImpl.java:140)
at
com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(Proje
ctManagerImpl.java:384)
at
com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProjec
t(ProjectManagerImpl.java:420)
at
com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProjec
t(ProjectManagerImpl.java:403)
at
com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:157)
at
com.intellij.ide.RecentProjectsManager.doOpenProject(RecentProjectsMan
ager.java:48)
at
com.intellij.ide.RecentProjectsManagerBase$MyAppLifecycleListener.appS
tarting(RecentProjectsManagerBase.java:242)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
ava:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessag
e(MessageBusConnectionImpl.java:101)
at
com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageB
usImpl.java:183)
at
com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBus
Impl.java:175)
at
com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusI
mpl.java:167)
at
com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusIm
pl.java:40)
at
com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl
.java:106)
at $Proxy32.appStarting(Unknown Source)
at
com.intellij.idea.IdeaApplication.loadProject(IdeaApplication.java:238
)
at
com.intellij.idea.IdeaApplication.access$400(IdeaApplication.java:52)
at
com.intellij.idea.IdeaApplication$IdeStarter$3.run(IdeaApplication.jav
a:218)
at
com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(La
terInvocator.java:319)
at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at
com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java
:610)
at
com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:500)
at
com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThrea
d.java:269)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.j
ava:184)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
d.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)
  ERROR - tartup.impl.StartupManagerImpl - IntelliJ IDEA
9.0.2  Build #IC-95.66
  ERROR - tartup.impl.StartupManagerImpl - JDK: 1.6.0_18-ea [
18707]  ERROR - tartup.impl.StartupManagerImpl - VM: Java HotSpot(TM)
Client VM   ERROR - tartup.impl.StartupManagerImpl - Vendor:
Sun Microsystems Inc.   ERROR -
tartup.impl.StartupManagerImpl - OS: Windows XP   ERROR -
tartup.impl.StartupManagerImpl - Last Action:

---
Original message URL:
http://www.jetbrains.net/devnet/message/5262627#5262627

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


Please sign in to leave a comment.