java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.<init>(I[B)V

Jenkins JIRA | nlgu5kq4x6yl | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I have a simple junit test using SSHLauncher to run on a slave node attached via SSH: public void testSshNode() throws Exception{ String hostname = "localhost"; String username = System.getProperty("user.name"); SSHLauncher launcher = new SSHLauncher( /*host=*/hostname, /*port=*/22, /*username=*/username, /*password=*/"", /*privatekey=*/System.getProperty("user.home")+"/.ssh/arti-key", /*jvmOptions=*/""); DumbSlave node = new DumbSlave( /*name=*/hostname, /*nodeDescription=*/"created by job-executor", /*remoteFS=*/"/nobackup/"+username+"/arti/slaves/"+InetAddress.getLocalHost().getCanonicalHostName(), /*numExecutors=*/"4", // TODO We should not hardcode numExecutors here. /*mode=*/Node.Mode.NORMAL, /*labelString=*/hostname, /*launcher=*/launcher, /*retentionStrategy=*/RetentionStrategy.NOOP, /*nodeProperties=*/Collections.EMPTY_LIST); hudson.addNode(node); FreeStyleProject job = hudson.createProject(FreeStyleProject.class,"testjob"); DescribableList<Builder,Descriptor<Builder>> builders = job.getBuildersList(); builders.clear(); builders.add(new Shell("date >>/tmp/testSshNode.out")); job.setAssignedNode(node); job.scheduleBuild(new UserCause()); waitUntilNoActivity(); assertTrue(true); } It fails with this stacktrace: SEVERE: I/O error in channel localhost java.io.IOException: Unexpected termination of the channel at hudson.remoting.Channel$ReaderThread.run(Channel.java:953) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2554) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.Channel$ReaderThread.run(Channel.java:947) Jan 10, 2011 1:21:26 PM hudson.PluginWrapper stop INFO: Stopping cvs Jan 10, 2011 1:21:26 PM hudson.PluginWrapper stop INFO: Stopping maven-plugin Exception in thread "Channel reader thread: localhost" java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.<init>(I[B)V at org.apache.commons.codec.binary.Base64OutputStream.<init>(Base64OutputStream.java:97) at hudson.console.ConsoleNote.encodeToBytes(ConsoleNote.java:178) at hudson.console.ConsoleNote.encodeTo(ConsoleNote.java:156) at hudson.util.StreamTaskListener.annotate(StreamTaskListener.java:157) at hudson.util.StreamTaskListener._error(StreamTaskListener.java:132) at hudson.util.StreamTaskListener.error(StreamTaskListener.java:141) at hudson.plugins.sshslaves.SSHLauncher.afterDisconnect(SSHLauncher.java:599) at hudson.slaves.SlaveComputer$2.onClosed(SlaveComputer.java:305) at hudson.remoting.Channel.terminate(Channel.java:695) at hudson.remoting.Channel$ReaderThread.run(Channel.java:971) Jan 10, 2011 1:21:26 PM hudson.model.Hudson cleanUp WARNING: Failed to shut down properly java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.<init>(I[B)V at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:232) at java.util.concurrent.FutureTask.get(FutureTask.java:91) at hudson.model.Hudson.cleanUp(Hudson.java:2300) at org.jvnet.hudson.test.HudsonTestCase.tearDown(HudsonTestCase.java:303) at junit.framework.TestCase.runBare(TestCase.java:140) at org.jvnet.hudson.test.HudsonTestCase.runBare(HudsonTestCase.java:224) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:146) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at $Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:145) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:87) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Caused by: java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.<init>(I[B)V at org.apache.commons.codec.binary.Base64OutputStream.<init>(Base64OutputStream.java:97) at hudson.console.ConsoleNote.encodeToBytes(ConsoleNote.java:178) at hudson.console.ConsoleNote.encodeTo(ConsoleNote.java:156) at hudson.util.StreamTaskListener.annotate(StreamTaskListener.java:157) at hudson.util.StreamTaskListener._error(StreamTaskListener.java:132) at hudson.util.StreamTaskListener.error(StreamTaskListener.java:141) at hudson.plugins.sshslaves.SSHLauncher.afterDisconnect(SSHLauncher.java:599) at hudson.slaves.SlaveComputer$4.run(SlaveComputer.java:399) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Full log attached.

    Jenkins JIRA | 6 years ago | nlgu5kq4x6yl
    java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.<init>(I[B)V
  2. 0

    Jenkins issues - [JIRA] Created: (HUDSON-8464) junit test execution using ssh launcher fails with NoSuchMethodError

    nabble.com | 1 year ago
    java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.<init>(I[B)V
  3. 0

    I have a simple junit test using SSHLauncher to run on a slave node attached via SSH: public void testSshNode() throws Exception{ String hostname = "localhost"; String username = System.getProperty("user.name"); SSHLauncher launcher = new SSHLauncher( /*host=*/hostname, /*port=*/22, /*username=*/username, /*password=*/"", /*privatekey=*/System.getProperty("user.home")+"/.ssh/arti-key", /*jvmOptions=*/""); DumbSlave node = new DumbSlave( /*name=*/hostname, /*nodeDescription=*/"created by job-executor", /*remoteFS=*/"/nobackup/"+username+"/arti/slaves/"+InetAddress.getLocalHost().getCanonicalHostName(), /*numExecutors=*/"4", // TODO We should not hardcode numExecutors here. /*mode=*/Node.Mode.NORMAL, /*labelString=*/hostname, /*launcher=*/launcher, /*retentionStrategy=*/RetentionStrategy.NOOP, /*nodeProperties=*/Collections.EMPTY_LIST); hudson.addNode(node); FreeStyleProject job = hudson.createProject(FreeStyleProject.class,"testjob"); DescribableList<Builder,Descriptor<Builder>> builders = job.getBuildersList(); builders.clear(); builders.add(new Shell("date >>/tmp/testSshNode.out")); job.setAssignedNode(node); job.scheduleBuild(new UserCause()); waitUntilNoActivity(); assertTrue(true); } It fails with this stacktrace: SEVERE: I/O error in channel localhost java.io.IOException: Unexpected termination of the channel at hudson.remoting.Channel$ReaderThread.run(Channel.java:953) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2554) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.Channel$ReaderThread.run(Channel.java:947) Jan 10, 2011 1:21:26 PM hudson.PluginWrapper stop INFO: Stopping cvs Jan 10, 2011 1:21:26 PM hudson.PluginWrapper stop INFO: Stopping maven-plugin Exception in thread "Channel reader thread: localhost" java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.<init>(I[B)V at org.apache.commons.codec.binary.Base64OutputStream.<init>(Base64OutputStream.java:97) at hudson.console.ConsoleNote.encodeToBytes(ConsoleNote.java:178) at hudson.console.ConsoleNote.encodeTo(ConsoleNote.java:156) at hudson.util.StreamTaskListener.annotate(StreamTaskListener.java:157) at hudson.util.StreamTaskListener._error(StreamTaskListener.java:132) at hudson.util.StreamTaskListener.error(StreamTaskListener.java:141) at hudson.plugins.sshslaves.SSHLauncher.afterDisconnect(SSHLauncher.java:599) at hudson.slaves.SlaveComputer$2.onClosed(SlaveComputer.java:305) at hudson.remoting.Channel.terminate(Channel.java:695) at hudson.remoting.Channel$ReaderThread.run(Channel.java:971) Jan 10, 2011 1:21:26 PM hudson.model.Hudson cleanUp WARNING: Failed to shut down properly java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.<init>(I[B)V at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:232) at java.util.concurrent.FutureTask.get(FutureTask.java:91) at hudson.model.Hudson.cleanUp(Hudson.java:2300) at org.jvnet.hudson.test.HudsonTestCase.tearDown(HudsonTestCase.java:303) at junit.framework.TestCase.runBare(TestCase.java:140) at org.jvnet.hudson.test.HudsonTestCase.runBare(HudsonTestCase.java:224) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:146) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at $Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:145) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:87) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Caused by: java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.<init>(I[B)V at org.apache.commons.codec.binary.Base64OutputStream.<init>(Base64OutputStream.java:97) at hudson.console.ConsoleNote.encodeToBytes(ConsoleNote.java:178) at hudson.console.ConsoleNote.encodeTo(ConsoleNote.java:156) at hudson.util.StreamTaskListener.annotate(StreamTaskListener.java:157) at hudson.util.StreamTaskListener._error(StreamTaskListener.java:132) at hudson.util.StreamTaskListener.error(StreamTaskListener.java:141) at hudson.plugins.sshslaves.SSHLauncher.afterDisconnect(SSHLauncher.java:599) at hudson.slaves.SlaveComputer$4.run(SlaveComputer.java:399) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Full log attached.

    Jenkins JIRA | 6 years ago | nlgu5kq4x6yl
    java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.<init>(I[B)V
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    XWiki- Users - Uncaught exception when I am trying to import xwiki xar file for fresh install

    nabble.com | 1 year ago
    java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.<init>(I[B)V
  6. 0

    My config: Win2003 32bit, Oracle 10g2, Glassfish v.3, jdk 1.6.0.20 (jdk needs for glassfish). My problem: When trying to import XE XAR-file on a fresh XWiki (Glassfish3) - give Error number 0 in 11: Uncaught exception Wrapped Exception: org.apache.commons.codec.binary.Base64. I made some studing for this situation. - XE 2.1.1 - no any problem (XAR file succesffuly imported) - XE 2.2.6 - no any problem (XAR file succesffuly imported) - XE 2.3.2 - Error - XE 2.4 - Error Exept XE versions (and of course - corresponding versions of xar-file) all other environment are the same. Same DB, same DB-config, same jdbc driver, etc. For this reason - it is possible to make conclussion that in XE 2.4 exists critical bug (because I cannot use XE 2.4 in general). If is it possible - please investigate this situation as soon as possible. Thanks befohand! Full stack of this error from Glassfish log: {noformat} [#|2010-08-01T02:00:51.937+0300|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=25; _ThreadName=Thread-1;|2010-08-01 02:00:51,921 [http://localhost:8080/xwiki/bin/upload/XWiki/XWikiPreferences] WARN web.XWikiAction - Uncaught exception: Error number 0 in 11: Uncaught exception Wrapped Exception: org.apache.commons.codec.binary.Base64.<init>(I[B)V com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception Wrapped Exception: org.apache.commons.codec.binary.Base64.<init>(I[B)V at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:239) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:226) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.ContextTask.run(ContextTask.java:69) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309) at java.lang.Thread.run(Thread.java:619) Wrapped Exception: java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.<init>(I[B)V at org.apache.commons.codec.binary.Base64OutputStream.<init>(Base64OutputStream.java:97) at com.xpn.xwiki.internal.xml.XMLWriter.writeBase64(XMLWriter.java:184) at com.xpn.xwiki.doc.XWikiAttachment.toXML(XWikiAttachment.java:401) at com.xpn.xwiki.doc.XWikiAttachment.toStringXML(XWikiAttachment.java:330) at com.xpn.xwiki.doc.XWikiAttachmentArchive.updateArchive(XWikiAttachmentArchive.java:129) at com.xpn.xwiki.doc.XWikiAttachment.updateContentArchive(XWikiAttachment.java:673) at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.saveAttachmentContent(XWikiHibernateAttachmentStore.java:79) at com.xpn.xwiki.doc.XWikiDocument.saveAttachmentContent(XWikiDocument.java:4204) at com.xpn.xwiki.web.UploadAction.uploadAttachment(UploadAction.java:202) at com.xpn.xwiki.web.UploadAction.action(UploadAction.java:107) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:214) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97) at com.sun.enterprise.web.PESessionLockingStandardPipeline.i|#] {noformat}

    XWiki.org JIRA | 7 years ago | Eugen Colesnicov
    java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.<init>(I[B)V

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.apache.commons.codec.binary.Base64.<init>(I[B)V

      at org.apache.commons.codec.binary.Base64OutputStream.<init>()
    2. Apache Commons Codec
      Base64OutputStream.<init>
      1. org.apache.commons.codec.binary.Base64OutputStream.<init>(Base64OutputStream.java:97)
      1 frame
    3. Hudson
      StreamTaskListener.error
      1. hudson.console.ConsoleNote.encodeToBytes(ConsoleNote.java:178)
      2. hudson.console.ConsoleNote.encodeTo(ConsoleNote.java:156)
      3. hudson.util.StreamTaskListener.annotate(StreamTaskListener.java:157)
      4. hudson.util.StreamTaskListener._error(StreamTaskListener.java:132)
      5. hudson.util.StreamTaskListener.error(StreamTaskListener.java:141)
      5 frames
    4. hudson.plugins.sshslaves
      SSHLauncher.afterDisconnect
      1. hudson.plugins.sshslaves.SSHLauncher.afterDisconnect(SSHLauncher.java:599)
      1 frame
    5. Hudson
      SlaveComputer$4.run
      1. hudson.slaves.SlaveComputer$4.run(SlaveComputer.java:399)
      1 frame
    6. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      6. java.lang.Thread.run(Thread.java:619)
      6 frames