does external code formatter work in 8.0.1?

When I try to use the External Code Formatter plugin in 8.0.1 I get the following error on IDE startup.
Anyone know how to fix this?

com/intellij/psi/impl/source/codeStyle/CodeStyleManagerEx
java.lang.NoClassDefFoundError: com/intellij/psi/impl/source/codeStyle/CodeStyleManagerEx
at net.orfjackal.extformatter.plugin.ProjectSettingsComponent.(ProjectSettingsComponent.java:66)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
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:2)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:31)
at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:230)
at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:217)
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.a(ComponentManagerImpl.java:119)
at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:168)
at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:71)
at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:106)
at com.intellij.openapi.project.impl.ProjectImpl.init(ProjectImpl.java:73)
at com.intellij.openapi.project.impl.ProjectManagerImpl.a(ProjectManagerImpl.java:175)
at com.intellij.openapi.project.impl.ProjectManagerImpl.a(ProjectManagerImpl.java:192)
at com.intellij.openapi.project.impl.ProjectManagerImpl.access$200(ProjectManagerImpl.java:180)
at com.intellij.openapi.project.impl.ProjectManagerImpl$4.run(ProjectManagerImpl.java:1)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$3.run(ProgressManagerImpl.java:1)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:3)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$4.run(ProgressManagerImpl.java:1)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:5)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:13)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:101)
at com.intellij.openapi.application.impl.ApplicationImpl$7$1.run(ApplicationImpl.java:11)
at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:8)
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:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:2)
Caused by: java.lang.ClassNotFoundException: com.intellij.psi.impl.source.codeStyle.CodeStyleManagerEx
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 41 more



java.lang.ClassNotFoundException: com.intellij.psi.impl.source.codeStyle.CodeStyleManagerEx
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at net.orfjackal.extformatter.plugin.ProjectSettingsComponent.(ProjectSettingsComponent.java:66)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
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:2)
at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:31)
at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:230)
at com.intellij.util.pico.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:217)
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.a(ComponentManagerImpl.java:119)
at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:168)
at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:71)
at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:106)
at com.intellij.openapi.project.impl.ProjectImpl.init(ProjectImpl.java:73)
at com.intellij.openapi.project.impl.ProjectManagerImpl.a(ProjectManagerImpl.java:175)
at com.intellij.openapi.project.impl.ProjectManagerImpl.a(ProjectManagerImpl.java:192)
at com.intellij.openapi.project.impl.ProjectManagerImpl.access$200(ProjectManagerImpl.java:180)
at com.intellij.openapi.project.impl.ProjectManagerImpl$4.run(ProjectManagerImpl.java:1)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$3.run(ProgressManagerImpl.java:1)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:3)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$4.run(ProgressManagerImpl.java:1)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:5)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:13)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:101)
at com.intellij.openapi.application.impl.ApplicationImpl$7$1.run(ApplicationImpl.java:11)
at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:8)
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:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:2)
.

6 comments
Comment actions Permalink

It works only on IDEA 7. I haven't yet updated it for IDEA 8. I can have
a look at it later this week.


ha wrote on 27.1.2009 19:35:

When I try to use the External Code Formatter plugin in 8.0.1 I get the following error on IDE startup.
Anyone know how to fix this?

com/intellij/psi/impl/source/codeStyle/CodeStyleManagerEx
java.lang.NoClassDefFoundError: com/intellij/psi/impl/source/codeStyle/CodeStyleManagerEx
at net.orfjackal.extformatter.plugin.ProjectSettingsComponent.(ProjectSettingsComponent.java:66)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)


--
Esko Luontola
www.orfjackal.net

0
Comment actions Permalink

That would be fantastic.

I really need this so I can use IDEA without having to format all the code using eclipse - otherwise the rest of my team won't be happy!

I'll check back in a week or so and see if there's any update.

Thanks in advance.

0
Comment actions Permalink

Esko,

Did you get a chance to look at this yet?

It would be very useful to have this working.

Thanks!

0
Comment actions Permalink

ha wrote on 11.2.2009 13:28:

Did you get a chance to look at this yet?


Sorry, not yet. I'll try to get the time to have a look at it soon.

--
Esko Luontola
www.orfjackal.net

0
Comment actions Permalink

The plugin is now compatible with IDEA 8.

--
Esko Luontola
www.orfjackal.net

0
Comment actions Permalink

That's done the trick - thanks!

0

Please sign in to leave a comment.