The contents you find here are totally obsolete so do not use this website to obtain a solution for your issues: the indications you get from here will not be accurate and may lead to data loss or other mayor problems

Exception when indexing files

We tried to make LogicalDOC as intuitive as possible, but an advice is always welcome.

Moderator: car031

ciAnd7
Posts: 2
Joined: Fri Apr 08, 2011 12:06 pm

Exception when indexing files

Fri Apr 08, 2011 12:12 pm

Hi,

We are running LogicalDOC 6.0.2 CE. All seems to be fine, but indexing task crashed with exception:

Code: Select all

2011-04-08 14:55:30.620	ERROR	com.logicaldoc.core.searchengine.IndexerTask	null
java.lang.Exception 
    	at com.logicaldoc.core.searchengine.Indexer.addFile(Indexer.java:87) 
    	at com.logicaldoc.core.document.DocumentManagerImpl.reindex(DocumentManagerImpl.java:305) 
    	at sun.reflect.GeneratedMethodAccessor224.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:309) 
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) 
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) 
    	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) 
    	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) 
    	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) 
    	at $Proxy22.reindex(Unknown Source) 
    	at com.logicaldoc.core.searchengine.IndexerTask.runTask(IndexerTask.java:82) 
    	at com.logicaldoc.core.task.Task.run(Task.java:113) 
    	at java.lang.Thread.run(Thread.java:662) 
    Caused by: java.lang.NullPointerException 
    	at com.logicaldoc.core.searchengine.Indexer.getIndexDirectory(Indexer.java:466) 
    	at com.logicaldoc.core.searchengine.Indexer.deleteDocument(Indexer.java:302) 
    	at com.logicaldoc.core.searchengine.Indexer.addDocument(Indexer.java:98) 
    	at com.logicaldoc.core.searchengine.Indexer.addFile(Indexer.java:84) 
    	... 14 more
So, indexing stops with errors and some documents don`t indexed:

2011-04-08 14:55:30.621 INFO com.logicaldoc.core.searchengine.IndexerTask Indexing finished
2011-04-08 14:55:30.621 INFO com.logicaldoc.core.searchengine.IndexerTask Documents indexed: 0
2011-04-08 14:55:30.621 INFO com.logicaldoc.core.searchengine.IndexerTask Errors: 22
2011-04-08 14:55:30.625 INFO com.logicaldoc.core.searchengine.IndexerTask Task IndexerTask finished


Any help please.

Thanks.
agaspa
Posts: 714
Joined: Tue Apr 20, 2010 8:24 am

Re: Exception when indexing files

Fri Apr 08, 2011 4:18 pm

Which kind of document have you added to logicaldoc ?
We need to know their extensions.

Please report this problem in the appropriate bug tracking system: http://issues.logicaldoc.com, otherwise we can't track his resolution!
ciAnd7
Posts: 2
Joined: Fri Apr 08, 2011 12:06 pm

Re: Exception when indexing files

Sat Apr 09, 2011 10:24 am

We add PDF and ZIP files.
I have created ticket http://issues.logicaldoc.com/ticket/50

Return to “Usage”

Who is online

Users browsing this forum: No registered users and 49 guests

× Attention! This forum has been dismissed and will be soon removed. The contents you find here are totally obsolete so do not use this website to obtain a solution for your issues: the indications you get from here will not be accurate and may lead to data loss or other mayor problems.