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, 2 years 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), 2 years 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.eclipse.jdt.internal.core.SourceRefElement.getAnnotations(SourceRefElement.java:114)	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.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:284)	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$2.run(CompletionProposalPopup.java:498)	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)	at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:492)	at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1665)	at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor$AdaptedSourceViewer.doOperation(CompilationUnitEditor.java:183)	at org.eclipse.ui.texteditor.ContentAssistAction$1.run(ContentAssistAction.java:82)	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)	at org.eclipse.ui.texteditor.ContentAssistAction.run(ContentAssistAction.java:80)	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)	at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)	at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)	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.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)	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.widgets.Display.windowProc(Display.java:5587)	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.widgets.Display.windowProc(Display.java:5497)	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.widgets.Display.windowProc(Display.java:5559)	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.widgets.Display.applicationProc(Display.java:5153)	at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)	at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3618)	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 org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)	at org.eclipse.swt.widgets.Display.syncExec(Display.java:4607)	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.ui.internal.UISynchronizer$3.run(UISynchronizer.java:158)	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.swt.widgets.Display.readAndDispatch(Display.java:3623)	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.ui.internal.Workbench$7.run(Workbench.java:679)	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)	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 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)	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)	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)