Uploaded image for project: 'Apache Hop (incubating)'
  1. Apache Hop (incubating)
  2. HOP-2142

Replace javax/mail/Address dependency

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      The javax.mail/mail library has a CDDL+GPL  dependency

      It causes the JavaScript transform to fail:

      2020/11/05 20:00:42 - userId.0 - ERROR: Unexpected error2020/11/05 20:00:42 - userId.0 - ERROR: Unexpected error2020/11/05 20:00:42 - userId.0 - ERROR: java.lang.NoClassDefFoundError: javax/mail/Address2020/11/05 20:00:42 - userId.0 - at org.apache.hop.pipeline.transforms.javascript.ScriptValuesMod.addValues(ScriptValuesMod.java:252)2020/11/05 20:00:42 - userId.0 - at org.apache.hop.pipeline.transforms.javascript.ScriptValuesMod.processRow(ScriptValuesMod.java:476)2020/11/05 20:00:42 - userId.0 - at org.apache.hop.pipeline.transform.RunThread.run(RunThread.java:68)2020/11/05 20:00:42 - userId.0 - at java.lang.Thread.run(Thread.java:748)2020/11/05 20:00:42 - userId.0 - Caused by: java.lang.ClassNotFoundException: Unable to load class 'javax.mail.Address' in this classloader or in the parent2020/11/05 20:00:42 - userId.0 - at org.apache.hop.core.plugins.HopURLClassLoader.loadClass(HopURLClassLoader.java:117)2020/11/05 20:00:42 - userId.0 - at java.lang.ClassLoader.loadClass(ClassLoader.java:357)2020/11/05 20:00:42 - userId.0 - ... 4 more2020/11/05 20:00:42 - userId.0 - Caused by: java.lang.ClassNotFoundException: javax.mail.Address2020/11/05 20:00:42 - userId.0 - at java.net.URLClassLoader.findClass(URLClassLoader.java:382)2020/11/05 20:00:42 - userId.0 - at org.apache.hop.core.plugins.HopURLClassLoader.loadClassFromThisLoader(HopURLClassLoader.java:81)2020/11/05 20:00:42 - userId.0 - at org.apache.hop.core.plugins.HopURLClassLoader.loadClass(HopURLClassLoader.java:106)2020/11/05 20:00:42 - userId.0 - ... 5 more

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mcasters Matt Casters

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 50m
                50m

                  Issue deployment