cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1139
Views
0
Helpful
5
Replies

java NullPointerException with NBR getStorageAccessTicket API

ppenumar97
Level 1
Level 1

Can someone tell me what could be wrong. I am getting this response for NBR getStorageAccessTicket API.

<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <soapenv:Body>

        <soapenv:Fault>

            <faultcode>soapenv:Server.userException</faultcode>

            <faultstring>java.lang.NullPointerException</faultstring>

            <detail>

                <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">nsj1wss232.webex.com</ns1:hostname>

            </detail>

        </soapenv:Fault>

    </soapenv:Body>

</soapenv:Envelope>

1 Accepted Solution

Accepted Solutions

Yes, null pointer could indicate no records.. there is a regression bug due to be fixed shorty to resolve this issue.

View solution in original post

5 Replies 5

kasutton
Cisco Employee
Cisco Employee

Hi Padma,

Can you provide the request that resulted in this error without your password please? Thanks in advance.

Kasey Schultz

API Developer Services - WebEx - Cisco Systems, Inc..:|:.:|:.

Hi Kasey,

Here is the request I am sending. Let me know if you need siteId and username.

<soapenv:Envelope

  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

  xmlns:xsd="http://www.w3.org/2001/XMLSchema"

  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <soapenv:Body>

      <ns1:getStorageAccessTicket

  soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

  xmlns:ns1="NBRStorageService">

        <siteId xsi:type="xsd:long">xxxx</siteId>

        <username xsi:type="xsd:string">aaaa</username>

        <password xsi:type="xsd:string">pppp</password>

       </ns1:getStorageAccessTicket>

    </soapenv:Body>

  </soapenv:Envelope>

Is it possible to get NULL Pointer Exception if there are no recorded files ?

Yes, null pointer could indicate no records.. there is a regression bug due to be fixed shorty to resolve this issue.

Please let me know if this bug is fixed.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: