[ 
https://jira.nuxeo.org/browse/NXP-4261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=83863#action_83863
 ] 

Anahide Tchertchian commented on NXP-4261:
------------------------------------------

first error message is ok:
2010-11-02 14:23:51,242 ERROR [org.nuxeo.ecm.core.storage.sql.db.H2Fulltext] 
Cannot open fulltext index
org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: 
SimpleFSLock@/opt/nuxeo-dm-5.4.0-SNAPSHOT-jboss/server/default/data/NXRuntime/data/h2/nuxeo.lucene/write.lock
        at org.apache.lucene.store.Lock.obtain(Lock.java:85)
        at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:692)
        at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:453)

second error message is now ok too:
2010-11-02 14:25:20,557 ERROR 
[javax.enterprise.resource.webcontainer.jsf.application] 
org.nuxeo.ecm.core.api.RollbackClientException: 
org.nuxeo.ecm.core.api.WrappedException: Exception: 
org.nuxeo.ecm.core.api.ClientException. message: Failed to save session
javax.faces.el.EvaluationException: 
org.nuxeo.ecm.core.api.RollbackClientException: 
org.nuxeo.ecm.core.api.WrappedException: Exception: 
org.nuxeo.ecm.core.api.ClientException. message: Failed to save session
        at javax.faces.component.MethodBindingMethodExpression
...

Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
java.sql.SQLException. message: Fulltext index was not initialized
        at 
org.nuxeo.ecm.core.storage.sql.db.H2Fulltext$Trigger.fire(H2Fulltext.java:620)
        at org.h2.schema.TriggerObject.fireRow(TriggerObject.java:182)



> Add error logs when indexing is blocked by a a lock file
> --------------------------------------------------------
>
>                 Key: NXP-4261
>                 URL: https://jira.nuxeo.org/browse/NXP-4261
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>          Components: Search / Query
>    Affects Versions: 5.3 RC
>            Reporter: Anahide Tchertchian
>            Assignee: Anahide Tchertchian
>             Fix For: 5.4
>
>
> When there's a remaining lock file in 
> $JBOSS/server/default/data/h2/nuxeo.lucene/write.lock, indexer is not created 
> properly and error logs about the lock file are swallowed.
> When creating a doc, it ends up with the following stack trace:
> Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
> org.nuxeo.ecm.core.storage.StorageException. message: Could not insert: 
> INSERT INTO "FULLTEXT" ("ID", "SIMPLETEXT", "BINARYTEXT") VALUES (?, ?, ?)
> at org.nuxeo.ecm.core.storage.sql.Mapper.insertSingleRow(Mapper.java:800) 
> ...
> Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
> org.h2.jdbc.JdbcSQLException. message: General error: 
> java.lang.NullPointerException; SQL statement:
> INSERT INTO "FULLTEXT" ("ID", "SIMPLETEXT", "BINARYTEXT") VALUES (?, ?, ?) 
> [50000-114] 
> ...
> Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
> java.lang.NullPointerException. message: null
> at 
> org.nuxeo.ecm.core.storage.sql.db.H2Fulltext$Trigger.insert(H2Fulltext.java:641)
>  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to