So yesterday I killed my Eclipse session because it was going to take
so long to build the cache of revision information. If I try it again
today, this error shows up:
org.tigris.subversion.sublicpse.graph.cache.CacheException: Error
while reading log messages from file
at org.tigris.subversion.sublicpse.graph.cache.Cache.readNext(Cache.java:299)
at org.tigris.subversion.sublicpse.graph.cache.Cache.readNext(Cache.java:191)
at org.tigris.subversion.sublicpse.graph.cache.Cache.findRootNode(Cache.java:210)
at org.tigris.subversion.subclipse.graph.editors.GraphBackgroundTask.updateView(GraphBackgroundTask.java:114)
at org.tigris.subversion.subclipse.graph.editors.GraphBackgroundTask.execute(GraphBackgroundTask.java:85)
at org.tigris.subversion.subclipse.ui.operations.SVNOperation.run(SVNOperation.java:89)
at org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:144)
at org.eclipse.team.internal.ui.actions.JobRunnableContext$ResourceJob.runInWorkspace(JobRunnableContext.java:72)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.io.UTFDataFormatException: malformed input around byte 719
at java.io.DataInputStream.readUTF(DataInputStream.java:604)
at java.io.RandomAccessFile.readUTF(RandomAccessFile.java:875)
at org.tigris.subversion.sublicpse.graph.cache.Cache.readNext(Cache.java:263)
... 9 more
The problem itself is not really unexpected given I killed Eclipse.
The problem is that the error is handled poorly. Nothing in the UI
let me know an error even happened. We have mechanisms you can use to
throw exceptions so that an error dialog comes up and it is recorded
in the Eclipse .log. We should be using those.
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: dev-help_at_subclipse.tigris.org
Received on 2008-08-28 19:18:47 CEST