PMD Plugin "Action already registered" exception

The PMD plugin (v1.4.3) appears to have a problem when opening up multiple
projects at the same time. When I opened up the 2nd project in IDEA (build
7718), I got the following exception:

action with the ID "PMDAll" was already registered. Action being registered
is com.intellij.plugins.bodhi.pmd.actions.PreDefinedMenuGroup$1@78c47c;
Registered action is
com.intellij.plugins.bodhi.pmd.actions.PreDefinedMenuGroup$1@78c47c
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:48)
at
com.intellij.openapi.actionSystem.impl.ActionManagerImpl.a(ActionManagerImpl.java:298)
at
com.intellij.openapi.actionSystem.impl.ActionManagerImpl.registerAction(ActionManagerImpl.java:425)
at
com.intellij.openapi.actionSystem.impl.ActionManagerImpl.registerAction(ActionManagerImpl.java:508)
at
com.intellij.plugins.bodhi.pmd.PMDProjectComponent.initComponent(PMDProjectComponent.java:76)
at
com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:65)
at
com.intellij.openapi.components.impl.ComponentManagerImpl.access$1100(ComponentManagerImpl.java:84)
at
com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:9)
at
com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:7)
at
com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:199)
at
com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:186)
at
com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:168)
at
org.picocontainer.alternatives.AbstractDelegatingMutablePicoContainer.getComponentInstance(AbstractDelegatingMutablePicoContainer.java:75)
at
com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:51)
at
com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:126)
at
com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:47)
at
com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:121)
at com.intellij.openapi.project.impl.ProjectImpl.init(ProjectImpl.java:20)
at
com.intellij.openapi.components.impl.stores.ProjectStoreImpl.loadProject(ProjectStoreImpl.java:48)
at
com.intellij.openapi.project.impl.ProjectManagerImpl.a(ProjectManagerImpl.java:167)
at
com.intellij.openapi.project.impl.ProjectManagerImpl.access$200(ProjectManagerImpl.java:214)
at
com.intellij.openapi.project.impl.ProjectManagerImpl$4.run(ProjectManagerImpl.java:12)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:12)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:90)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:8)
at
com.intellij.openapi.application.impl.ApplicationImpl$7$1.run(ApplicationImpl.java:13)
at
com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:3)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
at
com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:2)


Please sign in to leave a comment.