Bug 48516 - Incremental Compilation Bug
Summary: Incremental Compilation Bug
Status: RESOLVED WORKSFORME
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.1.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Jim Hugunin CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-11 13:19 EST by Ron Bodkin CLA
Modified: 2004-01-14 11:41 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 Ron Bodkin CLA 2003-12-11 13:19:53 EST
I encountered this stack trace when using incremental compilation in Eclipse. 
I can't repeatably reproduce the bug.

Kind	Status	Priority	Description	Resource	In Folder
	Location
Error			Internal compiler error
java.lang.NullPointerException
	at org.aspectj.weaver.ResolvedTypeMunger.matches
(ResolvedTypeMunger.java:53)
	at org.aspectj.weaver.ConcreteTypeMunger.matches
(ConcreteTypeMunger.java:52)
	at 
org.aspectj.ajdt.internal.compiler.lookup.AjLookupEnvironment.weaveInterTypeDec
larations(AjLookupEnvironment.java:291)
	at 
org.aspectj.ajdt.internal.compiler.lookup.AjLookupEnvironment.weaveInterTypeDec
larations(AjLookupEnvironment.java:236)
	at 
org.aspectj.ajdt.internal.compiler.lookup.AjLookupEnvironment.doPendingWeaves
(AjLookupEnvironment.java:137)
	at 
org.aspectj.ajdt.internal.compiler.lookup.AjLookupEnvironment.completeTypeBindi
ngs(AjLookupEnvironment.java:106)
	at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile
(Compiler.java:310)
	at org.eclipse.jdt.internal.compiler.Compiler.compile
(Compiler.java:324)
	at 
org.aspectj.ajdt.internal.core.builder.AjBuildManager.performCompilation
(AjBuildManager.java:373)
	at org.aspectj.ajdt.internal.core.builder.AjBuildManager.doBuild
(AjBuildManager.java:138)
	at 
org.aspectj.ajdt.internal.core.builder.AjBuildManager.incrementalBuild
(AjBuildManager.java:77)
	at org.aspectj.ajde.internal.CompilerAdapter.compile
(CompilerAdapter.java:103)
	at org.aspectj.ajde.internal.AspectJBuildManager$CompilerThread.run
(AspectJBuildManager.java:165)
	TestNamingException.java
	LinuxWorldAfter/test/src/org/sample/banking/model
Comment 1 Ron Bodkin CLA 2003-12-11 13:20:50 EST
I had just added a new library to the Java build path in Eclipse and the 
compiler also complained about not being able to see a type in the library.
Comment 2 Jim Hugunin CLA 2004-01-14 11:41:53 EST
Reopen if you come up with simple instructions to reproduce this bug reliably.