NPE in JavaRebelIdeaDebuggingPlugin

I'm evaluating Java Rebel (together with JBoss + IntelliJ) and I get the following exception from this plugin:

(StackFrameDescriptorImpl.java:85)
	at com.intellij.debugger.ui.FramesPanel$AppendFrameCommand.contextAction(FramesPanel.java:3)
	at com.intellij.debugger.engine.events.SuspendContextCommandImpl.action(SuspendContextCommandImpl.java:29)
	at com.intellij.debugger.engine.events.DebuggerCommandImpl.run(DebuggerCommandImpl.java:6)
	at com.intellij.debugger.engine.DebuggerManagerThreadImpl.processEvent(DebuggerManagerThreadImpl.java:75)
	at com.intellij.debugger.engine.DebuggerManagerThreadImpl.processEvent(DebuggerManagerThreadImpl.java:46)
	at com.intellij.debugger.impl.InvokeThread.run(InvokeThread.java:55)
	at com.intellij.debugger.impl.InvokeThread$1.run(InvokeThread.java:4)
	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: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:9)



java.lang.NullPointerException
	at com.zeroturnaround.javarebel.idea.plugin.JavaRebelPositionManager.getAllClasses(JavaRebelPositionManager.java:97)
	at com.intellij.debugger.engine.CompoundPositionManager.getAllClasses(CompoundPositionManager.java:25)
	at com.intellij.debugger.engine.PositionManagerImpl$MethodFinder.visitClass(PositionManagerImpl.java:1)
	at com.intellij.psi.impl.compiled.ClsClassImpl.accept(ClsClassImpl.java:95)
	at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:2)
	at com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:37)
	at com.intellij.psi.JavaElementVisitor.visitFile(JavaElementVisitor.java:140)
	at com.intellij.psi.JavaElementVisitor.visitJavaFile(JavaElementVisitor.java:348)
	at com.intellij.psi.impl.compiled.ClsFileImpl.accept(ClsFileImpl.java:102)
	at com.intellij.debugger.engine.PositionManagerImpl.a(PositionManagerImpl.java:77)
	at com.intellij.debugger.engine.PositionManagerImpl.getSourcePosition(PositionManagerImpl.java:82)
	at com.intellij.debugger.engine.CompoundPositionManager.getSourcePosition(CompoundPositionManager.java:21)
	at com.intellij.debugger.engine.ContextUtil.getSourcePosition(ContextUtil.java:5)
	at com.intellij.debugger.ui.impl.watch.StackFrameDescriptorImpl$1.run(StackFrameDescriptorImpl.java:6)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:300)
	at com.intellij.debugger.ui.impl.watch.StackFrameDescriptorImpl.(StackFrameDescriptorImpl.java:85)
	at com.intellij.debugger.ui.FramesPanel$AppendFrameCommand.contextAction(FramesPanel.java:3)
	at com.intellij.debugger.engine.events.SuspendContextCommandImpl.action(SuspendContextCommandImpl.java:29)
	at com.intellij.debugger.engine.events.DebuggerCommandImpl.run(DebuggerCommandImpl.java:6)
	at com.intellij.debugger.engine.DebuggerManagerThreadImpl.processEvent(DebuggerManagerThreadImpl.java:75)
	at com.intellij.debugger.engine.DebuggerManagerThreadImpl.processEvent(DebuggerManagerThreadImpl.java:46)
	at com.intellij.debugger.impl.InvokeThread.run(InvokeThread.java:55)
	at com.intellij.debugger.impl.InvokeThread$1.run(InvokeThread.java:4)
	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: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:9)



java.lang.NullPointerException
	at com.zeroturnaround.javarebel.idea.plugin.JavaRebelPositionManager.getAllClasses(JavaRebelPositionManager.java:97)
	at com.intellij.debugger.engine.CompoundPositionManager.getAllClasses(CompoundPositionManager.java:25)
	at com.intellij.debugger.engine.PositionManagerImpl$MethodFinder.visitClass(PositionManagerImpl.java:1)
	at com.intellij.psi.impl.compiled.ClsClassImpl.accept(ClsClassImpl.java:95)
	at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:2)
	at com.intellij.psi.PsiRecursiveElementVisitor.visitElement(PsiRecursiveElementVisitor.java:37)
	at com.intellij.psi.JavaElementVisitor.visitFile(JavaElementVisitor.java:140)
	at com.intellij.psi.JavaElementVisitor.visitJavaFile(JavaElementVisitor.java:348)
	at com.intellij.psi.impl.compiled.ClsFileImpl.accept(ClsFileImpl.java:102)
	at com.intellij.debugger.engine.PositionManagerImpl.a(PositionManagerImpl.java:77)
	at com.intellij.debugger.engine.PositionManagerImpl.getSourcePosition(PositionManagerImpl.java:82)
	at com.intellij.debugger.engine.CompoundPositionManager.getSourcePosition(CompoundPositionManager.java:21)
	at com.intellij.debugger.engine.ContextUtil.getSourcePosition(ContextUtil.java:5)
	at com.intellij.debugger.ui.impl.watch.StackFrameDescriptorImpl$1.run(StackFrameDescriptorImpl.java:6)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:300)
	at com.intellij.debugger.ui.impl.watch.StackFrameDescriptorImpl.(StackFrameDescriptorImpl.java:85)
	at com.intellij.debugger.ui.FramesPanel$AppendFrameCommand.contextAction(FramesPanel.java:3)
	at com.intellij.debugger.engine.events.SuspendContextCommandImpl.action(SuspendContextCommandImpl.java:29)
	at com.intellij.debugger.engine.events.DebuggerCommandImpl.run(DebuggerCommandImpl.java:6)
	at com.intellij.debugger.engine.DebuggerManagerThreadImpl.processEvent(DebuggerManagerThreadImpl.java:75)
	at com.intellij.debugger.engine.DebuggerManagerThreadImpl.processEvent(DebuggerManagerThreadImpl.java:46)
	at com.intellij.debugger.impl.InvokeThread.run(InvokeThread.java:55)
	at com.intellij.debugger.impl.InvokeThread$1.run(InvokeThread.java:4)
	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: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:9)
]]>




To the author: please let me know if you need more info.

2 comments

We have released a new version of the plugin. It is available through the IntelliJ Idea's File->Settings->Plugins interface or straight from the plugin website http://plugins.intellij.net/plugin/?id=1699

Can you verify that this solved your issue?

0

Yes, I haven't got that exception all day today so I think the problem is solved.
Thank you.

0

Please sign in to leave a comment.