java.lang.ArrayIndexOutOfBoundsException: -1

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Eclipse Bugzilla by aclement, 1 year ago
java.lang.ArrayIndexOutOfBoundsException: -1
at org.aspectj.org.eclipse.jdt.internal.compiler.parser.RecoveryScanner.getNextToken(RecoveryScanner.java:143)
at org.aspectj.org.eclipse.jdt.internal.compiler.parser.TheOriginalJDTParserClass.parse(TheOriginalJDTParserClass.java:7359)
at org.aspectj.org.eclipse.jdt.internal.compiler.parser.TheOriginalJDTParserClass.parseStatements(TheOriginalJDTParserClass.java:7897)
at org.aspectj.org.eclipse.jdt.internal.compiler.parser.TheOriginalJDTParserClass$1$MethodVisitor.endVisitMethod(TheOriginalJDTParserClass.java:8161)
at org.aspectj.org.eclipse.jdt.internal.compiler.parser.TheOriginalJDTParserClass$1$MethodVisitor.endVisit(TheOriginalJDTParserClass.java:8147)
at org.aspectj.org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.traverse(MethodDeclaration.java:247)
at org.aspectj.org.eclipse.jdt.internal.compiler.parser.TheOriginalJDTParserClass.recoverStatements(TheOriginalJDTParserClass.java:8253)
at org.aspectj.org.eclipse.jdt.internal.compiler.parser.TheOriginalJDTParserClass.parse(TheOriginalJDTParserClass.java:7461)
at org.aspectj.org.eclipse.jdt.internal.compiler.parser.TheOriginalJDTParserClass.parse(TheOriginalJDTParserClass.java:7738)
at org.aspectj.org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.parseStatements(MethodDeclaration.java:124)
at org.aspectj.org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.parseMethod(TypeDeclaration.java:825)
at org.eclipse.ajdt.core.parserbridge.AJSourceElementParser.parseCompilationUnit(AJSourceElementParser.java:1643)
at org.eclipse.ajdt.internal.ui.editor.CompilationUnitAnnotationModelWrapper.beginReporting(CompilationUnitAnnotationModelWrapper.java:216)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.reportProblems(ReconcileWorkingCopyOperation.java:129)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:104)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:709)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:770)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:124)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:108)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:87)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:149)
at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.