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

Not Serializable Exception on shutdown with new SyncInfo cache

From: Brock Janiczak <brockj_at_tpg.com.au>
Date: 2005-07-09 01:37:13 CEST

The accessor field should probably be transient. It doesn't seem to be
causing any trouble though. (a serialVersionUID should lso be defined
for SynchronizerSyncInfoCache)

btw, it is great to see so much progress on the sync support!

java.io.NotSerializableException:
org.tigris.subversion.subclipse.core.status.SynchronizerSyncInfoCache$SyncInfoSynchronizedAccessor
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
    at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)
    at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)
    at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
    at
org.tigris.subversion.subclipse.core.status.StatusCacheManager.saveStatusCache(StatusCacheManager.java:109)
    at
org.tigris.subversion.subclipse.core.status.StatusCacheManager.shutdown(StatusCacheManager.java:99)
    at
org.tigris.subversion.subclipse.core.SVNProviderPlugin.stop(SVNProviderPlugin.java:173)
    at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$3.run(BundleContextImpl.java:1035)
    at java.security.AccessController.doPrivileged(Native Method)
    at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1031)
    at
org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:402)
    at
org.eclipse.osgi.framework.internal.core.AbstractBundle.stop(AbstractBundle.java:410)
    at
org.eclipse.core.runtime.internal.adaptor.BundleStopper.basicStopBundles(BundleStopper.java:83)
    at
org.eclipse.core.runtime.internal.adaptor.BundleStopper.stopBundles(BundleStopper.java:73)
    at
org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkStopping(EclipseAdaptor.java:757)
    at
org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:528)
    at
org.eclipse.osgi.framework.internal.core.SystemBundle$1.run(SystemBundle.java:171)
    at java.lang.Thread.run(Thread.java:595)
Received on Sat Jul 9 09:37:13 2005

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