Uploaded image for project: 'YADE - Yet Another Data Exchange Tool'
  1. YADE - Yet Another Data Exchange Tool
  2. YADE-579

SMB - java.lang.IllegalAccessError

    XMLWordPrintable

Details

    Description

      Current Situation

      • a YADE SMB file transfer throws the error:
        java.lang.IllegalAccessError: tried to access class org.bouncycastle.asn1.DEROutputStream from class jcifs.spnego.NegTokenInit
      • JobScheduler/Agent/YADE Client setup provides the 3rd-party library for SMB jcifs-ng-2.1.5.
        • this JCIF version is incompatible with Bouncycastle libraries provided with JS-1930

      Desired Behavior

      • YADE file transfers should not raise Bouncycastle exceptions.
      • JCIF library should be updated to the last version (current 2.1.7)

      Workaround

      • Download the JCIF 2.1.7 library from e.g. the maven repository - jcifs-ng-2.1.7.jar.
      • JobScheduler Controller/Master/Agent
        • Copy the jar file to theĀ SCHEDULER_HOME/lib/patches directory.
        • Restart JobScheduler Controller/Master/Agent.
      • YADE Client
        • Replace the jcifs-ng-2.1.5.jar file in the <yade>/lib/3rd-party directory with the downloaded file.

      Attachments

        Issue Links

          Activity

            People

              re Robert Ehrlich
              divyani-rathore Divyani Rathore
              Kanika Agrawal Kanika Agrawal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: