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

Spring JIRA | Oliver Gierke | 4 years ago
  1. 0

    {noformat} !ENTRY org.eclipse.jdt.ui 2 0 2013-05-29 17:23:44.249 !MESSAGE The 'Spring Annotation Proposal' proposal computer from the 'org.springframework.ide.eclipse.quickfix' plug-in did not complete normally. The extension has thrown a runtime exception. !STACK 0 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) {noformat}

    Spring JIRA | 4 years ago | Oliver Gierke
    java.lang.ClassCastException: org.eclipse.jdt.internal.core.InitializerElementInfo cannot be cast to org.eclipse.jdt.internal.core.AnnotatableInfo
  2. 0

    {noformat} !ENTRY org.eclipse.jdt.ui 2 0 2013-05-29 17:23:44.249 !MESSAGE The 'Spring Annotation Proposal' proposal computer from the 'org.springframework.ide.eclipse.quickfix' plug-in did not complete normally. The extension has thrown a runtime exception. !STACK 0 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) {noformat}

    Spring JIRA | 4 years ago | Oliver Gierke
    java.lang.ClassCastException: org.eclipse.jdt.internal.core.InitializerElementInfo cannot be cast to org.eclipse.jdt.internal.core.AnnotatableInfo
  3. 0

    {noformat} java.lang.ClassCastException: org.eclipse.jdt.internal.core.ImportDeclarationElementInfo 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$2.run(ContentAssistant.java:378) 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:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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) {noformat}

    SpringSource Issue Tracker | 4 years ago | Martin Lippert (c)
    java.lang.ClassCastException: org.eclipse.jdt.internal.core.ImportDeclarationElementInfo cannot be cast to org.eclipse.jdt.internal.core.AnnotatableInfo
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    {noformat} java.lang.ClassCastException: org.eclipse.jdt.internal.core.ImportDeclarationElementInfo 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$2.run(ContentAssistant.java:378) 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:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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) {noformat}

    SpringSource Issue Tracker | 4 years ago | Martin Lippert
    java.lang.ClassCastException: org.eclipse.jdt.internal.core.ImportDeclarationElementInfo cannot be cast to org.eclipse.jdt.internal.core.AnnotatableInfo
  6. 0

    Memcached Java客户端2.6.1发布 - 编程语言 - ITeye资讯

    iteye.com | 1 year ago
    java.lang.ClassCastException: cannot be cast to

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. JDT Core
      SourceRefElement.getAnnotations
      1. org.eclipse.jdt.internal.core.SourceRefElement.getAnnotations(SourceRefElement.java:114)
      1 frame
    3. org.springframework.ide
      AnnotationArgumentProposalComputer.computeCompletionProposals
      1. org.springframework.ide.eclipse.quickfix.jdt.computers.AnnotationArgumentProposalComputer.computeCompletionProposals(AnnotationArgumentProposalComputer.java:72)
      1 frame
    4. Java Development Tools UI
      ContentAssistProcessor.computeCompletionProposals
      1. org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:333)
      2. org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:340)
      3. org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:328)
      4. org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:284)
      4 frames
    5. JFace Text
      CompletionProposalPopup$2.run
      1. org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1839)
      2. org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:566)
      3. org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:563)
      4. org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:498)
      4 frames
    6. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    7. JFace Text
      ContentAssistant.showPossibleCompletions
      1. org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:492)
      2. org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1665)
      2 frames
    8. Java Development Tools UI
      CompilationUnitEditor$AdaptedSourceViewer.doOperation
      1. org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor$AdaptedSourceViewer.doOperation(CompilationUnitEditor.java:183)
      1 frame
    9. Text Editor Framework
      ContentAssistAction$1.run
      1. org.eclipse.ui.texteditor.ContentAssistAction$1.run(ContentAssistAction.java:82)
      1 frame
    10. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    11. Text Editor Framework
      ContentAssistAction.run
      1. org.eclipse.ui.texteditor.ContentAssistAction.run(ContentAssistAction.java:80)
      1 frame
    12. JFace
      Action.runWithEvent
      1. org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
      1 frame
    13. Workbench
      LegacyHandlerWrapper.execute
      1. org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
      2. org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
      2 frames
    14. Commands
      ParameterizedCommand.executeWithChecks
      1. org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
      2. org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
      2 frames
    15. Workbench
      WorkbenchKeyboard$KeyDownFilter.handleEvent
      1. org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
      2. org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)
      3. org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
      4. org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
      5. org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
      6. org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
      7. org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
      7 frames
    16. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Display.filterEvent(Display.java:1074)
      3. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4135)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1458)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481)
      6. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
      7. org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1495)
      8. org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1491)
      9. org.eclipse.swt.widgets.Canvas.sendKeyEvent(Canvas.java:497)
      10. org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1060)
      11. org.eclipse.swt.widgets.Display.windowProc(Display.java:5587)
      11 frames
    17. org.eclipse.swt
      NSResponder.interpretKeyEvents
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      2. org.eclipse.swt.internal.cocoa.NSResponder.interpretKeyEvents(NSResponder.java:68)
      2 frames
    18. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.Composite.keyDown(Composite.java:587)
      2. org.eclipse.swt.widgets.Display.windowProc(Display.java:5497)
      2 frames
    19. org.eclipse.swt
      OS.objc_msgSendSuper
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      1 frame
    20. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.Widget.callSuper(Widget.java:221)
      2. org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2102)
      3. org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2299)
      4. org.eclipse.swt.widgets.Display.windowProc(Display.java:5559)
      4 frames
    21. org.eclipse.swt
      OS.objc_msgSendSuper
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      1 frame
    22. RWT
      Display.applicationProc
      1. org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:5004)
      2. org.eclipse.swt.widgets.Display.applicationProc(Display.java:5153)
      2 frames
    23. org.eclipse.swt
      NSApplication.sendEvent
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      2. org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
      2 frames
    24. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3618)
      1 frame
    25. com.hello2morrow.sonar
      J$1$1.run
      1. com.hello2morrow.sonar.standalone.view.common.B.f.a(h205m:132)
      2. com.hello2morrow.sonar.standalone.view.common.base.J.C(h205m:1044)
      3. com.hello2morrow.sonar.standalone.view.common.base.J.B(h205m:778)
      4. com.hello2morrow.sonar.standalone.view.common.base.J$1$1.run(h205m:87)
      4 frames
    26. RWT
      Synchronizer.syncExec
      1. org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
      1 frame
    27. Eclipse UI
      UISynchronizer.syncExec
      1. org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
      1 frame
    28. RWT
      Display.syncExec
      1. org.eclipse.swt.widgets.Display.syncExec(Display.java:4607)
      1 frame
    29. com.hello2morrow.sonar
      J$1.A
      1. com.hello2morrow.sonar.standalone.view.common.base.J$1.b(h205m:702)
      2. com.hello2morrow.sonar.standalone.view.common.base.J$1.A(h205m:1104)
      2 frames
    30. com.hello2morrow.common
      D.D
      1. com.hello2morrow.common.A.H.A(h205m:1182)
      2. com.hello2morrow.common.A.J.C(h205m:2136)
      3. com.hello2morrow.common.A.J.H(h205m:2322)
      4. com.hello2morrow.common.A.D.D(h205m:2390)
      4 frames
    31. com.hello2morrow.sonar
      D.D
      1. com.hello2morrow.sonar.core.transactioniface.project.B.D.G(h205m:2993)
      2. com.hello2morrow.sonar.core.transactioniface.project.B.D.D(h205m:2975)
      2 frames
    32. com.hello2morrow.common
      AbstractProgressListener.start
      1. com.hello2morrow.common.progress.AbstractProgressListener.start(h205m:1068)
      2. com.hello2morrow.common.progress.AbstractProgressListener.start(h205m:2956)
      2 frames
    33. com.hello2morrow.sonar
      SonarclipseBuilder$_C.run
      1. com.hello2morrow.sonar.core.transaction.H.B._(h205m:2421)
      2. com.hello2morrow.sonar.core.transaction.H._.J(h205m:2157)
      3. com.hello2morrow.sonar.core.transaction.O.A.Д(h205m:1697)
      4. com.hello2morrow.sonar.core.transaction.O.X.Б(h205m:794)
      5. com.hello2morrow.sonar.eclipse.C.A.B.К(h205m:2477)
      6. com.hello2morrow.sonar.eclipse.E.F.a(h205m:2394)
      7. com.hello2morrow.sonar.core.B.F.U.Q(h205m:2112)
      8. com.hello2morrow.sonar.eclipse.view.SonarclipseBuilder$_C.run(h205m:558)
      8 frames
    34. Eclipse UI
      UISynchronizer$3.run
      1. org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:164)
      2. org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:158)
      2 frames
    35. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
      3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3946)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3623)
      4 frames
    36. Eclipse UI
      Workbench$7.run
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
      3. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
      4. org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
      4 frames
    37. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    38. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
      1 frame
    39. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    40. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
      1 frame
    41. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    42. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
      4 frames
    43. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:601)
      4 frames
    44. Equinox
      Main.run
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1438)
      3 frames