Type: Regression Bug
Affects Version/s: 6.2.0 CE M4
Fix Version/s: 6.2.0 CE M4
Environment:Tomcat 7 + Oracle 11gR2. Portal 6.2.x GIT ID: 6b7defb818ca7be926207855a141e3b30e5898f4.
Similar Issues:Show 5 results
LPS-42343 Upgrade from 6.0.6 to 6.2.0 CE GA 1 fails using postgresql LPS-35965 Upgrading from 6.0.6 to 6.2.x fails on Oracle LPS-26428 Upgrade from 6.0.6 to 6.1 is failing LPS-21037 Upgrade from 6.0.6 to 6.1.x for tomcat + postgres fails (see log) LPS-41921 Exceptions when upgrading from 6.0.6 to 6.2.0 CE GA1
While upgrading from 6.0.6 to current trunk (6.2) and the process starts to execute com.liferay.portal.upgrade.v6_2_0.UpgradeJournal the following exception occurs and the portal is terminated thereafter.
(Full log attached).
When it fails, method updateXSDDynamicElement in JournalConverterUtil trying to convert the following XML document:
As none of the dynamic-element tags have an "index-type" attribe, the following line becomes the victim of NPE.
Steps to reproduce
1) Setup a Liferay 6.0.6 instance
2) Start it so that the table be generated in the DB (I was using Oracle when I discovered the bug, but it does not seem to be DB specific).
3) Stop Liferay 6.0.6
Alternatively you can import the attached dump file in the following way; you might have to adjust imp_schema.par to fit your environment.
4) Compile trunk
5) Copy the data folder over to the home of the newly compiled Liferay instance.
6) Setup portal-ext.properties to use the previously created database.
7) Start Liferay 6.2.x
The last three steps can be done by the attached shell script.