java.lang.ClassCastException: com.atlassian.jira.project.version.VersionImpl cannot be cast to com.atlassian.jira.issue.customfields.option.Option

Atlassian JIRA | Bob Swift [Bob Swift Atlassian Add-ons] | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    {noformat:title=client stacktrace} java.lang.ClassCastException: com.atlassian.jira.project.version.VersionImpl cannot be cast to com.atlassian.jira.issue.customfields.option.Option at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1782) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2938) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at javax.xml.parsers.SAXParser.parse(SAXParser.java:395) 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 org.swift.common.soap.jira.JirasoapserviceV2SoapBindingStub.updateIssue(JirasoapserviceV2SoapBindingStub.java:4287) at org.swift.jira.cli.JiraClient.updateIssue(JiraClient.java:1738) at org.swift.jira.cli.JiraClient.setFieldValue(JiraClient.java:3367) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:501) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:118) at org.swift.common.cli.CliClient.doWork(CliClient.java:225) at org.swift.jira.cli.JiraClient.main(JiraClient.java:140) {noformat}

    Atlassian JIRA | 6 years ago | Bob Swift [Bob Swift Atlassian Add-ons]
    java.lang.ClassCastException: com.atlassian.jira.project.version.VersionImpl cannot be cast to com.atlassian.jira.issue.customfields.option.Option
  2. 0

    {noformat:title=client stacktrace} java.lang.ClassCastException: com.atlassian.jira.project.version.VersionImpl cannot be cast to com.atlassian.jira.issue.customfields.option.Option at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1782) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2938) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at javax.xml.parsers.SAXParser.parse(SAXParser.java:395) 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 org.swift.common.soap.jira.JirasoapserviceV2SoapBindingStub.updateIssue(JirasoapserviceV2SoapBindingStub.java:4287) at org.swift.jira.cli.JiraClient.updateIssue(JiraClient.java:1738) at org.swift.jira.cli.JiraClient.setFieldValue(JiraClient.java:3367) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:501) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:118) at org.swift.common.cli.CliClient.doWork(CliClient.java:225) at org.swift.jira.cli.JiraClient.main(JiraClient.java:140) {noformat}

    Atlassian JIRA | 6 years ago | Bob Swift [Bob Swift Atlassian Add-ons]
    java.lang.ClassCastException: com.atlassian.jira.project.version.VersionImpl cannot be cast to com.atlassian.jira.issue.customfields.option.Option
  3. 0

    JIRA - User - java.lang.ClassCastException: java.lang.Boolean cannot be cast to user

    nabble.com | 1 year ago
    java.lang.ClassCastException: java.lang.Boolean cannot be cast to com.atlassian.crowd.embedded.api.User
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Complex Return types from web service

    Oracle Community | 9 years ago | 843833
    java.lang.ClassCastException: [Ljava.lang.Object;
  6. 0

    axis -ClassCastException...Pls help

    Coderanch | 1 decade ago | janne s
    java.lang.ClassCastException

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.atlassian.jira.project.version.VersionImpl cannot be cast to com.atlassian.jira.issue.customfields.option.Option

      at org.apache.axis.message.SOAPFaultBuilder.createFault()
    2. Axis Web Services
      DeserializationContext.endElement
      1. org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
      2. org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
      3. org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
      3 frames
    3. Java RT
      SAXParser.parse
      1. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
      2. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1782)
      3. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2938)
      4. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
      5. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
      6. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
      7. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
      8. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
      9. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
      10. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
      11. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
      12. javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
      12 frames
    4. 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
    5. org.swift.common
      JirasoapserviceV2SoapBindingStub.updateIssue
      1. org.swift.common.soap.jira.JirasoapserviceV2SoapBindingStub.updateIssue(JirasoapserviceV2SoapBindingStub.java:4287)
      1 frame
    6. org.swift.jira
      JiraClient.handleRequest
      1. org.swift.jira.cli.JiraClient.updateIssue(JiraClient.java:1738)
      2. org.swift.jira.cli.JiraClient.setFieldValue(JiraClient.java:3367)
      3. org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:501)
      3 frames
    7. org.swift.common
      CliClient.doWork
      1. org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:118)
      2. org.swift.common.cli.CliClient.doWork(CliClient.java:225)
      2 frames
    8. org.swift.jira
      JiraClient.main
      1. org.swift.jira.cli.JiraClient.main(JiraClient.java:140)
      1 frame