java.lang.ClassCastException: org.eclipse.jdt.internal.core.InitializerElementInfo cannot be cast to org.eclipse.jdt.internal.core.AnnotatableInfo

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 Spring JIRA by Oliver Gierke, 1 year ago
org.eclipse.jdt.internal.core.InitializerElementInfo cannot be cast to org.eclipse.jdt.internal.core.AnnotatableInfo
via Spring JIRA by Oliver Gierke, 1 year ago
org.eclipse.jdt.internal.core.InitializerElementInfo cannot be cast to org.eclipse.jdt.internal.core.AnnotatableInfo
via SpringSource Issue Tracker by Martin Lippert, 1 year ago
org.eclipse.jdt.internal.core.ImportDeclarationElementInfo cannot be cast to org.eclipse.jdt.internal.core.AnnotatableInfo
via SpringSource Issue Tracker by Martin Lippert (c), 1 year ago
org.eclipse.jdt.internal.core.ImportDeclarationElementInfo cannot be cast to org.eclipse.jdt.internal.core.AnnotatableInfo
java.lang.ClassCastException: org.eclipse.jdt.internal.core.InitializerElementInfo cannot be cast to org.eclipse.jdt.internal.core.AnnotatableInfo
at org.springframework.ide.eclipse.quickfix.jdt.computers.AnnotationArgumentProposalComputer.computeCompletionProposals(AnnotationArgumentProposalComputer.java:72)
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:333)
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:340)
at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:328)
at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1839)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:566)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:563)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:492)
at org.eclipse.ui.texteditor.ContentAssistAction.run(ContentAssistAction.java:80)
at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1074)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4135)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1458)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1495)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1491)
at org.eclipse.swt.widgets.Canvas.sendKeyEvent(Canvas.java:497)
at org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1060)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at org.eclipse.swt.internal.cocoa.NSResponder.interpretKeyEvents(NSResponder.java:68)
at org.eclipse.swt.widgets.Composite.keyDown(Composite.java:587)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:221)
at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2102)
at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2299)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:5004)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
at com.hello2morrow.sonar.standalone.view.common.B.f.a(h205m:132)
at com.hello2morrow.sonar.standalone.view.common.base.J.C(h205m:1044)
at com.hello2morrow.sonar.standalone.view.common.base.J.B(h205m:778)
at com.hello2morrow.sonar.standalone.view.common.base.J$1$1.run(h205m:87)
at com.hello2morrow.sonar.standalone.view.common.base.J$1.b(h205m:702)
at com.hello2morrow.sonar.standalone.view.common.base.J$1.A(h205m:1104)
at com.hello2morrow.common.A.H.A(h205m:1182)
at com.hello2morrow.common.A.J.C(h205m:2136)
at com.hello2morrow.common.A.J.H(h205m:2322)
at com.hello2morrow.common.A.D.D(h205m:2390)
at com.hello2morrow.sonar.core.transactioniface.project.B.D.G(h205m:2993)
at com.hello2morrow.sonar.core.transactioniface.project.B.D.D(h205m:2975)
at com.hello2morrow.common.progress.AbstractProgressListener.start(h205m:1068)
at com.hello2morrow.common.progress.AbstractProgressListener.start(h205m:2956)
at com.hello2morrow.sonar.core.transaction.H.B._(h205m:2421)
at com.hello2morrow.sonar.core.transaction.H._.J(h205m:2157)
at com.hello2morrow.sonar.core.transaction.O.A.Д(h205m:1697)
at com.hello2morrow.sonar.core.transaction.O.X.Б(h205m:794)
at com.hello2morrow.sonar.eclipse.C.A.B.К(h205m:2477)
at com.hello2morrow.sonar.eclipse.E.F.a(h205m:2394)
at com.hello2morrow.sonar.core.B.F.U.Q(h205m:2112)
at com.hello2morrow.sonar.eclipse.view.SonarclipseBuilder$_C.run(h205m:558)
at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:164)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3946)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)

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.