Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
We have the following warning in the log file, with a NullPointerException. The NPE should not occur in this case. It doesn't seem to cause very big issue, but it seems to confuse people and then we have to investigate into the issue maybe because of that.
jcr:content/metadata/... of type LONG to type DATE for path /content/... java.lang.NullPointerException: null at org.apache.jackrabbit.oak.plugins.index.lucene.FieldFactory.dateToLong(FieldFactory.java:189) at org.apache.jackrabbit.oak.plugins.index.lucene.LuceneDocumentMaker.indexTypeOrderedFields(LuceneDocumentMaker.java:282) at org.apache.jackrabbit.oak.plugins.index.lucene.LuceneDocumentMaker.indexTypeOrderedFields(LuceneDocumentMaker.java:55) at org.apache.jackrabbit.oak.plugins.index.search.spi.editor.FulltextDocumentMaker.addTypedOrderedFields(FulltextDocumentMaker.java:384) at org.apache.jackrabbit.oak.plugins.index.search.spi.editor.FulltextDocumentMaker.access$100(FulltextDocumentMaker.java:58)
Attachments
Issue Links
- links to