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

Rejected: org.apache.maven.model.Notifier

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: maven-plugin
    • Labels:
    • Environment:
      Jenkins Master 2.111 on Linux 4.4.0-116-generic, Jenkins slave on Windows 7
    • Similar Issues:

      Description

      ERROR: POMs konnten nicht geparst werden
      java.io.IOException: remote file operation failed: C:\Users\sys_jenkins\slave\workspace\NWMS-ToHarvest at hudson.remoting.Channel@63008d22:JNLP4-connect connection from vw7-jenkins.win.lbswest.priv/10.24.101.164:49537: java.io.IOException: Failed to deserialize response to UserRequest:hudson.maven.MavenModuleSetBuild$PomParser@f49bbf8: java.lang.SecurityException: Rejected: org.apache.maven.model.Notifier; see 
      [https://jenkins.io/redirect/class-filter/]
      	at hudson.FilePath.act(FilePath.java:1005)
      	at hudson.FilePath.act(FilePath.java:987)
      	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.parsePoms(MavenModuleSetBuild.java:986)
      	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:691)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
      	at hudson.model.Run.execute(Run.java:1727)
      	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:429)
      Caused by: java.io.IOException: Failed to deserialize response to UserRequest:hudson.maven.MavenModuleSetBuild$PomParser@f49bbf8: java.lang.SecurityException: Rejected: org.apache.maven.model.Notifier; see 
      [https://jenkins.io/redirect/class-filter/]
      	at hudson.remoting.Channel.call(Channel.java:960)
      	at hudson.FilePath.act(FilePath.java:998)
      	... 8 more
      Caused by: java.lang.SecurityException: Rejected: org.apache.maven.model.Notifier; see 
      [https://jenkins.io/redirect/class-filter/]
      	at hudson.remoting.ClassFilter.check(ClassFilter.java:76)
      	at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:129)
      	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1863)
      	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1746)
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2037)
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1568)
      	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2282)
      	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2206)
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2064)
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1568)
      	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:428)
      	at java.util.ArrayList.readObject(ArrayList.java:797)
      	at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1158)
      	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2173)
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2064)
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1568)
      	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2282)
      	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2206)
      	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2064)
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1568)
      	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:428)
      	at hudson.remoting.UserRequest.deserialize(UserRequest.java:277)
      	at hudson.remoting.UserResponse.retrieve(UserRequest.java:310)
      	at hudson.remoting.Channel.call(Channel.java:952)
      	... 9 more
      Build did not succeed and the project is configured to only push after a successful build, so no pushing will occur.
      Started calculate disk usage of build
      Finished Calculation of disk usage of build in 0 seconds
      Started calculate disk usage of workspace
      Finished Calculation of disk usage of workspace in  1 second
      Finished: FAILURE
      

        Attachments

          Issue Links

            Activity

            Hide
            aheritier Arnaud Héritier added a comment -

            Released as 3.1.1 Thx Jesse Glick

            Show
            aheritier Arnaud Héritier added a comment - Released as 3.1.1 Thx Jesse Glick
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Thanks Arnaud Héritier and Jesse Glick
            I have also confirmed the fix manually on my instance

            Show
            oleg_nenashev Oleg Nenashev added a comment - Thanks Arnaud Héritier and Jesse Glick I have also confirmed the fix manually on my instance
            Hide
            rainerfrey Rainer Frey added a comment -

            This fix triggers a NullPointerException in certain circumstances. Please see https://github.com/jenkinsci/maven-plugin/pull/116

            Show
            rainerfrey Rainer Frey added a comment - This fix triggers a NullPointerException in certain circumstances. Please see  https://github.com/jenkinsci/maven-plugin/pull/116
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            thanks for catching it.

            Show
            oleg_nenashev Oleg Nenashev added a comment - thanks for catching it.
            Hide
            jglick Jesse Glick added a comment -

            Filed follow-up PR 117.

            Show
            jglick Jesse Glick added a comment - Filed follow-up PR 117.

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                explorer566 Ralf Fritsche
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: