You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2015/02/26 15:50:04 UTC
[jira] [Commented] (OAK-2214) NPE creating a PropertyIndex using
default name
[ https://issues.apache.org/jira/browse/OAK-2214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14338475#comment-14338475 ]
Thomas Mueller commented on OAK-2214:
-------------------------------------
I changed the documentation now.
I might have unintentional removed that feature at one point.
Do you like to have this feature back, or is it OK to remove this issue as won't fix?
> NPE creating a PropertyIndex using default name
> -----------------------------------------------
>
> Key: OAK-2214
> URL: https://issues.apache.org/jira/browse/OAK-2214
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Reporter: Alex Parvulescu
>
> At one point in time it was possible to create a property index without specifying the property name[0] and the node name of the property definition was used, this yields a NPE now [1].
> [0] http://jackrabbit.apache.org/oak/docs/query.html#The_Property_Index
> [1]
> {code}
> java.lang.NullPointerException: null
> at org.apache.jackrabbit.oak.plugins.index.property.PropertyIndexEditor.<init>(PropertyIndexEditor.java:119)
> at org.apache.jackrabbit.oak.plugins.index.property.PropertyIndexEditorProvider.getIndexEditor(PropertyIndexEditorProvider.java:44)
> at org.apache.jackrabbit.oak.plugins.index.CompositeIndexEditorProvider.getIndexEditor(CompositeIndexEditorProvider.java:74)
> at org.apache.jackrabbit.oak.spi.whiteboard.WhiteboardIndexEditorProvider.getIndexEditor(WhiteboardIndexEditorProvider.java:50)
> at org.apache.jackrabbit.oak.plugins.index.IndexUpdate.collectIndexEditors(IndexUpdate.java:156)
> at org.apache.jackrabbit.oak.plugins.index.IndexUpdate.enter(IndexUpdate.java:115)
> at org.apache.jackrabbit.oak.spi.commit.VisibleEditor.enter(VisibleEditor.java:57)
> at org.apache.jackrabbit.oak.spi.commit.CompositeEditor.enter(CompositeEditor.java:66)
> at org.apache.jackrabbit.oak.spi.commit.EditorDiff.process(EditorDiff.java:49)
> at org.apache.jackrabbit.oak.spi.commit.EditorHook.processCommit(EditorHook.java:54)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)