Bug 293461 - Unhandled exception: ResolvedType.getAnnotations() should never be called
Summary: Unhandled exception: ResolvedType.getAnnotations() should never be called
Status: CLOSED DUPLICATE of bug 293351
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.6.7   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-27 11:34 EDT by Matthew Adams CLA
Modified: 2009-10-27 12:20 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 Matthew Adams CLA 2009-10-27 11:34:51 EDT
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
Build Identifier: Eclipse AspectJ Development Tools, Version: 2.0.0.e35x-20090624-1600, AspectJ version: 1.6.5.20090618034232

java.lang.RuntimeException
at org.aspectj.weaver.ResolvedType.getAnnotations(ResolvedType.java:734)
at org.aspectj.weaver.AbstractAnnotationAJ.retrieveAnnotationOnAnnotation(AbstractAnnotationAJ.java:123)
at org.aspectj.weaver.AbstractAnnotationAJ.ensureAtTargetInitialized(AbstractAnnotationAJ.java:85)
at org.aspectj.weaver.AbstractAnnotationAJ.specifiesTarget(AbstractAnnotationAJ.java:115)
at org.aspectj.weaver.bcel.BcelWeaver.verifyTa ... .eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Compile error: RuntimeException thrown: ResolvedType.getAnnotations() should never be called

Reproducible: Sometimes

Steps to Reproduce:
?
Comment 1 Andrew Clement CLA 2009-10-27 12:20:44 EDT
dup of one I just happened to close earlier this morning.  However although I have addressed the NPE, I don't know if the cantFindType you will now see instead is more accurate. let me know if it isn't.

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