AspectJ Plugin weaver giving error

Hi ,

I downloaded the aspectj weaver plugin for idea 6.0, on trying to compile with AspectJ weaver plugin enable, it throws an exception. Any ideas how to get this resolved

Read access is allowed from event dispatch thread or inside read-action only (see com.intellij.openapi.application.Application.runReadAction())
Details: Current thread: Thread[Compile Thread,5,Idea Thread Group] 22722849
Our dispatch thread:Thread[AWT-EventQueue-1,6,Idea Thread Group] 14379036
SystemEventQueueThread: Thread[AWT-EventQueue-1,6,Idea Thread Group] 14379036

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:52)
at com.intellij.openapi.application.impl.ApplicationImpl.assertReadAccessAllowed(ApplicationImpl.java:311)
at com.intellij.openapi.module.impl.ModuleManagerImpl.getModules(ModuleManagerImpl.java:179)
at se.expertsystem.intellij.PluginUtils.isJava5(PluginUtils.java:181)
at se.expertsystem.intellij.aop.aspectj.AspectJWeaver.process(AspectJWeaver.java:84)
at com.intellij.compiler.impl.FileProcessingCompilerAdapter.process(FileProcessingCompilerAdapter.java:2)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:765)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:76)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:291)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:157)
at com.intellij.compiler.impl.CompileDriver.access$400(CompileDriver.java:771)
at com.intellij.compiler.impl.CompileDriver$4$1.run(CompileDriver.java:6)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:60)
at com.intellij.compiler.impl.CompileDriver$4.run(CompileDriver.java:1)

Thank you,

Shirish

Please sign in to leave a comment.