Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse - Problems saving workspace

Tags:

eclipse

Periodically (during autosave) and at close i get:

Problems saving workspace

(X) Problems occurred while trying to save the state of the workbench.

Details >>
  Could not write metadata for '/projectname'. 
  encoded string too long: 123456 bytes

Can't find a reason or solution for this using the usual means. Any ideas how to fix? THis is using eclipse 3.4 (Ganymede)

like image 517
Scott Evernden Avatar asked Dec 19 '08 15:12

Scott Evernden


2 Answers

It should relate to a bug in DataOuputStream that it cannot writeUTF with longer then 65535 utflen.

If I were you, I will try to find a way to reduce the data size, and I will submit bug report to Eclipse and JRE.

like image 62
Dennis C Avatar answered Oct 10 '22 10:10

Dennis C


Started having the same issues under Vista x64. The latest JRE appears to not have the same DataOuputStream limitation so installing it fixes the annoyance.

like image 20
dmkc Avatar answered Oct 10 '22 09:10

dmkc