Unable to import cabi 3.32 lar file

book

Article ID: 125632

calendar_today

Updated On:

Products

DX Infrastructure Management NIMSOFT PROBES

Issue/Introduction

The following error is displayed when importing the cabi 3.32 lar for a user;  :Unexpected error occurred while importing your file "

Error captured in the portal log: 
[ImportLayoutsAction:127] com.liferay.portal.kernel.exception.SystemException: java.lang.NullPointerException 
com.liferay.portal.kernel.exception.SystemException: java.lang.NullPointerException 
at com.liferay.portal.service.impl.LayoutLocalServiceImpl.importLayouts(LayoutLocalServiceImpl.java:1550) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
at java.lang.reflect.Method.invoke(Method.java:498) 
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:117) 
at com.liferay.portal.service.impl.LayoutLocalServiceVirtualLayoutsAdvice.invoke(LayoutLocalServiceVirtualLayoutsAdvice.java:175) 
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:113) 
at com.liferay.portal.service.impl.LayoutLocalServiceStagingAdvice.invoke(LayoutLocalServiceStagingAdvice.java:124) 
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:113) 

Cause

Suspect cabi.lar file 

Environment

UIM 9.02 
Cabi 3.32

Resolution

1. Create a new UMP Contact user and verify that CABI dashboards worked fine. 
2. Export the CABI Dashboard from the new UMP Contact user and imported the lar to other users