<?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>Upgrade from 6.2 to 7</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110327248" />
  <subtitle>Upgrade from 6.2 to 7</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110327248</id>
  <updated>2026-04-06T10:03:00Z</updated>
  <dc:date>2026-04-06T10:03:00Z</dc:date>
  <entry>
    <title>RE: Upgrade from 6.2 to 7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110345332" />
    <author>
      <name>Minhchau Dang</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110345332</id>
    <updated>2018-06-26T18:25:48Z</updated>
    <published>2018-06-26T18:25:48Z</published>
    <summary type="html">&lt;p&gt;My reply was lost in yesterday's site outage, but we'd encountered
  the problem as part of our release preparation for 7.1, and we
  documented it in &lt;a href="https://issues.liferay.com/browse/LPS-82417"&gt;LPS-82417&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To summarize the issue, one of your templates was orphaned (its
  structure must have been deleted some how, possibly during 6.1 when
  Liferay did not have any safeguards against it), and deleting that
  orphaned template from the database is one way to resolve the issue
  and allow your upgrade to proceed.&lt;/p&gt;</summary>
    <dc:creator>Minhchau Dang</dc:creator>
    <dc:date>2018-06-26T18:25:48Z</dc:date>
  </entry>
  <entry>
    <title>RE: Upgrade from 6.2 to 7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110342080" />
    <author>
      <name>Bhavin Panchani</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110342080</id>
    <updated>2018-06-26T13:29:17Z</updated>
    <published>2018-06-26T13:29:17Z</published>
    <summary type="html">&lt;p&gt;Thanks Olaf.&lt;/p&gt;
&lt;p&gt;I am able to solve the issue.&lt;br /&gt;
  &lt;br /&gt; I have deleted entries in DDMTemplate table for which classPK
  value doesn't exist in DDMStructure table. &lt;br /&gt;
  &lt;br /&gt; Thanks,&lt;br /&gt; Bhavin Panchani&lt;/p&gt;</summary>
    <dc:creator>Bhavin Panchani</dc:creator>
    <dc:date>2018-06-26T13:29:17Z</dc:date>
  </entry>
  <entry>
    <title>RE: Upgrade from 6.2 to 7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110328606" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110328606</id>
    <updated>2018-06-24T08:44:07Z</updated>
    <published>2018-06-24T08:44:07Z</published>
    <summary type="html">&lt;blockquote&gt;
  &lt;div class="quote-title"&gt;Bhavin Panchani:&lt;/div&gt;
  &lt;div class="quote"&gt;
    &lt;div class="quote-content"&gt;
      &lt;p&gt;I am working on upgrade from liferay 6.2 to 7. I am getting
        below error while running upgrade:executeAll&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;Low hanging fruit upfront: Please share the minor versions that you
  use as well.&lt;/p&gt;
&lt;p&gt;It's especially critical to always upgrade to the latest available
  target version, as the upgrade routines might also contain fixes.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2018-06-24T08:44:07Z</dc:date>
  </entry>
  <entry>
    <title>Upgrade from 6.2 to 7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110327247" />
    <author>
      <name>Bhavin Panchani</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110327247</id>
    <updated>2018-06-23T13:32:48Z</updated>
    <published>2018-06-23T13:32:48Z</published>
    <summary type="html">&lt;p&gt;I am working on upgrade from liferay 6.2 to 7. I am getting below
  error while running upgrade:executeAll&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;INFO - Completed
  com.liferay.dynamic.data.mapping.internal.upgrade.v1_0_0.UpgradeDynamicDataMapping#upgradeTemplatesAndAddTemplateVersions
  in 31 ms&lt;br /&gt; INFO - Failed upgrade process
  com.liferay.dynamic.data.mapping.internal.upgrade.v1_0_0.UpgradeDynamicDataMapping
  in 1216ms&lt;/p&gt;
&lt;p&gt;Failed upgrade process for module
  com.liferay.dynamic.data.mapping.service:&lt;br /&gt;
  java.lang.RuntimeException:
  com.liferay.portal.kernel.upgrade.UpgradeException:
  java.lang.NullPointerException&lt;br /&gt;     at
  com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands$UpgradeInfosRunnable.run(ReleaseManagerOSGiCommands.java:564)&lt;br /&gt;
      at
  com.liferay.portal.output.stream.container.internal.OutputStreamContainerFactoryTrackerImpl.runWithSwappedLog(OutputStreamContainerFactoryTrackerImpl.java:106)&lt;br /&gt;
      at
  com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands.executeUpgradeInfos(ReleaseManagerOSGiCommands.java:337)&lt;br /&gt;
      at
  com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands.doExecute(ReleaseManagerOSGiCommands.java:280)&lt;br /&gt;
      at
  com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands.executeAll(ReleaseManagerOSGiCommands.java:300)&lt;br /&gt;
      at
  com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands.executeAll(ReleaseManagerOSGiCommands.java:163)&lt;br /&gt;
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
  Method)&lt;br /&gt;     at
  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;br /&gt;
      at
  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;br /&gt;
      at java.lang.reflect.Method.invoke(Method.java:498)&lt;br /&gt;     at
  org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)&lt;br /&gt;
      at
  org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)&lt;br /&gt;
      at
  org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)&lt;br /&gt;
      at
  org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)&lt;br /&gt;
      at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)&lt;br /&gt;   
   at
  org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)&lt;br /&gt;
      at
  org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)&lt;br /&gt;
      at
  org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)&lt;br /&gt;
      at org.apache.felix.gogo.shell.Console.run(Console.java:62)&lt;br /&gt;
      at org.apache.felix.gogo.shell.Shell.console(Shell.java:203)&lt;br /&gt;
      at org.apache.felix.gogo.shell.Shell.gosh(Shell.java:128)&lt;br /&gt;   
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br /&gt;
      at
  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;br /&gt;
      at
  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;br /&gt;
      at java.lang.reflect.Method.invoke(Method.java:498)&lt;br /&gt;     at
  org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)&lt;br /&gt;
      at
  org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)&lt;br /&gt;
      at
  org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)&lt;br /&gt;
      at
  org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)&lt;br /&gt;
      at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)&lt;br /&gt;   
   at
  org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)&lt;br /&gt;
      at
  org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)&lt;br /&gt;
      at
  org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)&lt;br /&gt;
      at
  org.eclipse.equinox.console.telnet.TelnetConnection.run(TelnetConnection.java:94)&lt;br /&gt;
  Caused by: com.liferay.portal.kernel.upgrade.UpgradeException:
  java.lang.NullPointerException&lt;br /&gt;     at
  com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:97)&lt;br /&gt;
      at
  com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:129)&lt;br /&gt;
      at
  com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands$UpgradeInfosRunnable.run(ReleaseManagerOSGiCommands.java:539)&lt;br /&gt;
      ... 33 more&lt;br /&gt; Caused by: java.lang.NullPointerException&lt;br /&gt;
      at
  com.liferay.dynamic.data.mapping.internal.upgrade.v1_0_0.UpgradeDynamicDataMapping.getTemplateResourceClassNameId(UpgradeDynamicDataMapping.java:512)&lt;br /&gt;
      at
  com.liferay.dynamic.data.mapping.internal.upgrade.v1_0_0.UpgradeDynamicDataMapping.upgradeTemplatesAndAddTemplateVersions(UpgradeDynamicDataMapping.java:1318)&lt;br /&gt;
      at
  com.liferay.dynamic.data.mapping.internal.upgrade.v1_0_0.UpgradeDynamicDataMapping.doUpgrade(UpgradeDynamicDataMapping.java:254)&lt;br /&gt;
      at
  com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade(UpgradeProcess.java:92)&lt;br /&gt;
      ... 35 more&lt;br /&gt; INFO - Upgrading
  com.liferay.asset.browser.web.internal.upgrade.AssetBrowserWebUpgrade$1&lt;br /&gt;
  INFO - Starting
  com.liferay.portal.kernel.upgrade.BaseUpgradePortletId#upgradeInstanceablePortletIds&lt;br /&gt;
  INFO - Completed
  com.liferay.portal.kernel.upgrade.BaseUpgradePortletId#upgradeInstanceablePortletIds
  in 71 ms&lt;br /&gt; INFO - Starting com.liferay.portal.kernel.upgrade.BaseUpgradePortletId#upgradeUninstanceablePortletIds&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;How do I fix this error?&lt;br /&gt;  &lt;/p&gt;</summary>
    <dc:creator>Bhavin Panchani</dc:creator>
    <dc:date>2018-06-23T13:32:48Z</dc:date>
  </entry>
</feed>
