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

Removing non-serializable member from CucumberTestResultsAction

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      In some cases executing workflow job with calling to gherkingPublisher is ended with floowing exception which cause to job be in failed status.

       

       

      Unexpected exception in CPS VM thread: CpsFlowExecutionOwner[lgolug625/xhome_web_automation/reddy1/14:lgolug625/xhome_web_automation/reddy1 #14]

      java.lang.IllegalStateException: Can't send a remote FilePath to a different remote channel

              at hudson.FilePath.writeObject(FilePath.java:2993)

              at sun.reflect.GeneratedMethodAccessor120.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at java.lang.reflect.Method.invoke(Method.java:498)

              at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callWriteObject(SerializationMethodInvoker.java:135)

      Caused: com.thoughtworks.xstream.converters.ConversionException: Could not call hudson.FilePath.writeObject() : Can't send a remote FilePath to a different remote channel

      ---- Debugging information ----

      message             : Could not call hudson.FilePath.writeObject()

      cause-exception     : java.lang.IllegalStateException

      cause-message       : Can't send a remote FilePath to a different remote channel

      -------------------------------

              at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callWriteObject(SerializationMethodInvoker.java:141)

              at com.thoughtworks.xstream.converters.reflection.SerializableConverter.doMarshal(SerializableConverter.java:259)

              at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:83)

              at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)

              at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)

              at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)

              at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:265)

              at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:252)

      Caused: java.lang.RuntimeException: Failed to serialize com.microfocus.application.automation.tools.octane.actions.cucumber.CucumberTestResultsAction#workspace for class com.microfocus.application.automation.tools.octane.actions.cucumber.CucumberTestResultsAction

              at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256)

        Attachments

          Activity

          radislavb Radi Berkovich created issue -
          radislavb Radi Berkovich made changes -
          Field Original Value New Value
          Summary Removing non-serailizable member from CucumberTestResultsAction Removing non-serializable member from CucumberTestResultsAction
          radislavb Radi Berkovich made changes -
          Description In some cases executing workflow job with calling to gherkingPublisher is ended with floowing exception which cause to job be in failed status.

           

           

          Unexpected exception in CPS VM thread: CpsFlowExecution[Owner[lgolug625/xhome_web_automation/reddy1/14:lgolug625/xhome_web_automation/reddy1 #14]]

          java.lang.IllegalStateException: Can't send a remote FilePath to a different remote channel

                  at hudson.FilePath.writeObject(FilePath.java:2993)

                  at sun.reflect.GeneratedMethodAccessor120.invoke(Unknown Source)

                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                  at java.lang.reflect.Method.invoke(Method.java:498)

                  at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callWriteObject(SerializationMethodInvoker.java:135)

          Caused: com.thoughtworks.xstream.converters.ConversionException: Could not call hudson.FilePath.writeObject() : Can't send a remote FilePath to a different remote channel

          ---- Debugging information ----

          message             : Could not call hudson.FilePath.writeObject()

          cause-exception     : java.lang.IllegalStateException

          cause-message       : Can't send a remote FilePath to a different remote channel

          -------------------------------

                  at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callWriteObject(SerializationMethodInvoker.java:141)

                  at com.thoughtworks.xstream.converters.reflection.SerializableConverter.doMarshal(SerializableConverter.java:259)

                  at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:83)

                  at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)

                  at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)

                  at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)

                  at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:265)

                  at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:252)

          Caused: java.lang.RuntimeException: Failed to serialize com.microfocus.application.automation.tools.octane.actions.cucumber.CucumberTestResultsAction#workspace for class com.microfocus.application.automation.tools.octane.actions.cucumber.CucumberTestResultsAction

                  at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256)
          narcisamgalan Maria Narcisa Galan made changes -
          Labels Octane
          radislavb Radi Berkovich made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Fixed but Unreleased [ 10203 ]
          radislavb Radi Berkovich made changes -
          Labels Octane 5.9.1 Octane
          radislavb Radi Berkovich made changes -
          Status Fixed but Unreleased [ 10203 ] Closed [ 6 ]

            People

            Assignee:
            radislavb Radi Berkovich
            Reporter:
            radislavb Radi Berkovich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: