jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Parvulescu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-1916) NodeStoreKernel doesn't handle array properties correctly
Date Thu, 26 Jun 2014 07:58:24 GMT

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

Alex Parvulescu commented on OAK-1916:
--------------------------------------

bq. Non-name jcr:primaryType or jcr:mixinTypes properties were not being handled correctly.
It looks like there's now a NPE happening in the PropertyIndex because there is a primary
type registered as _null_. 
You can see it during the UUID lookup where it will try to get the cost of the node type index
using all existing primary node types [0], and encoding the null value results in a NPE.

[0]
{code}
null, nt:file, rep:ChildNodeDefinitions, rep:AuthorizableFolder, nt:versionedChild, nt:activity,
nt:hierarchyNode, rep:Group, rep:Members, nt:query, rep:PropertyDefinition, nt:resource, rep:PropertyDefinitions,
rep:nodeTypes, rep:Unstructured, nt:unstructured, nt:version, rep:GrantACE, rep:Restrictions,
nt:propertyDefinition, rep:DenyACE, nt:versionLabels, nt:nodeType, nt:address, rep:ACE, rep:root,
rep:PermissionStore, rep:ACL, nt:childNodeDefinition, nt:frozenNode, rep:MemberReferences,
rep:Token, rep:Policy, rep:Privileges, rep:NamedChildNodeDefinitions, rep:MemberReferencesList,
rep:AccessControl, oak:QueryIndexDefinition, rep:system, rep:Activities, rep:User, rep:Authorizable,
rep:versionStorage, rep:Privilege, nt:configuration, rep:NodeType, rep:ChildNodeDefinition,
rep:PrincipalAccessControl, nt:folder, oak:Unstructured, nt:versionHistory, nt:linkedFile,
rep:NamedPropertyDefinitions, rep:Permissions, rep:Configurations
{code}

> 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)

Mime
View raw message