Bug 15349 - JavaModelException out of Content assist
Summary: JavaModelException out of Content assist
Status: RESOLVED DUPLICATE of bug 15677
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 2.0 M6   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-06 14:35 EDT by Darin Swanson CLA
Modified: 2002-05-14 06:02 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Swanson CLA 2002-05-06 14:35:56 EDT
20020502

Found in log...sorry not sure how the error occurred.

!ENTRY org.eclipse.jdt.ui 4 1 Fri May 03 14:20:50 CDT 2002
!MESSAGE Internal Error
!STACK Java Model Exception: Java Model Status [LaunchView does not exist.]
	at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException
(JavaElement.java:478)
	at org.eclipse.jdt.internal.core.JavaElement.openHierarchy
(JavaElement.java:507)
	at org.eclipse.jdt.internal.core.JavaElement.getElementInfo
(JavaElement.java(Compiled Code))
	at org.eclipse.jdt.internal.core.SourceRefElement.getSourceRange
(SourceRefElement.java(Compiled Code))
	at 
org.eclipse.jdt.internal.ui.text.java.JavaTypeCompletionProposal.updateReplaceme
ntString(JavaTypeCompletionProposal.java:46)
	at 
org.eclipse.jdt.internal.ui.text.java.JavaTypeCompletionProposal.apply
(JavaTypeCompletionProposal.java:68)
	at 
org.eclipse.jface.text.contentassist.CompletionProposalPopup.insertProposal
(CompletionProposalPopup.java:174)
	at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$7
(CompletionProposalPopup.java:165)
	at org.eclipse.jface.text.contentassist.CompletionProposalPopup$1.run
(CompletionProposalPopup.java:85)
	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.jdt.internal.ui.javaeditor.CompilationUnitEditor$AdaptedSourceViewer
.doOperation(CompilationUnitEditor.java:214)
	at org.eclipse.ui.texteditor.TextOperationAction.run
(TextOperationAction.java:88)
	at org.eclipse.ui.texteditor.RetargetTextEditorAction.run
(RetargetTextEditorAction.java:103)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:590)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:407)
	at 
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent
(ActionContributionItem.java(Compiled Code))
	at 
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent
(ActionContributionItem.java(Compiled Code))
	at 
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent
(ActionContributionItem.java(Compiled Code))
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java
(Compiled Code))
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled 
Code))
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java
(Compiled Code))
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java
(Compiled Code))
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java
(Compiled Code))
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:866)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:733)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:349)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:162)
	at org.eclipse.core.launcher.Main.run(Main.java:588)
	at org.eclipse.core.launcher.Main.main(Main.java:437)
Comment 1 Erich Gamma CLA 2002-05-12 15:06:46 EDT
the simple fix is to ignore the exception and the corresponding proposal. 
However we should first understand under which condition this exception.

Asking JDT CORE for advise.
Comment 2 Philipe Mulet CLA 2002-05-13 12:34:37 EDT
Likely a duplicate of 15677
Comment 3 Jerome Lanneluc CLA 2002-05-14 06:02:45 EDT
Yes, this looks like a dup of bug 15677 which is now fixed.

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