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

java.lang.NoClassDefFoundError: org/sonatype/aether/util/StringUtils wrong StringUtils class

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      This error prevents the mail-ext plugin from being usable.

      FATAL: org/sonatype/aether/util/StringUtils
      java.lang.NoClassDefFoundError: org/sonatype/aether/util/StringUtils
      at hudson.plugins.emailext.plugins.content.ChangesSinceLastBuildContent.evaluate(ChangesSinceLastBuildContent.java:56)
      at org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro.evaluate(DataBoundTokenMacro.java:177)
      at org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:182)
      at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:233)
      at hudson.plugins.emailext.plugins.ContentBuilder.transformText(ContentBuilder.java:63)
      at hudson.plugins.emailext.ExtendedEmailPublisher.getContent(ExtendedEmailPublisher.java:705)
      at hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:488)
      at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:319)
      at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:311)
      at hudson.plugins.emailext.ExtendedEmailPublisher.prebuild(ExtendedEmailPublisher.java:261)
      at hudson.model.AbstractBuild$AbstractBuildExecution.preBuild(AbstractBuild.java:838)
      at hudson.model.AbstractBuild$AbstractBuildExecution.preBuild(AbstractBuild.java:833)
      at hudson.model.Build$BuildExecution.doRun(Build.java:142)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586)
      at hudson.model.Run.execute(Run.java:1597)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:247)

      I suspect that the developer accidently used the wrong StringUtils class. I think he should have used the Apache commons-lang class instead.

        Attachments

          Issue Links

            Activity

            sven_diedrichsen Sven Diedrichsen created issue -
            sven_diedrichsen Sven Diedrichsen made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-19083 [ JENKINS-19083 ]
            Hide
            sven_diedrichsen Sven Diedrichsen added a comment -

            At least one user comments the same problem as the one described here.

            Show
            sven_diedrichsen Sven Diedrichsen added a comment - At least one user comments the same problem as the one described here.
            slide_o_mix Alex Earl made changes -
            Link This issue is duplicated by JENKINS-19083 [ JENKINS-19083 ]
            slide_o_mix Alex Earl made changes -
            Link This issue is duplicated by JENKINS-19161 [ JENKINS-19161 ]
            Hide
            slide_o_mix Alex Earl added a comment -

            Fixed import that NetBeans changed.

            Show
            slide_o_mix Alex Earl added a comment - Fixed import that NetBeans changed.
            slide_o_mix Alex Earl made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Fix Version/s current [ 10162 ]
            Resolution Fixed [ 1 ]
            Hide
            sam_bakki Bakkiaraj Murugesan added a comment - - edited

            Thank you very much for this update. I am upgrading the plugin now.

            Show
            sam_bakki Bakkiaraj Murugesan added a comment - - edited Thank you very much for this update. I am upgrading the plugin now.
            Hide
            slide_o_mix Alex Earl added a comment -

            It was already released

            Show
            slide_o_mix Alex Earl added a comment - It was already released
            Hide
            jglick Jesse Glick added a comment -

            Seems to be a trigger for JENKINS-21622.

            Show
            jglick Jesse Glick added a comment - Seems to be a trigger for JENKINS-21622 .
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-21622 [ JENKINS-21622 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 150536 ] JNJira + In-Review [ 193572 ]

              People

              • Assignee:
                slide_o_mix Alex Earl
                Reporter:
                sven_diedrichsen Sven Diedrichsen
              • Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: