<?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>Liferay 7.3.6 GA7 java.lang.NullPointerException in service builder methods</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120753013" />
  <subtitle>Liferay 7.3.6 GA7 java.lang.NullPointerException in service builder methods</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120753013</id>
  <updated>2026-06-13T15:21:19Z</updated>
  <dc:date>2026-06-13T15:21:19Z</dc:date>
  <entry>
    <title>RE: RE: Liferay 7.3.6 GA7 java.lang.NullPointerException in service builder</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120842429" />
    <author>
      <name>Francisco Javier Rivera</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120842429</id>
    <updated>2021-06-24T05:53:35Z</updated>
    <published>2021-06-24T05:53:35Z</published>
    <summary type="html">&lt;p&gt;I managed to fix it. What I had to do was download a more recent
  version of Developer Studio, create a new workspace and it worked.
  Christoph Rabel was right&lt;/p&gt;</summary>
    <dc:creator>Francisco Javier Rivera</dc:creator>
    <dc:date>2021-06-24T05:53:35Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: Liferay 7.3.6 GA7 java.lang.NullPointerException in service builder</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120842119" />
    <author>
      <name>Prashant Ballal</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120842119</id>
    <updated>2021-06-23T17:47:37Z</updated>
    <published>2021-06-23T17:47:37Z</published>
    <summary type="html">&lt;p&gt;No. I couldn't resolve it. Have you tried what Christoph Rabel has suggested.&lt;/p&gt;</summary>
    <dc:creator>Prashant Ballal</dc:creator>
    <dc:date>2021-06-23T17:47:37Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.3.6 GA7 java.lang.NullPointerException in service builder met</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120843927" />
    <author>
      <name>Francisco Javier Rivera</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120843927</id>
    <updated>2021-06-23T17:40:48Z</updated>
    <published>2021-06-23T17:40:48Z</published>
    <summary type="html">&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Have you managed to solve this problem? I am in the same situation
  and I do not see a solution&lt;/p&gt;</summary>
    <dc:creator>Francisco Javier Rivera</dc:creator>
    <dc:date>2021-06-23T17:40:48Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: Liferay 7.3.6 GA7 java.lang.NullPointerException in service builder</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120843906" />
    <author>
      <name>Francisco Javier Rivera</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120843906</id>
    <updated>2021-06-23T17:39:04Z</updated>
    <published>2021-06-23T17:39:04Z</published>
    <summary type="html">&lt;p&gt;Hola, conseguiste resolver este problema, yo estoy en la misma situación&lt;/p&gt;</summary>
    <dc:creator>Francisco Javier Rivera</dc:creator>
    <dc:date>2021-06-23T17:39:04Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.3.6 GA7 java.lang.NullPointerException in service builder met</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120788967" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120788967</id>
    <updated>2021-06-24T05:56:28Z</updated>
    <published>2021-05-17T16:22:23Z</published>
    <summary type="html">&lt;p&gt;No, that's not sufficient.&lt;/p&gt;
&lt;p&gt;buildService needs to be done with a sufficiently high version of the
  service builder plugin. The simplest way to get that is to use the
  most current workspace. Update settings.gradle and update the version
  number of the plugins workspace:&lt;/p&gt;
&lt;p&gt;  classpath(group: &amp;quot;com.liferay&amp;quot;, name:
  &amp;quot;com.liferay.gradle.plugins.workspace&amp;quot;, version: &amp;quot;3.4.8&amp;quot;)&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2021-05-17T16:22:23Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.3.6 GA7 java.lang.NullPointerException in service builder met</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120788831" />
    <author>
      <name>Mario González</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120788831</id>
    <updated>2021-05-17T16:33:33Z</updated>
    <published>2021-05-17T10:54:45Z</published>
    <summary type="html">&lt;p&gt;I forgot to mention that I've tried disabling the entity cache and
  the result is the same&lt;/p&gt;</summary>
    <dc:creator>Mario González</dc:creator>
    <dc:date>2021-05-17T10:54:45Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.3.6 GA7 java.lang.NullPointerException in service builder met</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120788826" />
    <author>
      <name>Mario González</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120788826</id>
    <updated>2021-05-17T16:33:33Z</updated>
    <published>2021-05-17T10:48:05Z</published>
    <summary type="html">&lt;p&gt;Hi, I'm facing the exact same issue, in my case is a test environment
  created for upgrade from version 7.3.5. My project works as expected
  on 7.3.5, but on 7.3.6 I'm facing the same problem (I can read data
  but not update).&lt;/p&gt;
&lt;p&gt;Any help would be great&lt;/p&gt;</summary>
    <dc:creator>Mario González</dc:creator>
    <dc:date>2021-05-17T10:48:05Z</dc:date>
  </entry>
  <entry>
    <title>Liferay 7.3.6 GA7 java.lang.NullPointerException in service builder methods</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120753012" />
    <author>
      <name>Prashant Ballal</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120753012</id>
    <updated>2021-05-02T11:37:13Z</updated>
    <published>2021-05-02T11:37:13Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using 7.3.6 GA7 CE with the tomcat bundle and MySQL as DB. I
  created one service module and created add and update method in
  *LocalServiceImpl. I am getting the below error while adding/updating
  the entity in a custom table.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;pre&gt;&lt;code class="language-java"&gt;java.lang.NullPointerException
        at com.liferay.portal.cache.internal.dao.orm.FinderCacheImpl._getArguments(FinderCacheImpl.java:466)
        at com.liferay.portal.cache.internal.dao.orm.FinderCacheImpl.updateByEntityCache(FinderCacheImpl.java:378)
        at com.liferay.portal.cache.internal.dao.orm.EntityCacheImpl._putResult(EntityCacheImpl.java:439)
        at com.liferay.portal.cache.internal.dao.orm.EntityCacheImpl.putResult(EntityCacheImpl.java:336)
        at com.liferay.portal.cache.internal.dao.orm.EntityCacheImpl.putResult(EntityCacheImpl.java:358)
        at com.liferay.portal.cache.internal.dao.orm.EntityCacheImpl.putResult(EntityCacheImpl.java:328)&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I googled the issue. As per the suggestion, there is an issue with
  the service builder template, but I checked the service.xml and it
  already contains version 7.3.0 as shown below:&lt;/p&gt;
&lt;pre&gt;&lt;code class="language-java"&gt;&amp;lt;!DOCTYPE service-builder PUBLIC &amp;quot;-//Liferay//DTD Service Builder 7.3.0//EN&amp;quot; &amp;quot;http://www.liferay.com/dtd/liferay-service-builder_7_3_0.dtd&amp;quot;&amp;gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;</summary>
    <dc:creator>Prashant Ballal</dc:creator>
    <dc:date>2021-05-02T11:37:13Z</dc:date>
  </entry>
</feed>
