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

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

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


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

Posted by "Tobias Strasser (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-251?page=all ]
     
Tobias Strasser closed JCR-251:
-------------------------------

    Resolution: Fixed

Author: tripod
Date: Wed Oct 12 02:14:21 2005
New Revision: 314832

URL: http://svn.apache.org/viewcvs?rev=314832&view=rev
Log:
JCR-251 NullPointerException in VirtualNodeTypeStateManager.nodeTypeRegistered

Modified:
   incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/virtual/VirtualNodeTypeStateManager.java

> 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
>     Assignee: Tobias Strasser

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


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

Posted by "Tobias Strasser (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-251?page=all ]

Tobias Strasser reassigned JCR-251:
-----------------------------------

    Assign To: Tobias Strasser

> 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
>     Assignee: Tobias Strasser

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


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

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/JCR-251?page=comments#action_12331869 ] 

Felix Meschberger commented on JCR-251:
---------------------------------------

Actually I do not care for the VirtualNodeTypeStateManager but this is called when I register a new node type through the NodeType registry from the PMContext.

> 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


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

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-251?page=all ]

Felix Meschberger updated JCR-251:
----------------------------------

    Component: nodetype

> 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


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

Posted by "Tobias Strasser (JIRA)" <ji...@apache.org>.
    [ 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