Bug 104160 - ClassCastException during build
Summary: ClassCastException during build
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: 1.5.0RC1   Edit
Assignee: Andrew Clement CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-17 15:56 EDT by Michael Moser CLA
Modified: 2005-11-07 09:54 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Moser CLA 2005-07-17 15:56:29 EDT
I very frequently get the following when doing a build:

!ENTRY org.eclipse.ajdt.ui 4 0 2005-07-17 13:06:37.606
!MESSAGE ClassCastException thrown: null
!STACK 0
java.lang.ClassCastException
	at 
org.aspectj.ajdt.internal.compiler.lookup.AjLookupEnvironment.completeTypeBindin
gs(AjLookupEnvironment.java(Compiled Code))
	at org.aspectj.org.eclipse.jdt.internal.compiler.Compiler.beginToCompile
(Compiler.java:302)
	at org.aspectj.org.eclipse.jdt.internal.compiler.Compiler.compile
(Compiler.java:316)
	at 
org.aspectj.ajdt.internal.core.builder.AjBuildManager.performCompilation
(AjBuildManager.java:727)
	at org.aspectj.ajdt.internal.core.builder.AjBuildManager.doBuild
(AjBuildManager.java:229)
	at 
org.aspectj.ajdt.internal.core.builder.AjBuildManager.incrementalBuild
(AjBuildManager.java:147)
	at org.aspectj.ajde.internal.CompilerAdapter.compile
(CompilerAdapter.java:116)
	at org.aspectj.ajde.internal.AspectJBuildManager$CompilerThread.run
(AspectJBuildManager.java:191)

Versions are:
Eclipse 3.1

Eclipse AspectJ Development Tools
Version: 1.2.1
Build id: 20050708145019
AspectJ version: 1.5.0M2

Michael
Comment 1 Matt Chapman CLA 2005-07-18 07:18:54 EDT
Passing over to compiler
Comment 2 Adrian Colyer CLA 2005-10-28 08:36:55 EDT
for checking...
Comment 3 Andrew Clement CLA 2005-11-02 08:12:44 EST
Michael - are you still seeing this problem?  Is it occurring with the same
stack trace?
Comment 4 Andrew Clement CLA 2005-11-07 06:18:36 EST
I'm closing this, I've fixed a lot of similar cases to this over the 3months
since the AspectJ build against which it was raised, hopefully I nailed this one
in the process.  If you see it again Michael, please reopen :)
Comment 5 Michael Moser CLA 2005-11-07 09:54:59 EST
Fine with me! I thought I had responded and reported that I haven't seen these 
anymore since a long time, i.e. the bug appears to be indeed fixed!

Thanks!

Michael