Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-8435

com.liferay.portal.convert.ConvertPermissionAlgorithm - java.lang.ArrayIndexOutOfBoundsException: 0

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.1.2, 5.2.3, 6.0.4 GA
    • Fix Version/s: 6.0.4 GA, 6.0.5 GA
    • Labels:
      None
    • Environment:
      Liferay 5.2.3 with Derby DB
      Upgraded several times (started with Liferay 3.6.x)
    • Branch Version/s:
      6.0.x, 5.2.x, 5.1.x
    • Backported to Branch:
      Committed
    • Liferay Contributor's Agreement:
      Accept

      Description

      This happend as I tried to upgrade the permission algorithm from 2 to 5/6 on a long running portal installation.

      INFO | jvm 1 | 2010/03/18 13:00:43 | 2010-03-18 13:00:43,036 FATAL [liferay/convert_process:] com.liferay.portal.convert.ConvertPermissionAlgorithm - java.lang.ArrayIndexOutOfBoundsException: 0
      INFO | jvm 1 | 2010/03/18 13:00:43 | java.lang.ArrayIndexOutOfBoundsException: 0
      INFO | jvm 1 | 2010/03/18 13:00:43 | at com.liferay.portal.convert.ConvertPermissionAlgorithm._convertToBitwise(ConvertPermissionAlgorithm.java:176)
      INFO | jvm 1 | 2010/03/18 13:00:43 | at com.liferay.portal.convert.ConvertPermissionAlgorithm.doConvert(ConvertPermissionAlgorithm.java:125)
      INFO | jvm 1 | 2010/03/18 13:00:43 | at com.liferay.portal.convert.ConvertProcess.convert(ConvertProcess.java:41)
      INFO | jvm 1 | 2010/03/18 13:00:43 | at com.liferay.portal.convert.messaging.ConvertProcessMessageListener.doReceive(ConvertProcessMessageListener.java:59)
      INFO | jvm 1 | 2010/03/18 13:00:43 | at com.liferay.portal.convert.messaging.ConvertProcessMessageListener.receive(ConvertProcessMessageListener.java:44)
      INFO | jvm 1 | 2010/03/18 13:00:43 | at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:70)
      INFO | jvm 1 | 2010/03/18 13:00:43 | at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:54)
      INFO | jvm 1 | 2010/03/18 13:00:43 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      INFO | jvm 1 | 2010/03/18 13:00:43 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      INFO | jvm 1 | 2010/03/18 13:00:43 | at java.lang.Thread.run(Unknown Source)

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 12 weeks, 2 days ago