<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Null pointer exception on model.save in CRM and CX Q&amp;A</title>
    <link>https://community.sap.com/t5/crm-and-cx-q-a/null-pointer-exception-on-model-save/qaa-p/11997485#M362947</link>
    <description>&lt;P&gt;We have added added the vehicle model.here so in order to save..getModelService().save(vehicleModel);
here null pointer exception in save model method,&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2018 07:10:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2018-02-08T07:10:01Z</dc:date>
    <item>
      <title>Null pointer exception on model.save</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/null-pointer-exception-on-model-save/qaq-p/11997483</link>
      <description>&lt;P&gt;I  am trying to save model its getting null pointer exception here.
Although the attribute values are able to get and set.
There are total 4 values that has been set and are saved.
Any help.&lt;/P&gt;
&lt;P&gt;Regards, Rakesh
&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 08:20:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/null-pointer-exception-on-model-save/qaq-p/11997483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-02-07T08:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer exception on model.save</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/null-pointer-exception-on-model-save/qaa-p/11997484#M362946</link>
      <description>&lt;P&gt;Can you mention how are you creating and saving values in model, also you can debug which value is coming as null ?
&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 08:30:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/null-pointer-exception-on-model-save/qaa-p/11997484#M362946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-02-07T08:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer exception on model.save</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/null-pointer-exception-on-model-save/qaa-p/11997485#M362947</link>
      <description>&lt;P&gt;We have added added the vehicle model.here so in order to save..getModelService().save(vehicleModel);
here null pointer exception in save model method,&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 07:10:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/null-pointer-exception-on-model-save/qaa-p/11997485#M362947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-02-08T07:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer exception on model.save</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/null-pointer-exception-on-model-save/qaa-p/11997486#M362948</link>
      <description>&lt;P&gt;Hi Rakesh,&lt;/P&gt;
&lt;P&gt;There are two Possibilities for this ,
1)Debug the code and check the modelService , if it is not injected modelSerivce will be null value,So when saving the model will get the Null pointer exception("null.save(vehicleModel )").&lt;/P&gt;
&lt;P&gt;2) This issue may come from the Interceptor.check ,is there any interceptor configured for this vehicleModel and if it is there  check logic where is the possibility for getting the null pointer exception .&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 10:24:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/null-pointer-exception-on-model-save/qaa-p/11997486#M362948</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-02-08T10:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer exception on model.save</title>
      <link>https://community.sap.com/t5/crm-and-cx-q-a/null-pointer-exception-on-model-save/qaa-p/11997487#M362949</link>
      <description>&lt;P&gt;moved from the yaas space
&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 11:46:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/crm-and-cx-q-a/null-pointer-exception-on-model-save/qaa-p/11997487#M362949</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-02-08T11:46:48Z</dc:date>
    </item>
  </channel>
</rss>

