com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException

Atlassian JIRA | Rambanam Prasad | 5 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

    https://jira.atlassian.com/browse/JRA-25304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=278302#comment-278302 {noformat} we developed rpc plugin as type two and created soap client using axis-1_4. i am getting following error while accessing SoapMethods through client AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException faultActor: faultNode: faultDetail: {}faultData:null {http://xml.apache.org/axis/}hostname:tcg783lt-01 com.atlassian.util.concurrent.LazyReference$InitializationException: 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(DeserializationContext.java:1087) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(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.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) 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 localhost.rpc.soap.motMigJiraSoapServ.MotMigJiraSoapServSoapBindingStub.migIsWatching(MotMigJiraSoapServSoapBindingStub.java:1048) at com.moto.jira.soapclient.Test.main(Test.java:76) It was working good in jira 5.0-beta1 version {noformat}

    Atlassian JIRA | 5 years ago | Rambanam Prasad
    com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException
  2. 0

    https://jira.atlassian.com/browse/JRA-25304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=278302#comment-278302 {noformat} we developed rpc plugin as type two and created soap client using axis-1_4. i am getting following error while accessing SoapMethods through client AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException faultActor: faultNode: faultDetail: {}faultData:null {http://xml.apache.org/axis/}hostname:tcg783lt-01 com.atlassian.util.concurrent.LazyReference$InitializationException: 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(DeserializationContext.java:1087) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(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.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) 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 localhost.rpc.soap.motMigJiraSoapServ.MotMigJiraSoapServSoapBindingStub.migIsWatching(MotMigJiraSoapServSoapBindingStub.java:1048) at com.moto.jira.soapclient.Test.main(Test.java:76) It was working good in jira 5.0-beta1 version {noformat}

    Atlassian JIRA | 5 years ago | Rambanam Prasad
    com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException

    Root Cause Analysis

    1. com.atlassian.util.concurrent.LazyReference$InitializationException

      java.lang.NullPointerException

      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. Xerces2-j
      SAXParserImpl.parse
      1. org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
      2. org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
      3. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      5. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      6. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      7. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      8. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      9. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      10. org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
      10 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. localhost.rpc.soap
      MotMigJiraSoapServSoapBindingStub.migIsWatching
      1. localhost.rpc.soap.motMigJiraSoapServ.MotMigJiraSoapServSoapBindingStub.migIsWatching(MotMigJiraSoapServSoapBindingStub.java:1048)
      1 frame
    6. com.moto.jira
      Test.main
      1. com.moto.jira.soapclient.Test.main(Test.java:76)
      1 frame