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 15:32:05 UTC
[jira] Erstellt: (JCR-250) VirtualNodeTypeStateManager.virtualProvider should only be accessed through getter
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
[jira] Closed: (JCR-250) Access to VirtualNodeTypeStateManager.virtualProvider should be guarded
Posted by "Tobias Strasser (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/JCR-250?page=all ]
Tobias Strasser closed JCR-250:
-------------------------------
Resolution: Fixed
Author: tripod
Date: Tue Oct 11 06:51:59 2005
New Revision: 312881
URL: http://svn.apache.org/viewcvs?rev=312881&view=rev
Log:
JCR-250 Access to VirtualNodeTypeStateManager.virtualProvider should be guarded
Modified:
incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/nodetype/virtual/VirtualNodeTypeStateManager.java
> 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
> Assignee: Tobias Strasser
> 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
[jira] Assigned: (JCR-250) Access to VirtualNodeTypeStateManager.virtualProvider should be guarded
Posted by "Tobias Strasser (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/JCR-250?page=all ]
Tobias Strasser reassigned JCR-250:
-----------------------------------
Assign To: Tobias Strasser
> 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
> Assignee: Tobias Strasser
> 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
[jira] Aktualisiert: (JCR-250) Access to VirtualNodeTypeStateManager.virtualProvider should be guarded
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/JCR-250?page=all ]
Felix Meschberger updated JCR-250:
----------------------------------
Summary: Access to VirtualNodeTypeStateManager.virtualProvider should be guarded (was: VirtualNodeTypeStateManager.virtualProvider should only be accessed through getter)
Description:
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.
was:
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.
> 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
>
> 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
[jira] Aktualisiert: (JCR-250) Access to VirtualNodeTypeStateManager.virtualProvider should be guarded
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ 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