Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324135 - ArrayIndexOutOfBoundsException at AjState.java:1767
Summary: ArrayIndexOutOfBoundsException at AjState.java:1767
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: 1.6.10   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-31 16:50 EDT by Jesse Englert CLA
Modified: 2010-08-31 20:29 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 Jesse Englert CLA 2010-08-31 16:50:55 EDT
Build Identifier: 20100617-1415

Using AspectJ version: 1.6.10.20100817163700

I hit the blow exception after saving a edited java file.

java.lang.ArrayIndexOutOfBoundsException
at org.aspectj.ajdt.internal.core.builder.AjState.hasStructuralChanges(AjState.java:1767)
at org.aspectj.ajdt.internal.core.builder.AjState.recordClassFile(AjState.java:1510)
at org.aspectj.ajdt.internal.core.builder.AjState.noteResult(AjState.java:1322)
at org.aspectj.ajdt.internal.core.builder.AjBuildManager$3.acceptResult(AjBuildManager.java:1049)
at org.aspectj.ajdt.internal.compiler.AjPipeli ... b.run(AutoBuildJob.java:242)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Compile error: ArrayIndexOutOfBoundsException thrown: 14

Reproducible: Didn't try
Comment 1 Andrew Clement CLA 2010-08-31 20:29:57 EDT
Fix committed. Can happen on an incremental build when determining whether the set of inner types for a file has changed from one build to the next (adding a new inner class is likely the trigger).

AJDT will pick up the fix next time I drop an AJ build into it.