1 Reply Latest reply: Feb 4, 2014 8:26 AM by harikumarmpl RSS

    API CZ_CF_API.VALIDATE returns error java.lang.NullPointerException

    ocol

      Hi,

       

      When I try to validate quote configurations using the API CZ_CF_API.VALIDATE example provised in SR "Example Source Code Using cz_cf_api.Validate (Doc ID 1304254.1)" I get the following error:

       

      <initialize>

        <param+name="organization_id">103</param>

        <param+name="config_creation_date">11-27-2013</param>

        <param+name="database_id">REF</param>

        <param+name="calling_application_id">880</param>

        <param+name="responsibility_id">50256</param>

        <param+name="inventory_item_id">168</param>

        <param+name="config_header_id">13122360</param>

        <param+name="config_rev_nbr">2</param>

        <param+name="read_only">false</param>

        <param+name="save_config_behavior">never</param>

        <param+name="save_usage_behavior">never</param>

        <param+name="user">SUPPORT</param>

        <param+name="pwd">MY_USER_PASSWORD</param>

      </initialize>

      Start Time :13/11/27:10:52:10

      End Time :13/11/27:10:52:10

      Config processed successfully

      Recieved Response from the server follows ....

      <?xml version='1.0'?>

       

      <terminate>

        <exit>error</exit>

        <config_messages>

          <message>

            <message_type>error</message_type>

            <message_text>java.lang.NullPointerException: Host [mycompany.com], Name [null] and/or Port [1527] is null</message_text>

          </message>

        </config_messages>

      </terminate>

      PL/SQL procedure successfully completed.

       

      I used the following url:

      http://mycompany.com:8006/configurator/oracle.apps.cz.servlet.UiServlet

      (where mycompany is replaced by the relevant string)

       

      It looks like the "Name" parameter is null, but I wonder what is this parameter...

       

      Any Idea?

       

      This a urgent issue. Thanks in advance. :-)

       

      Olivier