Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 294888

Summary: EOF in Validation Framework
Product: [WebTools] WTP Common Tools Reporter: Valentin Baciu <valentinbaciu>
Component: wst.validationAssignee: Wini Mark <wmmark>
Status: CLOSED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 CC: ccc, karasiuk, wmmark
Version: 3.1   
Target Milestone: 3.2 M4   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 284041, 294887    
Bug Blocks:    
Attachments:
Description Flags
Patch o fix the EOF in wtp 3.2 stream none

Description Valentin Baciu CLA 2009-11-11 11:31:23 EST
+++ This bug was initially created as a clone of Bug #294887 +++

+++ This bug was initially created as a clone of Bug #284041 +++

Build ID: WTP 3.0.2

Here is the exception:
java.io.EOFException 
at java.io.DataInputStream.readFully(Unknown Source) 
at java.io.DataInputStream.readUTF(Unknown Source) 
at java.io.DataInputStream.readUTF(Unknown Source) 
at org.eclipse.wst.validation.internal.DependencyIndex.init(Unknown Source) 

From time to time, we will see the exception in the .log file. It is a random
problem that not happens all the time. 

More information:
The validation framework builds the dependency index and writes to a file
called dep.index during workspace shutdown. While trying to bring up the
workspace, VF will read this file and it reaches the end of file unexpected.
Comment 1 Wini Mark CLA 2009-11-11 14:28:33 EST
Created attachment 151964 [details]
Patch o fix the EOF in wtp 3.2 stream
Comment 2 Gary Karasiuk CLA 2009-11-11 21:25:06 EST
released
Comment 3 Valentin Baciu CLA 2010-01-15 10:02:23 EST
Closing.