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

Bug 354602

Summary: JBoss 7 temporary deployment directory not cleared and workbench crash
Product: [Eclipse Project] Platform Reporter: r.lopinski
Component: IDEAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: critical    
Priority: P3 CC: r.lopinski, remy.suen
Version: 3.7Keywords: usability
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description r.lopinski CLA 2011-08-12 07:06:22 EDT
Build Identifier: 20110615-0604

Deploying to JBoss 7 Server creates temporary files in 
.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_7.0_Localhost/tempDeploy
This directory is not cleaned if Eclipse is started with -clean option. The result is an fast increasing disk usage. 
It seems that an unclean shutdown left some corrupted data in that directory, which resulted in a crash, when trying to restart eclipse.

Root exception:
org.eclipse.core.internal.resources.ResourceException(null)[567]: java.io.UTFDataFormatException: malformed input around byte 13
        at java.io.DataInputStream.readUTF(DataInputStream.java:656)

Deleting all contents of the mentioned directory solved the problem, while the "-clean" option did NOT. 





Reproducible: Always
Comment 1 Remy Suen CLA 2011-08-12 09:20:35 EDT
(In reply to comment #0)
> Deploying to JBoss 7 Server creates temporary files in 
> .metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_7.0_Localhost/tempDeploy
> This directory is not cleaned if Eclipse is started with -clean option.

The -clean option is not for cleaning out the stuff in the .metadata/ folder.

> It seems that an unclean shutdown left some corrupted data in that directory,
> which resulted in a crash, when trying to restart eclipse.

Please report this bug with the developers of the JBoss plug-in if seemingly corrupt data in the folder is preventing Eclipse from starting up.