You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Tobias Strasser (JIRA)" <ji...@apache.org> on 2005/10/12 10:33:25 UTC

[jira] Commented: (JCR-251) NullPointerException in VirtualNodeTypeStateManager.nodeTypeRegistered

    [ http://issues.apache.org/jira/browse/JCR-251?page=comments#action_12331868 ] 

Tobias Strasser commented on JCR-251:
-------------------------------------

why using the VirtualNodeTypeStateManager and not directly use the nodetype registry? this can be aquired using the PMContext.getNodeTypeRegistry()


> NullPointerException in VirtualNodeTypeStateManager.nodeTypeRegistered
> ----------------------------------------------------------------------
>
>          Key: JCR-251
>          URL: http://issues.apache.org/jira/browse/JCR-251
>      Project: Jackrabbit
>         Type: Bug
>   Components: nodetype
>     Reporter: Felix Meschberger

>
> I am working on a custom persistence manager which requires an additional node type being registered. For performance reasons, the existence of this node type is verified during PersistenceManager.init.
> Unfortunately this does not seem to work as the VirtualNodeTypeStateManager is not prepared to handle this situation at that point in time - the systemSession field seems to still be null.

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