Community
Participate
Working Groups
Had the following Exception: org.eclipse.swt.SWTException: java.lang.ArrayIndexOutOfBoundsException: 4 at org.eclipse.jdt.core.Signature.createTypeSignature(Signature.java (Compiled Code)) at org.eclipse.jdt.internal.core.SourceFieldElementInfo.getTypeSignature (SourceFieldElementInfo.java:53) at org.eclipse.jdt.internal.core.SourceField.getTypeSignature (SourceField.java:48) at org.eclipse.jdt.internal.ui.viewsupport.JavaElementLabels.getFieldLabel (JavaElementLabels.java:379) I guess the problem is that createTypeSignature switch clause misses 'break' statements for some choices.
Was able to reproduce on a simpler example: public class X { void foo(){ System.out.println( new Runnable(){ <CODE ASSIST HERE> } ); } } Then select method 'run()' and insert it, the walkback occurs right after it in the UI (suspecting it triggers automatically another code assist at this point, which is the one crashing us).
Ignore my previous comment it was related to 5618.
Fixed