jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Aktualisiert: (JCR-250) Access to VirtualNodeTypeStateManager.virtualProvider should be guarded
Date Tue, 11 Oct 2005 13:39:06 GMT
     [ http://issues.apache.org/jira/browse/JCR-250?page=all ]

Felix Meschberger updated JCR-250:
----------------------------------

    Attachment: jcr-250.diff

Proposed fix

> Access to VirtualNodeTypeStateManager.virtualProvider should be guarded
> -----------------------------------------------------------------------
>
>          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
>  Attachments: jcr-250.diff
>
> 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.
> Access should be guarded against the field being not assigned yet.

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


Mime
View raw message