VirtualNodeTypeStateManager.virtualProvider should only be accessed through 
getter
----------------------------------------------------------------------------------

         Key: JCR-250
         URL: http://issues.apache.org/jira/browse/JCR-250
     Project: Jackrabbit
        Type: Bug
  Components: nodetype  
 Environment: SVN Rev. 312 874
    Reporter: Felix Meschberger


The virtualProvider field of the VirtualNodeTypeStateManager class is 
dynamically created by the getter method. Two methods of the class access that 
field directly though risking NullPointerException.

Also the internal methods must use the accessor for dynamically assigned fields 
to ensure consistency and stability.

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

Reply via email to