Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 105169 - Exception processing async
Summary: Exception processing async
Status: RESOLVED DUPLICATE of bug 119860
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-26 11:33 EDT by Brahmanandam Somanchi CLA
Modified: 2006-04-04 16:42 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brahmanandam Somanchi CLA 2005-07-26 11:33:45 EDT
I have implemented a drag and drop functionality from a JFace viewer to GEF 
editor. When I run this code in the debug mode, I am getting the following 
exception. 

"Exception processing async thread queue".

The following is the contents of the log file. 

!ENTRY org.eclipse.jdt.debug 4 120 2005-07-26 11:06:00.325
!MESSAGE Exception processing async thread queue
!SUBENTRY 1 org.eclipse.jdt.debug 4 120 2005-07-26 11:06:00.325
!MESSAGE Exception processing async thread queue
!STACK 0
java.lang.NullPointerException
	at 
org.eclipse.jdt.internal.debug.eval.ast.engine.ASTInstructionCompiler.containsA
LocalType(ASTInstructionCompiler.java:376)
	at 
org.eclipse.jdt.internal.debug.eval.ast.engine.ASTInstructionCompiler.visit
(ASTInstructionCompiler.java:2670)
	at org.eclipse.jdt.core.dom.MethodInvocation.accept0
(MethodInvocation.java:236)
	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450)
	at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2497)
	at org.eclipse.jdt.core.dom.ReturnStatement.accept0
(ReturnStatement.java:135)
	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450)
	at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2520)
	at org.eclipse.jdt.core.dom.Block.accept0(Block.java:135)
	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450)
	at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2497)
	at org.eclipse.jdt.core.dom.MethodDeclaration.accept0
(MethodDeclaration.java:501)
	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450)
	at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2520)
	at org.eclipse.jdt.core.dom.TypeDeclaration.accept0
(TypeDeclaration.java:483)
	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450)
	at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2520)
	at org.eclipse.jdt.core.dom.CompilationUnit.accept0
(CompilationUnit.java:299)
	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450)
	at 
org.eclipse.jdt.internal.debug.eval.ast.engine.ASTEvaluationEngine.createExpres
sionFromAST(ASTEvaluationEngine.java:289)
	at 
org.eclipse.jdt.internal.debug.eval.ast.engine.ASTEvaluationEngine.getCompiledE
xpression(ASTEvaluationEngine.java:169)
	at 
org.eclipse.jdt.internal.debug.eval.ast.engine.ASTEvaluationEngine.evaluate
(ASTEvaluationEngine.java:78)
	at 
org.eclipse.jdt.internal.debug.ui.JavaWatchExpressionDelegate$EvaluationRunnabl
e.run(JavaWatchExpressionDelegate.java:144)
	at org.eclipse.jdt.internal.debug.core.model.JDIThread$ThreadJob.run
(JDIThread.java:2446)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
!SUBENTRY 1 org.eclipse.jdt.debug 4 120 2005-07-26 11:06:00.325
!MESSAGE Exception processing async thread queue
!STACK 0
java.lang.NullPointerException
	at 
org.eclipse.jdt.internal.debug.eval.ast.engine.ASTInstructionCompiler.containsA
LocalType(ASTInstructionCompiler.java:376)
	at 
org.eclipse.jdt.internal.debug.eval.ast.engine.ASTInstructionCompiler.visit
(ASTInstructionCompiler.java:2670)
	at org.eclipse.jdt.core.dom.MethodInvocation.accept0
(MethodInvocation.java:236)
	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450)
	at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2497)
	at org.eclipse.jdt.core.dom.ReturnStatement.accept0
(ReturnStatement.java:135)
	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450)
	at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2520)
	at org.eclipse.jdt.core.dom.Block.accept0(Block.java:135)
	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450)
	at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2497)
	at org.eclipse.jdt.core.dom.MethodDeclaration.accept0
(MethodDeclaration.java:501)
	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450)
	at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2520)
	at org.eclipse.jdt.core.dom.TypeDeclaration.accept0
(TypeDeclaration.java:483)
	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450)
	at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2520)
	at org.eclipse.jdt.core.dom.CompilationUnit.accept0
(CompilationUnit.java:299)
	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450)
	at 
org.eclipse.jdt.internal.debug.eval.ast.engine.ASTEvaluationEngine.createExpres
sionFromAST(ASTEvaluationEngine.java:289)
	at 
org.eclipse.jdt.internal.debug.eval.ast.engine.ASTEvaluationEngine.getCompiledE
xpression(ASTEvaluationEngine.java:169)
	at 
org.eclipse.jdt.internal.debug.eval.ast.engine.ASTEvaluationEngine.evaluate
(ASTEvaluationEngine.java:78)
	at 
org.eclipse.jdt.internal.debug.ui.JavaWatchExpressionDelegate$EvaluationRunnabl
e.run(JavaWatchExpressionDelegate.java:144)
	at org.eclipse.jdt.internal.debug.core.model.JDIThread$ThreadJob.run
(JDIThread.java:2446)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
!SUBENTRY 1 org.eclipse.jdt.debug 4 120 2005-07-26 11:06:00.325
!MESSAGE Exception processing async thread queue
!STACK 0
java.lang.NullPointerException
	at 
org.eclipse.jdt.internal.debug.eval.ast.engine.ASTInstructionCompiler.containsA
LocalType(ASTInstructionCompiler.java:376)
	at 
org.eclipse.jdt.internal.debug.eval.ast.engine.ASTInstructionCompiler.visit
(ASTInstructionCompiler.java:2670)
	at org.eclipse.jdt.core.dom.MethodInvocation.accept0
(MethodInvocation.java:236)
	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450)
	at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2497)
	at org.eclipse.jdt.core.dom.ReturnStatement.accept0
(ReturnStatement.java:135)
	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450)
	at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2520)
	at org.eclipse.jdt.core.dom.Block.accept0(Block.java:135)
	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450)
	at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2497)
	at org.eclipse.jdt.core.dom.MethodDeclaration.accept0
(MethodDeclaration.java:501)
	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450)
	at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2520)
	at org.eclipse.jdt.core.dom.TypeDeclaration.accept0
(TypeDeclaration.java:483)
	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450)
	at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2520)
	at org.eclipse.jdt.core.dom.CompilationUnit.accept0
(CompilationUnit.java:299)
	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450)
	at 
org.eclipse.jdt.internal.debug.eval.ast.engine.ASTEvaluationEngine.createExpres
sionFromAST(ASTEvaluationEngine.java:289)
	at 
org.eclipse.jdt.internal.debug.eval.ast.engine.ASTEvaluationEngine.getCompiledE
xpression(ASTEvaluationEngine.java:169)
	at 
org.eclipse.jdt.internal.debug.eval.ast.engine.ASTEvaluationEngine.evaluate
(ASTEvaluationEngine.java:78)
	at 
org.eclipse.jdt.internal.debug.ui.JavaWatchExpressionDelegate$EvaluationRunnabl
e.run(JavaWatchExpressionDelegate.java:144)
	at org.eclipse.jdt.internal.debug.core.model.JDIThread$ThreadJob.run
(JDIThread.java:2446)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Comment 1 Darin Wright CLA 2005-07-26 11:39:26 EDT
What is your watch expression? (trace shows a watch expression causes the 
exception).
Comment 2 Brahmanandam Somanchi CLA 2005-07-26 11:44:59 EDT
I have lot of watch expressions. I do not know which one is causing the 
problem. I don't see this problem anymore once I removed all the watch 
expressions.

 
Comment 3 Luc Bourlier CLA 2005-07-26 16:41:16 EDT
What build of Eclipse are you using ? I fixed similar problem in April (bug
88752). It may be the same problem.
Comment 4 Brahmanandam Somanchi CLA 2005-07-26 16:43:59 EDT
I am using Eclipse 3.1

Comment 5 Simon Meaden CLA 2005-12-01 03:34:07 EST
Yes I am getting the same problem and it occurs whenever I am using a watch expression on a variable that is out of scope. The message window tells me that the  watch is pointing to a NullPointer I think.

Exception processing async thread queue
java.lang.NullPointerException

I am using 3.1.1
Comment 6 Simon Meaden CLA 2005-12-01 03:37:06 EST
Yes I am getting the same problem and it occurs whenever I am using a watch expression on a variable that is out of scope. The message window tells me that the  watch is pointing to a NullPointer I think.

Exception processing async thread queue
java.lang.NullPointerException

I am using 3.1.1
Comment 7 Darin Wright CLA 2005-12-01 10:14:56 EST
Simon, can you provide a simple example that reproduces the problem? 
Comment 8 Simon Meaden CLA 2005-12-01 13:04:59 EST
(In reply to comment #7)
> Simon, can you provide a simple example that reproduces the problem? 
> 
Not at the moment. I tried to do a cut down version of my class but it wont play. I am writing a Jazzy enabled version of the StyledText component. I can send you my code but it needs the Jazzy code as well. Mind I can send you that as well as I am obviously using it.
Comment 9 Simon Meaden CLA 2005-12-17 03:58:02 EST
I have been looking at this and I can't get the problem to occur with a small application. It happens quite often when I am debugging larger applications but never when I am trying to create a small application to demonstrate it. Of course this could be the programming gods having their little joke. Sorry about that.

Simon Meaden
Comment 10 Simon Meaden CLA 2005-12-17 03:59:20 EST
I just noted that the OS is flagged as Win XP. I should note that I amusing Fedora Linux with 3.1.1.

Simon Meaden
Comment 11 Darin Wright CLA 2006-03-30 16:05:49 EST
Do you see this error in 3.2? We need a test case in order to make progress.
Comment 12 Darin Wright CLA 2006-04-04 16:42:10 EDT
Bug 119860  has a test case.

*** This bug has been marked as a duplicate of 119860 ***