Thursday, May 14, 2009

"Updating Work Item Data has encountered a problem"

If you get an error in Teamprise like "Updating Work Item Data has encountered a problem. Java.sql.SQLException: File input/output error: Unexpected Token:", just clean your local cache. It's probably some kind of synchronization issue with the local cache and TFS server.

On XP the Teamprise local cache data are stored under C:\Documents and Settings\%USERNAME%\Local Settings\Application Data\Teamprise\2.0. For this error you just need to delete the ./db directory. You will have to close Eclipse or Teamprise before doing so.

1 comment:

Unknown said...

Mac,

I'd be curious if this is something that you see often or a rare event.

If you get it again I'd appreciate a copy of your logs and the cache directory before you clear it out.

Also, if you remember if anthing interesting happened just before the cache got messed up (such as an Eclipse / machine crash or something that might have prevented the plug-in from finishing writing out the cache to disk)

Many thanks,

Martin.