You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Stefan Guggisberg (JIRA)" <ji...@apache.org> on 2005/07/06 11:02:15 UTC
[jira] Updated: (JCR-161) NPE in CachingHierarchyManager (missing synchronization in LRUEntry.remove)
[ http://issues.apache.org/jira/browse/JCR-161?page=all ]
Stefan Guggisberg updated JCR-161:
----------------------------------
Fix Version: 1.0
> NPE in CachingHierarchyManager (missing synchronization in LRUEntry.remove)
> ---------------------------------------------------------------------------
>
> Key: JCR-161
> URL: http://issues.apache.org/jira/browse/JCR-161
> Project: Jackrabbit
> Type: Bug
> Reporter: fabrizio giustina
> Assignee: Dominique Pfister
> Priority: Minor
> Fix For: 1.0
>
> stacktrace from jackrabbit rev. 191499 http://svn.apache.org/viewcvs.cgi?rev=191499&view=rev
> java.lang.NullPointerException
> at org.apache.jackrabbit.core.CachingHierarchyManager$LRUEntry.remove(CachingHierarchyManager.java:638)
> at org.apache.jackrabbit.core.CachingHierarchyManager$LRUEntry.touch(CachingHierarchyManager.java:657)
> at org.apache.jackrabbit.core.CachingHierarchyManager.resolvePath(CachingHierarchyManager.java:180)
> at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:341)
> at org.apache.jackrabbit.core.ItemImpl.getAncestor(ItemImpl.java:1469)
> I found this error at least a couple of times in my logs, probably due to a missing synchronization in the LRUEntry.remove method.
> Line 638 of cachingManager rev 191499:
> public void remove() {
> if (previous != null) {
> previous.next = next; // ----> NPE here
> }
--
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