Issue (View Online)

Key: NXP-654
Issue Type: Bug Bug
Status: Closed Closed
Priority: Major Major
Resolution: Not A Bug
Assignee: Dragos Mihalache
Reporter: Thierry Delprat
Original Estimate: 4 hours
Remaining Estimate: 4 hours

Operations

View all
View comments
View history
Search fails if documents do not have the common schema 
Updated: 26/02/07 16:53   Created: 22/02/07 00:00  

The following issue has been closed.

User: Thierry Delprat
Date: 26/02/07 16:53
Comment:
Comments are not included in the search.
Comments now have the common schema.

Project: Nuxeo Enterprise Platform 5
Components: Query / Search
Affects Versions: 5.1 M1
Fix Versions: 5.1 M1

 Description   
Search (and then DashBoard) fails if some matching documents do not have the common schema.

This should be at least shielded.

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
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to