Bug 28150 - ClassCastException in completion
Summary: ClassCastException in completion
Status: RESOLVED DUPLICATE of bug 27941
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P2 major (vote)
Target Milestone: 2.1 M4   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-12 02:07 EST by Konstantin Scheglov CLA
Modified: 2002-12-12 05:08 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Scheglov CLA 2002-12-12 02:07:27 EST
Eclipse 200212031315, but I saw same also for latest integration.
java.lang.ClassCastException
at org.eclipse.jdt.internal.codeassist.complete.CompletionParser.consumeBinaryExpression(CompletionParser.java:872)
at org.eclipse.jdt.internal.compiler.parser.Parser.consumeRule(Parser.java:3515)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:6852)
at org.eclipse.jdt.internal.codeassist.impl.AssistParser.parseBlockStatements(AssistParser.java:879)
at org.eclipse.jdt.internal.codeassist.impl.AssistParser.parseBlockStatements(AssistParser.java:793)
at org.eclipse.jdt.internal.codeassist.impl.Engine.parseMethod(Engine.java:166)
at org.eclipse.jdt.internal.codeassist.impl.Engine.parseMethod(Engine.java:135)
at org.eclipse.jdt.internal.codeassist.CompletionEngine.complete(CompletionEngine.java:839)
at org.eclipse.jdt.internal.core.Openable.codeComplete(Openable.java:124)
at org.eclipse.jdt.internal.core.CompilationUnit.codeComplete(CompilationUnit.java:104)
at org.eclipse.jdt.internal.ui.text.java.JavaCompletionProcessor.internalComputeCompletionProposals(JavaCompletionProcessor.java:321)
at org.eclipse.jdt.internal.ui.text.java.JavaCompletionProcessor.computeCompletionProposals(JavaCompletionProcessor.java:300)
at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1279)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:178)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$7(CompletionProposalPopup.java:177)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup$3.run(CompletionProposalPopup.java:139)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:65)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:134)
at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1199)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor$AdaptedSourceViewer.doOperation(CompilationUnitEditor.java:238)
at org.eclipse.ui.texteditor.ContentAssistAction$1.run(ContentAssistAction.java:84)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:65)
at org.eclipse.ui.texteditor.ContentAssistAction.run(ContentAssistAction.java:82)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:769)
at org.eclipse.ui.internal.WWinKeyBindingService.invoke(WWinKeyBindingService.java:139)
at org.eclipse.ui.internal.WWinKeyBindingService.pressed(WWinKeyBindingService.java:120)
at org.eclipse.ui.internal.WWinKeyBindingService$6.widgetSelected(WWinKeyBindingService.java:376)
at org.eclipse.ui.internal.AcceleratorMenu$2.handleEvent(AcceleratorMenu.java:55)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1692)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1410)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1405)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1388)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:841)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
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:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
at org.eclipse.core.launcher.Main.run(Main.java:703)
at org.eclipse.core.launcher.Main.main(Main.java:539)
Comment 1 David Audel CLA 2002-12-12 05:08:17 EST

*** This bug has been marked as a duplicate of 27941 ***