com.liferay.portal.kernel.lar.PortletDataException: java.lang.ArrayIndexOutOfBoundsException: 2

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

com.liferay.portal.kernel.lar.PortletDataException: java.lang.ArrayIndexOutOfBoundsException: 2
at com.liferay.portal.lar.ExportImportHelperImpl.getDLReferenceParameters(ExportImportHelperImpl.java:1563)
at com.liferay.portal.lar.ExportImportHelperImpl.replaceExportDLReferences(ExportImportHelperImpl.java:569)
at com.liferay.portal.kernel.lar.ExportImportHelperUtil.replaceExportDLReferences(ExportImportHelperUtil.java:145)
at com.liferay.portal.lar.ExportImportHelperImpl.replaceExportContentReferences(ExportImportHelperImpl.java:512)
at com.liferay.portlet.wiki.lar.WikiPageStagedModelDataHandler.doExportStagedModel(WikiPageStagedModelDataHandler.java:84)
at com.liferay.portal.kernel.lar.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:68)
at com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil.exportStagedModel(StagedModelDataHandlerUtil.java:166)
at com.liferay.portlet.wiki.service.persistence.WikiPageExportActionableDynamicQuery.performAction(WikiPageExportActionableDynamicQuery.java:98)
at com.liferay.portal.kernel.dao.orm.BaseActionableDynamicQuery.performActionsInSingleInterval(BaseActionableDynamicQuery.java:309)
at com.liferay.portal.kernel.lar.BasePortletDataHandler.exportData(BasePortletDataHandler.java:120)
at com.liferay.portal.lar.PortletExporter.exportPortletData(PortletExporter.java:200)
at com.liferay.portal.lar.PortletExporter.exportPortlet(PortletExporter.java:1063)
at com.liferay.portal.lar.PortletExporter.doExportPortletInfoAsFile(PortletExporter.java:499)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
at com.liferay.portal.service.impl.LayoutLocalServiceVirtualLayoutsAdvice.invoke(LayoutLocalServiceVirtualLayoutsAdvice.java:180)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
at com.liferay.portal.service.impl.LayoutLocalServiceStagingAdvice.invoke(LayoutLocalServiceStagingAdvice.java:141)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
at com.sun.proxy.$Proxy34.exportPortletInfoAsFile(Unknown Source)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72)
at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:69)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:682)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.