Summary: | Error starting JDT Core due to IAE: Path for project must have only one segment. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Nick Edgar <n.a.edgar> | ||||
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | blocker | ||||||
Priority: | P3 | ||||||
Version: | 3.1 | ||||||
Target Milestone: | 3.1.1 | ||||||
Hardware: | PC | ||||||
OS: | Windows 2000 | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Nick Edgar
2005-09-08 10:33:42 EDT
Can you please attach your <workspace>\.metadata\.plugins\org.eclipse.jdt.core\variablesAndContainers.dat file to this bug ? Created attachment 26956 [details]
variablesAndContainers.dat file
See also bug 109058. I was able to get the workspace up by deleting the variablesAndContainers.dat file. Not sure what impact that has though. (In reply to comment #4) > I was able to get the workspace up by deleting the variablesAndContainers.dat > file. Not sure what impact that has though. > The only impact would be a slower startup the first time. variablesAndContainers.dat is just a cache of the values of the previous session. If missing, these would be computed on startup. First investigation shows that these file was corrupted (or not written entirely). I'll try to find out why and add some protection so that a corrupted file is treated as missing. Bytes from poistion 2049 to 2157 were replaced with 0 (zero). Looking at the code that write these bytes, I don't see anything wrong. What VM and JCL are you using ? Could it be a bug in this VM+JCL ? (In reply to comment #6) > Bytes from poistion 2049 to 2157 were replaced with 0 (zero). > I meant bytes from position 2048 to 2157 (inclusive) were replaced with 0 (zero). I'm using the Sun 1.4.2_01 VM, which has been very stable for me for a long time. +1 for adding fault-tolerance in this area for 3.1.1 Added protection in JavaModelManager#loadVariablesAndContainers() so that RuntimeExceptions thrown while reading the file are caught and logged, but they are not rethrown. JDT Core can now start ok in the presence of a corrupt variablesAndContainers.dat file. This is released in both HEAD and R3_1_maintenance branch. Verified for 3.1.1 using M20050923-1430 by checking the code. |