java.lang.NullPointerException

JIRA | Bob Swift | 4 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

    From Olivier Orlow: https://answers.atlassian.com/questions/180962/update-custom-field-from-csv-field?page=1#comment-181267 {noformat} jira --action setFieldValue --issue "RISA-2883" --field "Amt" --values "Amt Test Import" --debug User parameters (non-blank): Java arguments . . . . . . . : [] Used memory (MB) . . . . . . : 1 Free memory (MB) . . . . . . : 13 Total memory (MB) . . . . . . : 15 Max memory (MB) . . . . . . . : 247 clientInfo . . . . . . . . . : Client version: 3.4.0, Java: Java HotSpot(TM) Cl ient VM 1.7.0_21, OS: Windows Server 2008 R2 6.1 action . . . . . . . . . . . : setFieldValue debug . . . . . . . . . . . . : true server . . . . . . . . . . . : http://jivsw026:8088 user . . . . . . . . . . . . : jiraadmin password . . . . . . . . . . : *** issue . . . . . . . . . . . . : RISA-2883 field . . . . . . . . . . . . : Amt values . . . . . . . . . . . : Amt Test Import Default parameters (non-blank): verbose . . . . . . . . . . . : false quiet . . . . . . . . . . . . : false outputFormat . . . . . . . . : 1 host . . . . . . . . . . . . : localhost continue . . . . . . . . . . : false simulate . . . . . . . . . . : false service . . . . . . . . . . . : /rpc/soap/jirasoapservice-v2 loginFromStandardInput . . . : false requestType . . . . . . . . . : GET count . . . . . . . . . . . . : 2147483647 limit . . . . . . . . . . . . : 2147483647 api . . . . . . . . . . . . . : latest autoGroup . . . . . . . . . . : false permissionScheme . . . . . . : Default Permission Scheme autoVersion . . . . . . . . . : false autoComponent . . . . . . . . : false autoAdjust . . . . . . . . . : false asVersion . . . . . . . . . . : false asComponent . . . . . . . . . : false asCascadeSelect . . . . . . . : false append . . . . . . . . . . . : false appendText . . . . . . . . . : false copyLinks . . . . . . . . . . : false copyAttachments . . . . . . . : false copyComments . . . . . . . . : false copyWatchers . . . . . . . . : false copySubtasks . . . . . . . . : false copySubtaskEstimates . . . . : false useParentVersions . . . . . . : false cloneIssues . . . . . . . . . : false copyVersions . . . . . . . . : false copyComponents . . . . . . . : false copyRoleActors . . . . . . . : false replace . . . . . . . . . . . : false activate . . . . . . . . . . : false deactivate . . . . . . . . . : false help . . . . . . . . . . . . : false Server address: http://jivsw026:8088/rpc/soap/jirasoapservice-v2 Successful login to: http://jivsw026:8088/rpc/soap/jirasoapservice-v2 by user: jiraadmin. Remote error: java.lang.NullPointerException AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.lang.NullPointerException faultActor: faultNode: faultDetail: {}faultData:null {http://xml.apache.org/axis/}hostname:JIVSW026 java.lang.NullPointerException 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(Deserializ ationContext.java:1087) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme nt(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp l.scanEndElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp l$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(U nknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next (Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp l.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U nknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U nknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown So urce) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Un known Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p arse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown S ource) at org.apache.axis.encoding.DeserializationContext.parse(Deserialization Context.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(MustUnders tandChecker.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.updateIss ue(JirasoapserviceV2SoapBindingStub.java:4287) at org.swift.jira.cli.JiraClient.updateIssue(JiraClient.java:2168) at org.swift.jira.cli.JiraClient.setFieldValue(JiraClient.java:5167) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:652) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClien t.java:122) at org.swift.common.cli.CliClient.doWork(CliClient.java:327) at org.swift.jira.cli.JiraClient.main(JiraClient.java:177) 931520bcb4007982191f93e455cb98261f6820b0 logged out. {noformat}

    JIRA | 4 years ago | Bob Swift
    java.lang.NullPointerException
  2. 0

    From Olivier Orlow: https://answers.atlassian.com/questions/180962/update-custom-field-from-csv-field?page=1#comment-181267 {noformat} jira --action setFieldValue --issue "RISA-2883" --field "Amt" --values "Amt Test Import" --debug User parameters (non-blank): Java arguments . . . . . . . : [] Used memory (MB) . . . . . . : 1 Free memory (MB) . . . . . . : 13 Total memory (MB) . . . . . . : 15 Max memory (MB) . . . . . . . : 247 clientInfo . . . . . . . . . : Client version: 3.4.0, Java: Java HotSpot(TM) Cl ient VM 1.7.0_21, OS: Windows Server 2008 R2 6.1 action . . . . . . . . . . . : setFieldValue debug . . . . . . . . . . . . : true server . . . . . . . . . . . : http://jivsw026:8088 user . . . . . . . . . . . . : jiraadmin password . . . . . . . . . . : *** issue . . . . . . . . . . . . : RISA-2883 field . . . . . . . . . . . . : Amt values . . . . . . . . . . . : Amt Test Import Default parameters (non-blank): verbose . . . . . . . . . . . : false quiet . . . . . . . . . . . . : false outputFormat . . . . . . . . : 1 host . . . . . . . . . . . . : localhost continue . . . . . . . . . . : false simulate . . . . . . . . . . : false service . . . . . . . . . . . : /rpc/soap/jirasoapservice-v2 loginFromStandardInput . . . : false requestType . . . . . . . . . : GET count . . . . . . . . . . . . : 2147483647 limit . . . . . . . . . . . . : 2147483647 api . . . . . . . . . . . . . : latest autoGroup . . . . . . . . . . : false permissionScheme . . . . . . : Default Permission Scheme autoVersion . . . . . . . . . : false autoComponent . . . . . . . . : false autoAdjust . . . . . . . . . : false asVersion . . . . . . . . . . : false asComponent . . . . . . . . . : false asCascadeSelect . . . . . . . : false append . . . . . . . . . . . : false appendText . . . . . . . . . : false copyLinks . . . . . . . . . . : false copyAttachments . . . . . . . : false copyComments . . . . . . . . : false copyWatchers . . . . . . . . : false copySubtasks . . . . . . . . : false copySubtaskEstimates . . . . : false useParentVersions . . . . . . : false cloneIssues . . . . . . . . . : false copyVersions . . . . . . . . : false copyComponents . . . . . . . : false copyRoleActors . . . . . . . : false replace . . . . . . . . . . . : false activate . . . . . . . . . . : false deactivate . . . . . . . . . : false help . . . . . . . . . . . . : false Server address: http://jivsw026:8088/rpc/soap/jirasoapservice-v2 Successful login to: http://jivsw026:8088/rpc/soap/jirasoapservice-v2 by user: jiraadmin. Remote error: java.lang.NullPointerException AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.lang.NullPointerException faultActor: faultNode: faultDetail: {}faultData:null {http://xml.apache.org/axis/}hostname:JIVSW026 java.lang.NullPointerException 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(Deserializ ationContext.java:1087) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme nt(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp l.scanEndElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp l$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(U nknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next (Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp l.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U nknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U nknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown So urce) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Un known Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p arse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown S ource) at org.apache.axis.encoding.DeserializationContext.parse(Deserialization Context.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(MustUnders tandChecker.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.updateIss ue(JirasoapserviceV2SoapBindingStub.java:4287) at org.swift.jira.cli.JiraClient.updateIssue(JiraClient.java:2168) at org.swift.jira.cli.JiraClient.setFieldValue(JiraClient.java:5167) at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:652) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClien t.java:122) at org.swift.common.cli.CliClient.doWork(CliClient.java:327) at org.swift.jira.cli.JiraClient.main(JiraClient.java:177) 931520bcb4007982191f93e455cb98261f6820b0 logged out. {noformat}

    JIRA | 4 years ago | Bob Swift
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    NullPointerException while using webservice client.

    Coderanch | 10 months ago | Gopi Chand Maddula
    java.lang.NullPointerException

    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.NullPointerException

      No message provided

      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
      SAXParserImpl.parse
      1. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
      2. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
      3. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
      4. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
      5. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
      6. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      7. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      8. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      9. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
      10. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
      11. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      12. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
      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:2168)
      2. org.swift.jira.cli.JiraClient.setFieldValue(JiraClient.java:5167)
      3. org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:652)
      3 frames
    7. org.swift.common
      CliClient.doWork
      1. org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:122)
      2. org.swift.common.cli.CliClient.doWork(CliClient.java:327)
      2 frames
    8. org.swift.jira
      JiraClient.main
      1. org.swift.jira.cli.JiraClient.main(JiraClient.java:177)
      1 frame