Blogs

Showing 3 results.

Forums

« Back to Discussion

NullPointerException scheduling new meeting

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hello,
 
I'm attempting to call MPSA from Perl code to create a new meeting. When I attempt the add a new meeting with just the required paramaters I'm getting a NullPointerException that isn't very useful.
 
This Perl code:
 
my $res = $mp->scheduleMeeting ( 
   SOAP:emoticonata->name("requesterUserId" => $user )->type('xsd:string'),
   SOAP:emoticonata->name("scheduleParams" => \SOAP:emoticonata->value(
      SOAP:emoticonata->name('schedulerUniqueId' => $user),
      SOAP:emoticonata->name('startDateTime' => '2011-02-28T21:32:52' ),
      SOAP:emoticonata->name('initialPartNum' => '10'),
      )
   )
);
 
Produces the following XML:
 
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<scheduleMeeting xmlns="MeetingService">
<requesterUserId xsi:type="xsd:string">72519</requesterUserId>
<scheduleParams>
   <schedulerUniqueId xsi:type="xsd:int">72519</schedulerUniqueId>
   <startDateTime xsi:type="xsd:dateTime">2011-02-28T21:32:52</startDateTime>
   <initialPartNum xsi:type="xsd:int">10</initialPartNum>
</scheduleParams>
</scheduleMeeting></soap:Body></soap:Envelope>
 
Which returns:
 
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<soap:Fault><faultcode>soap:Server</faultcode>
<faultstring>Fault: java.lang.NullPointerException</faultstring></soap:Fault></soap:Body></soap:Envelope>
 
Is there something wrong with my request or some logs on the meetingplace app server I can look at to shed more light on the error?
 
TIA,
Keith.

Collateral


No files available