Laliwala IT Services

Laliwala IT Services
Website Development

Monday, February 21, 2011

Reindexing throws NullPointer Exception, liferay 5.2.4 version, supporting, ie cannot display, web page, browser stops support, liferay, systemhook, 6

Pooja P Joshi : Hi All,





We are facing one Re-indexing issue. we are using Liferay 5.2.4 version When I do Re-indexing from control panel, after some time browser stops supporting and it shows "IE cannot display the web page".








Tomcat Error logs are as below:








09:36:17,706 ERROR [FileSystemHook:262] Reindexing DLFE-1630.doc


java.lang.NullPointerException





at com.liferay.documentlibrary.util.FileSystemHook.reIndex(FileSystemHook.java:258)


at com.liferay.documentlibrary.util.Indexer.reIndex(Indexer.java:317)


at com.liferay.documentlibrary.service.impl.DLServiceImpl.reIndex(DLServiceImpl.java:180)


at sun.reflect.GeneratedMethodAccessor758.invoke(Unknown Source)


at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


at java.lang.reflect.Method.invoke(Method.java:597)


at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)


at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:


at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)


at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)


at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)


at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)


at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)


at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)


at $Proxy122.reIndex(Unknown Source)


at com.liferay.portlet.documentlibrary.service.impl.DLFolderLocalServiceImpl.reIndex(DLFolderLocalServiceImpl.ja


va:415)


at sun.reflect.GeneratedMethodAccessor1246.invoke(Unknown Source)


at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


at java.lang.reflect.Method.invoke(Method.java:597)


at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)


at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:

182)


at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)


at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)


at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)


at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)


at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)


at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)


at $Proxy119.reIndex(Unknown Source)


at com.liferay.portlet.documentlibrary.service.DLFolderLocalServiceUtil.reIndex(DLFolderLocalServiceUtil.java:28


Any idea what could be the reason for this? Any solution?








Thanks,

-Pooja






Mazhar Anwar : It seems you have some entries in your_portal/data/document_libraray/(Your Document repository folder) folder and respective entries are not there in DLFileentry Table.








You can either delete /data/document_libraray/DLFE-1630.doc folder or create respective entries in DLFileEntry Table.

No comments:

Post a Comment