com.atlassian.jira.rpc.exception.RemoteException: Error occurred when running workflow action Resolve Issue: Errors: {} Error Messages: [Action 5 is invalid]

Jenkins JIRA | Kohsuke Kawaguchi | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    As can be seen in JENKINS-2552, and another one in FindBugs (I forgot the bug number) scm-issue-link daemon can occasionally go crazy and just keep putting the same comment over and over again to the same issue. The daemon execution log reveals the following exception: {noformat} Started Parsing stdin Subject: svn commit: r24705 - trunk/hudson/main/core/src/main: java/hudson/diagnosis java/hudson/node_monitors resources/hudson/node_monitors/AbstractDiskSp... Found [hudson-2552] Updating hudson-2552 Exception in thread "main" AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: com.atlassian.jira.rpc.exception.RemoteException: Error occurred when running workflow action Resolve Issue: Errors: {} Error Messages: [Action 5 is invalid] faultActor: faultNode: faultDetail: {}com.atlassian.jira.rpc.exception.RemoteException:null {http://xml.apache.org/axis/}hostname:jira com.atlassian.jira.rpc.exception.RemoteException: Error occurred when running workflow action Resolve Issue: Errors: {} Error Messages: [Action 5 is invalid] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104) at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90) at hudson.plugins.jira.soap.RemoteException.getDeserializer(RemoteException.java:75) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154) at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84) at org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464) at org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547) at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(SAXParser.java:375) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at hudson.plugins.jira.soap.JirasoapserviceV2SoapBindingStub.progressWorkflowAction(JirasoapserviceV2SoapBindingStub.java:3578) at com.sun.javanet.cvsnews.cli.UpdateCommand.execute(UpdateCommand.java:122) at com.sun.javanet.cvsnews.cli.Main.run(Main.java:76) at com.sun.javanet.cvsnews.cli.Main.main(Main.java:53) Finished: FAILURE {noformat} Thus the daemon thinks the issue update had failed, and so the mail server will keep retrying the delivery, until it abandons the delivery.

    Jenkins JIRA | 7 years ago | Kohsuke Kawaguchi
    com.atlassian.jira.rpc.exception.RemoteException: Error occurred when running workflow action Resolve Issue: Errors: {} Error Messages: [Action 5 is invalid]
  2. 0

    As can be seen in JENKINS-2552, and another one in FindBugs (I forgot the bug number) scm-issue-link daemon can occasionally go crazy and just keep putting the same comment over and over again to the same issue. The daemon execution log reveals the following exception: {noformat} Started Parsing stdin Subject: svn commit: r24705 - trunk/hudson/main/core/src/main: java/hudson/diagnosis java/hudson/node_monitors resources/hudson/node_monitors/AbstractDiskSp... Found [hudson-2552] Updating hudson-2552 Exception in thread "main" AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: com.atlassian.jira.rpc.exception.RemoteException: Error occurred when running workflow action Resolve Issue: Errors: {} Error Messages: [Action 5 is invalid] faultActor: faultNode: faultDetail: {}com.atlassian.jira.rpc.exception.RemoteException:null {http://xml.apache.org/axis/}hostname:jira com.atlassian.jira.rpc.exception.RemoteException: Error occurred when running workflow action Resolve Issue: Errors: {} Error Messages: [Action 5 is invalid] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104) at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90) at hudson.plugins.jira.soap.RemoteException.getDeserializer(RemoteException.java:75) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154) at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84) at org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464) at org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547) at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(SAXParser.java:375) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at hudson.plugins.jira.soap.JirasoapserviceV2SoapBindingStub.progressWorkflowAction(JirasoapserviceV2SoapBindingStub.java:3578) at com.sun.javanet.cvsnews.cli.UpdateCommand.execute(UpdateCommand.java:122) at com.sun.javanet.cvsnews.cli.Main.run(Main.java:76) at com.sun.javanet.cvsnews.cli.Main.main(Main.java:53) Finished: FAILURE {noformat} Thus the daemon thinks the issue update had failed, and so the mail server will keep retrying the delivery, until it abandons the delivery.

    Jenkins JIRA | 7 years ago | Kohsuke Kawaguchi
    com.atlassian.jira.rpc.exception.RemoteException: Error occurred when running workflow action Resolve Issue: Errors: {} Error Messages: [Action 5 is invalid]

    Root Cause Analysis

    1. com.atlassian.jira.rpc.exception.RemoteException

      Error occurred when running workflow action Resolve Issue: Errors: {} Error Messages: [Action 5 is invalid]

      at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
    2. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      5. java.lang.Class.newInstance0(Class.java:350)
      6. java.lang.Class.newInstance(Class.java:303)
      6 frames
    3. Axis Web Services
      BeanDeserializer.<init>
      1. org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104)
      2. org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90)
      2 frames
    4. Hudson JIRA plugin
      RemoteException.getDeserializer
      1. hudson.plugins.jira.soap.RemoteException.getDeserializer(RemoteException.java:75)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    6. Axis Web Services
      DeserializationContext.startElement
      1. org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)
      2. org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)
      3. org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)
      4. org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)
      5. org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)
      6. org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
      6 frames
    7. Xerces2-j
      AbstractSAXParser.parse
      1. org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
      2. org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
      3. org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
      4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      5. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      6. org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
      7. org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
      8. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      9. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      9 frames
    8. Java RT
      SAXParser.parse
      1. javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
      1 frame
    9. Axis Web Services
      Call.invoke
      1. org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
      2. org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
      3. org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
      4. org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
      5. org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
      6. org.apache.axis.client.Call.invokeEngine(Call.java:2784)
      7. org.apache.axis.client.Call.invoke(Call.java:2767)
      8. org.apache.axis.client.Call.invoke(Call.java:2443)
      9. org.apache.axis.client.Call.invoke(Call.java:2366)
      10. org.apache.axis.client.Call.invoke(Call.java:1812)
      10 frames
    10. Hudson JIRA plugin
      JirasoapserviceV2SoapBindingStub.progressWorkflowAction
      1. hudson.plugins.jira.soap.JirasoapserviceV2SoapBindingStub.progressWorkflowAction(JirasoapserviceV2SoapBindingStub.java:3578)
      1 frame
    11. com.sun.javanet
      Main.main
      1. com.sun.javanet.cvsnews.cli.UpdateCommand.execute(UpdateCommand.java:122)
      2. com.sun.javanet.cvsnews.cli.Main.run(Main.java:76)
      3. com.sun.javanet.cvsnews.cli.Main.main(Main.java:53)
      3 frames