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

Testlink plugin : java.lang.SecurityException

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Since the 3.13 update of the plugin, all our jobs using it fail with the same error.

      TestLink : 1.9.14

      Jenkins : 2.103

       
      Results :

      Tests run: 76, Failures: 0, Errors: 0, Skipped: 0

      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 01:51 h
      [INFO] Finished at: 2018-01-29T04:26:54+01:00
      [INFO] Final Memory: 32M/211M
      [INFO] ------------------------------------------------------------------------
      Executing iterative Build Steps.

      Looking for the test results of TestLink test cases.

      Looking for test results in TestNG suites by its name.

      ERROR: Build step failed with exception
      java.lang.SecurityException: Rejected: java.util.Collections$SynchronizedSet
      at hudson.remoting.ClassFilter.check(ClassFilter.java:75)
      at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:129)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1859)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1745)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2033)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1567)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2278)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2202)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2060)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1567)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:427)
      at java.util.LinkedList.readObject(LinkedList.java:1149)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      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:2169)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2060)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1567)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2278)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2202)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2060)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1567)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:427)
      at java.util.LinkedList.readObject(LinkedList.java:1149)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      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:2169)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2060)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1567)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2278)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2202)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2060)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1567)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:427)
      at java.util.ArrayList.readObject(ArrayList.java:797)
      at sun.reflect.GeneratedMethodAccessor43.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:2169)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2060)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1567)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:427)
      at hudson.remoting.UserRequest.deserialize(UserRequest.java:277)
      at hudson.remoting.UserResponse.retrieve(UserRequest.java:310)
      at hudson.remoting.Channel.call(Channel.java:909)
      at hudson.FilePath.act(FilePath.java:998)
      at hudson.FilePath.act(FilePath.java:987)
      at hudson.plugins.testlink.result.TestNGClassNameResultSeeker.seek(TestNGClassNameResultSeeker.java:96)
      at hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:260)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
      at hudson.model.Build$BuildExecution.build(Build.java:206)
      at hudson.model.Build$BuildExecution.doRun(Build.java:163)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
      at hudson.model.Run.execute(Run.java:1727)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:429)
      Build step 'Invoke TestLink' marked build as failure

        Attachments

          Issue Links

            Activity

            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            It should be fixed in 2.104 by https://github.com/jenkinsci/jenkins/commit/688057c5ceeccbb534b9f2d127d780129143af43 from Kanstantsin Shautsou. TestNG reporting flow has no test coverage in TestLink Plugin, and I have missed this usage while working on JENKINS-48995

            Show
            oleg_nenashev Oleg Nenashev added a comment - It should be fixed in 2.104 by https://github.com/jenkinsci/jenkins/commit/688057c5ceeccbb534b9f2d127d780129143af43 from Kanstantsin Shautsou . TestNG reporting flow has no test coverage in TestLink Plugin, and I have missed this usage while working on JENKINS-48995
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            2.104 should be released today. I will propose a hotfix to the plugin if it does not happen due to whatever reason

            Show
            oleg_nenashev Oleg Nenashev added a comment - 2.104 should be released today. I will propose a hotfix to the plugin if it does not happen due to whatever reason
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Malo Toudic Could you please update Jenkins core to 2.104 and try again?

            Show
            oleg_nenashev Oleg Nenashev added a comment - Malo Toudic Could you please update Jenkins core to 2.104 and try again?
            Hide
            mtc Malo Toudic added a comment -

            It works, thanks you.

            Show
            mtc Malo Toudic added a comment - It works, thanks you.

              People

              • Assignee:
                oleg_nenashev Oleg Nenashev
                Reporter:
                mtc Malo Toudic
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: