JBoss plugin exception


Jboss 4.0.3sp1 on XP SP2.


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

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:51)
at
com.intellij.openapi.application.impl.ApplicationImpl.assertReadAccessAllowed(ApplicationImpl.java:210)
at
com.intellij.openapi.module.impl.ModuleManagerImpl.getModules(ModuleManagerImpl.java:27)
at
com.intellij.debugger.engine.JSR45PositionManager.(JSR45PositionManager.java:66) at com.fuhrer.idea.plugin.jboss.b.]]>(b.java:1)
at com.fuhrer.idea.plugin.jboss.em.a(em.java:28)
at com.fuhrer.idea.plugin.jboss.a.processAttached(a.java:2)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.intellij.util.EventDispatcher.a(EventDispatcher.java:37)
at com.intellij.util.EventDispatcher.a(EventDispatcher.java:30)
at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:44)
at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:3)
at $Proxy34.processAttached(Unknown Source)
at
com.intellij.debugger.engine.DebugProcessEvents.f(DebugProcessEvents.java:142)
at
com.intellij.debugger.engine.DebugProcessEvents.commitVM(DebugProcessEvents.java:49)
at
com.intellij.debugger.engine.DebugProcessImpl$10$2$1.action(DebugProcessImpl.java)
at
com.intellij.debugger.engine.events.DebuggerCommandImpl.run(DebuggerCommandImpl.java:10)
at
com.intellij.debugger.engine.DebuggerManagerThreadImpl.processEvent(DebuggerManagerThreadImpl.java:44)
at
com.intellij.debugger.engine.DebuggerManagerThreadImpl.processEvent(DebuggerManagerThreadImpl.java:63)
at com.intellij.debugger.impl.InvokeThread.run(InvokeThread.java:33)
at com.intellij.debugger.impl.InvokeThread$1.run(InvokeThread.java)



Attachment(s):
moz-screenshot.jpg
1 comment

Norris,

I think you should blame IDEA for that. It's IDEA's debugger engine
which is initiating the call chain and it's IDEA's JSR45 position
manager which is calling getModules(). And in between I'm doing more or
less the same as the weblogic plugin.

- Martin

Norris Shelton wrote:


Jboss 4.0.3sp1 on XP SP2.


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

java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:51)
at
com.intellij.openapi.application.impl.ApplicationImpl.assertReadAccessAllowed(ApplicationImpl.java:210)
at
com.intellij.openapi.module.impl.ModuleManagerImpl.getModules(ModuleManagerImpl.java:27)
at
com.intellij.debugger.engine.JSR45PositionManager.<init>(JSR45PositionManager.java:66)
at com.fuhrer.idea.plugin.jboss.b.<init>(b.java:1)
at com.fuhrer.idea.plugin.jboss.em.a(em.java:28)
at com.fuhrer.idea.plugin.jboss.a.processAttached(a.java:2)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.intellij.util.EventDispatcher.a(EventDispatcher.java:37)
at com.intellij.util.EventDispatcher.a(EventDispatcher.java:30)
at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:44)
at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:3)
at $Proxy34.processAttached(Unknown Source)
at
com.intellij.debugger.engine.DebugProcessEvents.f(DebugProcessEvents.java:142)
at
com.intellij.debugger.engine.DebugProcessEvents.commitVM(DebugProcessEvents.java:49)
at
com.intellij.debugger.engine.DebugProcessImpl$10$2$1.action(DebugProcessImpl.java)
at
com.intellij.debugger.engine.events.DebuggerCommandImpl.run(DebuggerCommandImpl.java:10)
at
com.intellij.debugger.engine.DebuggerManagerThreadImpl.processEvent(DebuggerManagerThreadImpl.java:44)
at
com.intellij.debugger.engine.DebuggerManagerThreadImpl.processEvent(DebuggerManagerThreadImpl.java:63)
at com.intellij.debugger.impl.InvokeThread.run(InvokeThread.java:33)
at com.intellij.debugger.impl.InvokeThread$1.run(InvokeThread.java)


--
Martin Fuhrer
Fuhrer Engineering AG
http://www.fuhrer.com

0

Please sign in to leave a comment.