Bug 490306 - org.eclipse.dltk.core.ModelException: Test does not exist
Summary: org.eclipse.dltk.core.ModelException: Test does not exist
Status: NEW
Alias: None
Product: DLTK
Classification: Technology
Component: Tcl (show other bugs)
Version: 5.4   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: dltk.tcl-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-23 11:02 EDT by George Borisov CLA
Modified: 2016-03-23 11: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 George Borisov CLA 2016-03-23 11:02:24 EDT
---
!ENTRY org.eclipse.dltk.tcl.ui 4 0 2016-03-23 14:56:11.743
!MESSAGE Test does not exist
!STACK 1
org.eclipse.dltk.core.ModelException: Test does not exist
	at org.eclipse.dltk.internal.core.ModelElement.newNotPresentException(ModelElement.java:270)
	at org.eclipse.dltk.internal.core.ModelManager.getPerProjectInfoCheckExistence(ModelManager.java:940)
	at org.eclipse.dltk.internal.core.ScriptProject.getPerProjectInfo(ScriptProject.java:545)
	at org.eclipse.dltk.internal.core.ScriptProject.getRawBuildpath(ScriptProject.java:1272)
	at org.eclipse.dltk.launching.ScriptRuntime.getInterpreterInstall(ScriptRuntime.java:403)
	at org.eclipse.dltk.tcl.internal.ui.documentation.TclManPagesDocumentationProvider.selectSource(TclManPagesDocumentationProvider.java:91)
	at org.eclipse.dltk.tcl.internal.ui.documentation.TclManPagesDocumentationProvider.describeKeyword(TclManPagesDocumentationProvider.java:114)
	at org.eclipse.dltk.ui.documentation.ScriptDocumentationAccess$5.getInfo(ScriptDocumentationAccess.java:265)
	at org.eclipse.dltk.ui.documentation.ScriptDocumentationAccess.merge(ScriptDocumentationAccess.java:88)
	at org.eclipse.dltk.ui.documentation.ScriptDocumentationAccess.getKeywordDocumentation(ScriptDocumentationAccess.java:260)
	at org.eclipse.dltk.internal.ui.text.hover.DocumentationHover.getHoverInfo(DocumentationHover.java:569)
	at org.eclipse.dltk.internal.ui.text.hover.AbstractScriptEditorTextHover.getHoverInfo(AbstractScriptEditorTextHover.java:147)
	at org.eclipse.dltk.internal.ui.text.hover.BestMatchHover.getHoverInfo(BestMatchHover.java:113)
	at org.eclipse.dltk.internal.ui.text.hover.EditorTextHoverProxy.getHoverInfo(EditorTextHoverProxy.java:78)
	at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:168)
!SUBENTRY 1 org.eclipse.dltk.core 4 969 2016-03-23 14:56:11.745
!MESSAGE Test does not exist
---

Steps to reproduce:

1. Install DLTK's TCL packages

2. Create a new project of type "Project". Set the name to "Test" and keep everything else on defaults.

3. Create a file "foo.tcl" in this project with content:
```
when FOO {
}
```

4. Hover mouse over the "when" keyword.

Linked incident ID: 56f16845e4b047ed1d50735e