Path must include project and resource name: /<applicatio

Posted by rbf on 29-Oct-2009 10:04

All of a sudden I am consistently getting the following error when starting up my project:

An internal error occurred during: "Initializing OpenEdge tooling".

Path must include project and resource name: /desk.

I have no idea which Path is meant here.

Surely my PROPATH contains the project directory.

Any ideas?

All Replies

Posted by sgabbeta on 29-Oct-2009 10:38

Hello Peter,

Are you running this on 10.2A02?

There is a bug (OE00180772) in 10.2A02 where you get this error when the project root folder is added in the source tab of the PROPATH. Due to this the error will be encountered.

This bug is fixed in 10.2B.

Thanks

Sharath

Posted by rbf on 29-Oct-2009 10:40

Hi Sharath,

No I am using 10.2A01 and the source tab does not contain anything.

-peter

Posted by sgabbeta on 03-Nov-2009 09:20

Hi Peter,

Can you tell the entries that are present in your PROPATH and also the stack trace that you observed in the log file?

Thanks

Regards

Sharath

Posted by rbf on 03-Nov-2009 10:10

Sure (D:\projects\desk is the project root directory):

xml version="1.0" encoding="UTF-8"?>

propath.xsd">

env="all" kind="dir" path="D:\projects\rcode\desk"/>

env="all" kind="dir" path="D:\projects\desk"/>

env="all" kind="dir" path="D:\projects\desk\images"/>

env="all" kind="dir" path="D:\projects\desk\tools"/>

env="all" kind="dir" path="O:\IBISappl\ibis\_patch"/>

env="all" kind="lib" path="O:\IBISappl\ibis\_pl\ibis.pl"/>

env="all" kind="dir" path="O:\IBISappl\ibis"/>

env="all" kind="dir" path="O:\IBISappl\ibis\images"/>

env="all" kind="dir" path="O:\IBISappl\IBISonline\_patch"/>

env="all" kind="lib" path="O:\IBISappl\IBISonline\_pl\ibis.pl"/>

env="all" kind="lib" path="O:\IBISappl\IBISonline\_pl\ibis-consistentie.pl"/>

env="all" kind="lib" path="O:\IBISappl\IBISonline\_pl\ibis-ibis.pl"/>

env="all" kind="dir" path="O:\IBISappl\IBISonline"/>

env="all" kind="dir" path="O:\IBISappl\IBISonline\src"/>

env="all" kind="dir" path="O:\IBISappl\IBISonline\oldt"/>

env="all" kind="dir" path="O:\IBISappl\IBISonline\oldt\src"/>

env="all" kind="dir" path="O:\IBISappl\IBISonline\oldt\gui"/>

env="all" kind="dir" path="O:\IBISappl\IBISonline\_pl\wrx"/>

env="all" kind="dir" path="O:\IBISappl\IBISonline\dlc90b"/>

env="all" kind="dir" path="O:\IBISappl\IBISonline\dlc90b\src"/>

env="all" kind="dir" path="O:\Tools\Progress"/>

env="all" kind="dir" path="D:\projects"/>

env="gui" kind="con" path="com.openedge.pdt.text.GUI_LIBRARIES"/>

env="tty" kind="con" path="com.openedge.pdt.text.TTY_LIBRARIES"/>

env="all" kind="con" path="com.openedge.pdt.text.DLC_PATHS"/>

env="web" kind="con" path="com.openedge.pdt.text.WEB_LIBRARIES"/>

!SESSION 2009-11-03 08:32:56.009 -----------------------------------------------
eclipse.buildId=I20080617-2000
java.version=1.5.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=nl_NL
Framework arguments:  -showlocation
Command-line arguments:  -os win32 -ws win32 -arch x86 -showlocation -clean -clean

!ENTRY org.eclipse.core.jobs 4 2 2009-11-03 08:35:04.745
!MESSAGE An internal error occurred during: "Initializing OpenEdge tooling".
!STACK 0
java.lang.IllegalArgumentException: Path must include project and resource name: /desk
at org.eclipse.core.runtime.Assert.isLegal(Assert.java:64)
at org.eclipse.core.internal.resources.Workspace.newResource(Workspace.java:1628)
at org.eclipse.core.internal.resources.Container.getFolder(Container.java:137)
at com.openedge.pdt.text.codeinfo.reader.CodeReaderUtil.findResource(CodeReaderUtil.java:94)
at com.openedge.pdt.text.codeinfo.reader.CodeReaderUtil.createLibraryInfo(CodeReaderUtil.java:57)
at com.openedge.pdt.text.codeinfo.CodeModelManager.buildLibraryInfo(CodeModelManager.java:307)
at com.openedge.pdt.text.codeinfo.CodeModelManager.buildTOCforProject(CodeModelManager.java:269)
at com.openedge.pdt.text.codeinfo.CodeModelManager.buildCodeModel(CodeModelManager.java:234)
at com.openedge.pdt.text.codeinfo.CodeModelManager.access$700(CodeModelManager.java:119)
at com.openedge.pdt.text.codeinfo.CodeModelManager$CodeModelBuildJob.run(CodeModelManager.java:630)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

(The above error repeats many times in the log file and occurs for example on startup and project Clean).

Posted by dlauzon on 04-Nov-2009 13:55

I've seen a similar bug.  The workaround consisted of opening other projects in the workspace and refreshing them (right-clik --> refresh or F5) to scan for file changes.  After that, I close and open the problematic project and everything is ok.

Posted by Shelley Chase on 05-Nov-2009 09:12

Please report these to tech support so we can look into the cause and get any additional information needed. Thanks.

-Shelley

Posted by rbf on 05-Nov-2009 09:23

W911020030

This thread is closed