Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355606 - Constant Assist does not work when run it in a checkout project's file
Summary: Constant Assist does not work when run it in a checkout project's file
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Tony Chen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-24 03:19 EDT by Yu Hao CLA
Modified: 2017-02-23 14:19 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yu Hao CLA 2011-08-24 03:19:43 EDT
Build Identifier: Version: 3.7.0 Build id: I20110613-1736

Reproduce step:
1. Check out project org.eclipse.edt.eck.test from kan-cvs-save.ottawa.ibm.com
2. Open EGLSource.fvt.delegates.TestDelegate01Lib.egl
3. define a new variable such as temp them call the Constant Assist, there will show No Default Proposals

In the Eclipse console view you will find the errors as below:

!MESSAGE NLS missing message: WizardNewProjectCreationPage_directoryLabel in: org.eclipse.edt.ide.ui.internal.wizards.NewWizardMessages
Exception in thread "org.eclipse.edt.ide.ui.internal.editor.ProblemReconciler" org.eclipse.edt.compiler.internal.core.builder.BuildException: Error initializing ProjectBuildPath:SourceLocations
	at org.eclipse.edt.ide.core.internal.lookup.AbstractProjectBuildPath.getSourceLocations(AbstractProjectBuildPath.java:119)
	at org.eclipse.edt.ide.core.internal.lookup.workingcopy.WorkingCopyProjectInfo.getSourceLocations(WorkingCopyProjectInfo.java:136)
	at org.eclipse.edt.ide.core.internal.lookup.AbstractProjectInfo.initializeProjectInfo(AbstractProjectInfo.java:196)
	at org.eclipse.edt.ide.core.internal.lookup.AbstractProjectInfo.initialize(AbstractProjectInfo.java:186)
	at org.eclipse.edt.ide.core.internal.lookup.AbstractProjectInfo.<init>(AbstractProjectInfo.java:182)
	at org.eclipse.edt.ide.core.internal.lookup.workingcopy.WorkingCopyProjectInfo.<init>(WorkingCopyProjectInfo.java:49)
	at org.eclipse.edt.ide.core.internal.lookup.workingcopy.WorkingCopyProjectInfoManager.getProjectInfo(WorkingCopyProjectInfoManager.java:39)
	at org.eclipse.edt.ide.core.internal.compiler.workingcopy.WorkingCopyCompiler.addWorkingCopy(WorkingCopyCompiler.java:430)
	at org.eclipse.edt.ide.core.internal.compiler.workingcopy.WorkingCopyCompiler.processWorkingCopies(WorkingCopyCompiler.java:385)
	at org.eclipse.edt.ide.core.internal.compiler.workingcopy.WorkingCopyCompiler.compileAllParts(WorkingCopyCompiler.java:200)
	at org.eclipse.edt.ide.ui.internal.editor.ProblemReconciler$EGLReconcilingStrategy.reconcile(ProblemReconciler.java:304)
	at org.eclipse.edt.ide.ui.internal.editor.ProblemReconciler$BackgroundThread.run(ProblemReconciler.java:126)
Caused by: EGL Model Exception: EGL Model Status [org.eclipse.edt.eck.test does not exist.]
	at org.eclipse.edt.ide.core.internal.model.EGLElement.newNotPresentException(EGLElement.java:439)
	at org.eclipse.edt.ide.core.internal.model.EGLModelManager.getPerProjectInfoCheckExistence(EGLModelManager.java:890)
	at org.eclipse.edt.ide.core.internal.model.EGLProject.getResolvedEGLPath(EGLProject.java:1404)
	at org.eclipse.edt.ide.core.internal.model.EGLProject.getResolvedEGLPath(EGLProject.java:1393)
	at org.eclipse.edt.ide.core.internal.model.EGLProject.generateInfos(EGLProject.java:818)
	at org.eclipse.edt.ide.core.internal.model.Openable.buildStructure(Openable.java:72)
	at org.eclipse.edt.ide.core.internal.model.Openable.openWhenClosed(Openable.java:356)
	at org.eclipse.edt.ide.core.internal.model.EGLProject.openWhenClosed(EGLProject.java:1836)
	at org.eclipse.edt.ide.core.internal.model.EGLElement.openHierarchy(EGLElement.java:448)
	at org.eclipse.edt.ide.core.internal.model.EGLElement.getElementInfo(EGLElement.java:248)
	at org.eclipse.edt.ide.core.internal.model.EGLElement.getChildren(EGLElement.java:198)
	at org.eclipse.edt.ide.core.internal.model.EGLProject.getPackageFragmentRoots(EGLProject.java:1265)
	at org.eclipse.edt.ide.core.internal.lookup.AbstractProjectBuildPath.getSourceLocations(AbstractProjectBuildPath.java:106)
	... 11 more


Reproducible: Always

Steps to Reproduce:
1. Check out project org.eclipse.edt.eck.test from kan-cvs-save.ottawa.ibm.com
2. Open EGLSource.fvt.delegates.TestDelegate01Lib.egl
3. define a new variable such as temp them call the Constant Assist, there will show No Default Proposals
Comment 1 Tony Chen CLA 2011-09-14 06:01:01 EDT
Is this still a problem?
Comment 2 Yu Hao CLA 2011-09-15 02:36:21 EDT
Verified this issue with install version EDT, the issue is still there.
Comment 3 Tony Chen CLA 2011-09-18 23:36:25 EDT
The project is not an EGL project, or probably damaged. It is displayed as Java project when I checkout it. 

Please use context menu "Config->Convert to EGL Project" to convert it to EGL project and try again. 

I also have to correct a missing Java source folder error and a Java build path error before I can compiler the project.
Comment 4 Yu Hao CLA 2011-09-30 01:41:10 EDT
verified