[ 
https://issues.apache.org/jira/browse/OAK-1916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14044651#comment-14044651
 ] 

Jukka Zitting commented on OAK-1916:
------------------------------------

bq. It looks like there's now a NPE happening in the PropertyIndex because 
there is a primary type registered as null. 

This behavior is triggered by a limitation in the proof-of-concept -style 
implementation of {{NodeStoreKernel}} (see comment in OAK-987). It currently 
makes no distinction between name and string values, so properties like 
{{jcr:primaryType}} end up stored as strings instead of names. This makes 
type-safe calls like {{NodeState.getName("jcr:primaryType")}} return {{null}}.

> NodeStoreKernel doesn't handle array properties correctly
> ---------------------------------------------------------
>
>                 Key: OAK-1916
>                 URL: https://issues.apache.org/jira/browse/OAK-1916
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: mk
>            Reporter: Michael Dürig
>         Attachments: OAK-1916.patch
>
>
> {{NodeStoreKernel}} currently only supports array properties of type long. 
> For other types it will fail with an {{IllegalStateException}}. See also the 
> FIXME in the code.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to