<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>NullPointerException scheduling new meeting</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_category?p_l_id=140576&amp;mbCategoryId=0" />
  <subtitle>NullPointerException scheduling new meeting</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_category?p_l_id=140576&amp;mbCategoryId=0</id>
  <updated>2013-06-19T20:04:00Z</updated>
  <dc:date>2013-06-19T20:04:00Z</dc:date>
  <entry>
    <title>NullPointerException scheduling new meeting</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=140576&amp;messageId=5233699" />
    <author>
      <name>Keith Lawson</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=140576&amp;messageId=5233699</id>
    <updated>2012-03-01T22:54:00Z</updated>
    <published>2012-03-01T22:53:49Z</published>
    <summary type="html">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-&gt;scheduleMeeting (  
   SOAP::Data-&gt;name("requesterUserId" =&gt; $user )-&gt;type('xsd:string'),
   SOAP::Data-&gt;name("scheduleParams" =&gt; \SOAP::Data-&gt;value(
      SOAP::Data-&gt;name('schedulerUniqueId' =&gt; $user),
      SOAP::Data-&gt;name('startDateTime' =&gt; '2011-02-28T21:32:52' ),
      SOAP::Data-&gt;name('initialPartNum' =&gt; '10'),
      )
   )
);
 
Produces the following XML: 
 
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;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/"&gt;
&lt;soap:Body&gt;
&lt;scheduleMeeting xmlns="MeetingService"&gt;
&lt;requesterUserId xsi:type="xsd:string"&gt;72519&lt;/requesterUserId&gt;
&lt;scheduleParams&gt;
   &lt;schedulerUniqueId xsi:type="xsd:int"&gt;72519&lt;/schedulerUniqueId&gt;
   &lt;startDateTime xsi:type="xsd:dateTime"&gt;2011-02-28T21:32:52&lt;/startDateTime&gt;
   &lt;initialPartNum xsi:type="xsd:int"&gt;10&lt;/initialPartNum&gt;
&lt;/scheduleParams&gt;
&lt;/scheduleMeeting&gt;&lt;/soap:Body&gt;&lt;/soap:Envelope&gt;
 
Which returns: 
 
&lt;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"&gt;
&lt;soap:Body&gt;
&lt;soap:Fault&gt;&lt;faultcode&gt;soap:Server&lt;/faultcode&gt;
&lt;faultstring&gt;Fault: java.lang.NullPointerException&lt;/faultstring&gt;&lt;/soap:Fault&gt;&lt;/soap:Body&gt;&lt;/soap:Envelope&gt;
 
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.</summary>
    <dc:creator>Keith Lawson</dc:creator>
    <dc:date>2012-03-01T22:53:49Z</dc:date>
  </entry>
</feed>

