[hibernate-issues] [Hibernate-JIRA] Updated: (HSEARCH-92) NPE for null fields on projection

Henning Treu (JIRA) noreply at atlassian.com
Mon Jul 2 02:43:52 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-92?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henning Treu updated HSEARCH-92:
--------------------------------

    Attachment: ProjectionQueryTest.java

Modified ProjectionQueryTest.java to check the bug.

> NPE for null fields on projection
> ---------------------------------
>
>                 Key: HSEARCH-92
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-92
>             Project: Hibernate Search
>          Issue Type: Bug
>          Components: engine
>    Affects Versions: 3.0.0.beta3
>            Reporter: Henning Treu
>         Attachments: ProjectionQueryTest.java
>
>
> the lucene document object returned from the lucene search does not contain fields which values are null in the index. When trying to project those fields (obtain fields from document by name and return their String representation) a NPE accours.
> See: http://forum.hibernate.org/viewtopic.php?t=976899&start=0&postdays=0&postorder=asc&highlight=

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

        



More information about the hibernate-issues mailing list