Issue (View Online)

Key: NXP-653
Issue Type: Bug Bug
Status: Resolved Resolved
Priority: Minor Minor
Resolution: Fixed
Assignee: George Lefter
Reporter: Thierry Delprat
Original Estimate: 2 hours
Remaining Estimate: 2 hours

Operations

View all
View comments
View history
Creating a comment breaks the seach and the dashboard 
Updated: 22/02/07 11:20   Created: 21/02/07 23:58  

The following issue has been resolved as FIXED.

Author: George Lefter
Date: 22/02/07 11:20
Comment:
added schema "common", which fixes the Dashboard crash.
the crash in Search could not be reproduced

Project: Nuxeo Enterprise Platform 5
Components: Comments
Fix Versions: 5.1 M1

 Description   
When comments have been created the search is partially broken and the dashboard generate an HTTP 500 error.
This may be due to the fact that comment are documents that does not have the common schema (the one that is used by seach).

A quick fix would be to add the common schema.

Partial traceback :
        at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
        at org.jboss.seam.ui.facelet.MethodExpressionHelper.invokeTheExpression(MethodExpressionHelper.java:102)
        at org.jboss.seam.ui.facelet.ParamMethodExpression.invoke(ParamMethodExpression.java:62)
        at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
        ... 66 more
Caused by: org.nuxeo.ecm.core.query.QueryException: getDocumentModels failed
        at org.nuxeo.ecm.core.jcr.JCRQueryResult.getDocumentModels(JCRQueryResult.java:297)
        at org.nuxeo.ecm.core.api.AbstractSession.query(AbstractSession.java:774)
        ... 228 more
Caused by: java.lang.NullPointerException
        at org.nuxeo.ecm.core.api.DocumentModelFactory.exportSchema(DocumentModelFactory.java:181)
        at org.nuxeo.ecm.core.api.DocumentModelFactory.createDocumentModel(DocumentModelFactory.java:115)
        at org.nuxeo.ecm.core.jcr.JCRQueryResult.getDocumentModels(JCRQueryResult.java:291)
        ... 229 more

This message was automatically generated by Atlassian JIRA Enterprise Edition, Version: 3.7.2-186 - Bug/feature request.
If you think it was sent incorrectly, contact one of this server's administrators.

_______________________________________________
ECM-tickets mailing list
ECM-tickets@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to