Details

      Description

      Reproduce 2 Options:

      1) Control Panel -> Server Administration -> Reindex all search indexes.
      2) Index on startup (index.on.startup=true)

      Error Message:

      21:38:17,500 ERROR [FileSystemHook:264] Reindexing DLFE
      java.lang.NullPointerException
      at com.liferay.documentlibrary.util.FileSystemHook.reIndex(FileSystemHook.java:260)
      at com.liferay.documentlibrary.util.Indexer.reIndex(Indexer.java:334)
      at com.liferay.documentlibrary.service.impl.DLServiceImpl.reIndex(DLServiceImpl.java:182)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      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 $Proxy123.reIndex(Unknown Source)
      at com.liferay.portlet.documentlibrary.service.impl.DLFolderLocalServiceImpl.reIndex(DLFolderLocalServiceImpl.java:417)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      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 $Proxy120.reIndex(Unknown Source)
      at com.liferay.portlet.documentlibrary.service.DLFolderLocalServiceUtil.reIndex(DLFolderLocalServiceUtil.java:285)
      at com.liferay.portlet.documentlibrary.util.Indexer.reIndex(Indexer.java:101)
      at com.liferay.portal.search.lucene.LuceneIndexer.doReIndex(LuceneIndexer.java:154)
      at com.liferay.portal.search.lucene.LuceneIndexer.reIndex(LuceneIndexer.java:74)
      at com.liferay.portal.search.lucene.LuceneIndexer.run(LuceneIndexer.java:63)
      at java.lang.Thread.run(Thread.java:595)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 23 weeks, 4 days ago