java.lang.IllegalArgumentException

String length must be a multiple of four.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web16868

  • via GitHub by daowang
    , 6 months ago
    String length must be a multiple of four.
  • String length must be a multiple of four.
  • String length must be a multiple of four.
  • Stack trace

    • java.lang.IllegalArgumentException: String length must be a multiple of four. at org.tmatesoft.svn.core.internal.util.SVNBase64.base64ToByteArray(SVNBase64.java:142) at org.tmatesoft.svn.core.internal.util.SVNBase64.base64ToByteArray(SVNBase64.java:90) at org.tmatesoft.svn.core.internal.io.dav.handlers.DAVEditorHandler.endElement(DAVEditorHandler.java:280) at org.tmatesoft.svn.core.internal.io.dav.handlers.BasicDAVHandler.endElement(BasicDAVHandler.java:66) at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1712) at org.apache.crimson.parser.Parser2.content(Parser2.java:1963) at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691) at org.apache.crimson.parser.Parser2.content(Parser2.java:1963) at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667) at org.apache.crimson.parser.Parser2.parse(Parser2.java:337) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448) at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) at org.tmatesoft.svn.core.internal.io.dav.DefaultHTTPConnection.readResponse(DefaultHTTPConnection.java:418) at org.tmatesoft.svn.core.internal.io.dav.DefaultHTTPConnection.request(DefaultHTTPConnection.java:194) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doReport(DAVConnection.java:218) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.update(DAVRepository.java:519) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:145) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:263) at bjs.SvnTest.checkoutRevision_fromSourceUrl_toWorkingDir_includeSubdirs(SvnTest.java:231) at bjs.SvnTest.checkoutRevision_ofTag_toWorkingDir_includeSubdirs(SvnTest.java:220) at bjs.SvnTest.checkoutHeadRevisionOfTag_toWorkingDir_includeSubdirs(SvnTest.java:215) at bjs.SvnTest.main(SvnTest.java:53)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.