Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-55662

Type 'org/apache/commons/codec/binary/Base64' (current frame, stack[2]) is not assignable to 'org/apache/commons/codec/binary/BaseNCodec' Current Frame:

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • jenkinslint-plugin
    • None
    • Redhat

      I am getting below error when compiling a maven job with Jenkins. How ever I am able to compile the same code manually(Not with Jenkins) with out any issues. Could you please suggest which Jenkins dependency plugin is required to fix this issue?

       

       
       
      {{[ERROR] FATAL ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Bad type on operand stack
      Exception Details:
      Location:
      org/apache/commons/codec/binary/Base64OutputStream.<init>(Ljava/io/OutputStream;Z)V @11: invokespecial
      Reason:
      Type 'org/apache/commons/codec/binary/Base64' (current frame, stack[2]) is not assignable to 'org/apache/commons/codec/binary/BaseNCodec'
      Current Frame:
      bci: @11
      flags: { flagThisUninit }
      locals: { uninitializedThis, 'java/io/OutputStream', integer }
      stack: { uninitializedThis, 'java/io/OutputStream', 'org/apache/commons/codec/binary/Base64', integer }}}

            v2v Victor Martinez
            bob_aj Bob Aj
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: