Aug 09 16
On some of my Eclipse workspaces to Galileo update failed in the SVN department (Subversive). Activating anything remotely related to Team/SVN features triggered an error. The workspace log contained:
!MESSAGE An error occurred while automatically activating bundle org.eclipse.team.svn.core (512). !STACK 0 org.osgi.framework.BundleException: Exception in org.eclipse.team.svn.core.SVNTeamPlugin.start() of bundle org.eclipse.team.svn.core. at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:805) ... Caused by: java.io.StreamCorruptedException: invalid type code: 00 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1356) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at org.eclipse.team.svn.core.svnstorage.AbstractSVNStorage.loadLocationsFromFile(AbstractSVNStorage.java:551)
I tried to start Eclipse with the -clean option – didn’t help. Then I updated the Subversive SVN plugin and all connectors – didn’t help.
What eventually did help was to remove all org.eclipse.team.* folders in the workspace’s .metadata\.plugins folder.
October 13th, 2009 at 1:53
Thank you, thank you, thank you! My XP VM shut down and caused this exact same problem on restart. This is the only place I’ve found this information, and it’s saved me a day re-downloading 2Gb of project over a VPN.