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-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-33565 Upgrade from 6.0.6 to 6.2 fails at VerifyLayout LPS-25669 Upgrade from 6.0.6 to 6.1.0 CE GA1 failing with errors LPS-22976 Upgrade fails when adding an organization from 5.2.3 or 6.0.6 to 6.1.x
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.