Add error logs when indexing is blocked by a a lock file
--------------------------------------------------------

                 Key: NXP-4261
                 URL: http://jira.nuxeo.org/browse/NXP-4261
             Project: Nuxeo Enterprise Platform
          Issue Type: Bug
    Affects Versions: 5.3 RC
            Reporter: Anahide Tchertchian
            Assignee: Thierry Delprat
             Fix For: 5.3.x


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: 
http://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