Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 18244

Summary: Code assist for alternate runtime JRE
Product: [Eclipse Project] JDT Reporter: Darin Wright <darin.eclipse>
Component: DebugAssignee: Darin Wright <darin.eclipse>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Darin Wright CLA 2002-05-29 17:03:59 EDT
Problem when code assising in context of runtime JRE when different that 
workspace/build JRE.

See bug# 17348. Using that test case, when I do code assist for

"this.k", I get the following exception:

!ENTRY org.eclipse.jdt.debug.ui 4 150 May 29, 2002 16:10:43.228
!MESSAGE Internal Error
!STACK 1
Java Model Exception: Core Exception [code 969] HashMap$Entry.class does not 
exist.
	at org.eclipse.jdt.internal.core.ClassFile.getBinaryTypeInfo
(ClassFile.java:202)
	at org.eclipse.jdt.internal.core.ClassFile.generateInfos
(ClassFile.java:146)
	at org.eclipse.jdt.internal.core.Openable.buildStructure
(Openable.java:83)
	at org.eclipse.jdt.internal.core.Openable.openWhenClosed
(Openable.java:404)
	at org.eclipse.jdt.internal.core.JavaElement.openHierarchy
(JavaElement.java:523)
	at org.eclipse.jdt.internal.core.JavaElement.getElementInfo
(JavaElement.java:310)
	at org.eclipse.jdt.internal.core.Openable.getBuffer(Openable.java:197)
	at org.eclipse.jdt.internal.core.ClassFile.getSource(ClassFile.java:283)
	at org.eclipse.jdt.internal.core.BinaryType.codeComplete
(BinaryType.java:109)
	at 
org.eclipse.jdt.internal.debug.ui.display.DetailsCompletionProcessor.computeComp
letionProposals(DetailsCompletionProcessor.java:66)
	at 
org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals
(ContentAssistant.java:1205)
	at 
org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals
(CompletionProposalPopup.java:104)
	at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$3
(CompletionProposalPopup.java:103)
	at org.eclipse.jface.text.contentassist.CompletionProposalPopup$1.run
(CompletionProposalPopup.java:72)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:56)
	at 
org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals
(CompletionProposalPopup.java:67)
	at 
org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions
(ContentAssistant.java:1140)
	at org.eclipse.jface.text.source.SourceViewer.doOperation
(SourceViewer.java:371)
	at org.eclipse.debug.internal.ui.actions.TextViewerAction.run
(TextViewerAction.java:46)
	at 
org.eclipse.debug.internal.ui.views.variables.VariablesView$3.verifyKey
(VariablesView.java:359)
	at org.eclipse.swt.custom.StyledTextListener.handleEvent
(StyledTextListener.java:49)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:75)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:841)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:634)
	at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:4586)
	at org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.java:4333)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:75)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1527)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1289)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1085)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1068)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:739)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:432)
	at EclipseRuntimeLauncher.main(EclipseRuntimeLauncher.java:24)
!ENTRY org.eclipse.jdt.core 4 969 May 29, 2002 16:10:43.228
!MESSAGE HashMap$Entry.class does not exist.
Comment 1 Darin Wright CLA 2002-05-31 14:22:52 EDT

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