I've recently upgraded to SVNkit 1.7.8, and I'm getting this error when I 
commit:

java.lang.ClassCastException: org.tmatesoft.svn.core.wc.SVNCommitPacket cannot 
be cast to 
org.tmatesoft.svn.core.internal.wc2.compat.SvnCodec$SVNCommitPacketWrapper
        at 
org.tmatesoft.svn.core.wc.SVNCommitClient.doCommit(SVNCommitClient.java:851)
        at 
org.tmatesoft.svn.core.wc.SVNCommitClient.doCommit(SVNCommitClient.java:759)
        at 
org.tmatesoft.svn.core.wc.SVNCommitClient.doCommit(SVNCommitClient.java:716)

Here's my code that invokes SVNCommitClient.doCommit():

   SVNCommitInfo commitInfo
      = svnCommitClient.doCommit
          (commitPacket,
           false,  // keepLocks
           commitComment);

While poking around, trying to figure out how to solve this problem, I've 
noticed that there seems to be a parallel between org.tmatesoft.svn.core.wc and 
org.tmatesoft.svn.core.wc2. That is, the first package has something called an 
"SVNCommitClient", while the second package has something called an 
"SvnCommit". Should I be migrating my code from the "wc" stuff to the "wc2" 
stuff, or am I barking up the wrong tree?

Thanks for any help,

    Andy

Andy Cohen
Principal Software Engineer
Product Development
Innovative Interfaces, Inc.
5850 Shellmound Way
Emeryville, CA 94608

[letter-t]  510-655-6200 Ext 4221
[letter-e]  aco...@iii.com

[INNOIcon]<http://www.iii.com/>     [TwritterIcon] 
<https://twitter.com/iii_Innovative>      [FacebookIcon] 
<https://www.facebook.com/InnovativeInterfaces>

<<inline: image001.jpg>>

<<inline: image002.jpg>>

<<inline: image003.jpg>>

<<inline: image004.jpg>>

<<inline: image005.jpg>>

Reply via email to