[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-dev] Revision graph status and plan

From: Mark Phippard <markphip_at_gmail.com>
Date: Thu, 28 Aug 2008 13:18:35 -0400

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

This is an archived mail posted to the Subclipse Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.