AnsweredAssumed Answered

Failed processing profile: java.lang.NullPointerException

Question asked by cstaikos220972 on Oct 20, 2016
Latest reply on Oct 21, 2016 by cstaikos220972

Hello,

 

We are trying to browse our custom connector, and while retrieving an object definition in order to build a profile, are getting the following error:

 

Failed processing profile: java.lang.NullPointerException

 

The XML being returned from our service is as follows. This is simply placeholder as we try to get this working.

 

<?xml version="1.0" encoding="UTF-8"?>
<ObjectDefinitions>
   <definition outputType="json" inputType="json" elementName="Greeting">
      <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:element name="Greeting">
            <xs:complexType>
               <xs:sequence>
                  <xs:element maxOccurs="1" minOccurs="0" name="key" type="xs:normalizedString">
                     <xs:annotation>
                        <xs:appinfo>
                           <rest:metadata xmlns:rest="uri:com.boomi.rest" indexed="true" required="true" />
                        </xs:appinfo>
                     </xs:annotation>
                  </xs:element>
                  <xs:element maxOccurs="1" minOccurs="0" name="content" type="xs:string">
                     <xs:annotation>
                        <xs:appinfo>
                           <rest:metadata xmlns:rest="uri:com.boomi.rest" indexed="true" multiline="true" required="false" />
                        </xs:appinfo>
                     </xs:annotation>
                  </xs:element>
                  <xs:element maxOccurs="1" minOccurs="0" name="date" type="xs:dateTime">
                     <xs:annotation>
                        <xs:appinfo>
                           <rest:metadata xmlns:rest="uri:com.boomi.rest" indexed="true" required="false" />
                        </xs:appinfo>
                     </xs:annotation>
                  </xs:element>
                  <xs:element maxOccurs="1" minOccurs="0" name="author" type="xs:normalizedString">
                     <xs:annotation>
                        <xs:appinfo>
                           <rest:metadata xmlns:rest="uri:com.boomi.rest" indexed="true" required="false" />
                        </xs:appinfo>
                     </xs:annotation>
                  </xs:element>
               </xs:sequence>
            </xs:complexType>
         </xs:element>
      </xs:schema>
   </definition>
</ObjectDefinitions>

 

We have tried this with and without the encapsulating "definition" and "ObjectDefinition" tags, with the same error. The connector log does not show any entries when running this.

 

Any help you can provide would be appreciated - thank you!

Outcomes