jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-2871) NPE in ConcurrentCache when traversing newly loaded nodes
Date Tue, 01 Feb 2011 14:00:29 GMT

     [ https://issues.apache.org/jira/browse/JCR-2871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jukka Zitting resolved JCR-2871.
--------------------------------

    Resolution: Won't Fix

As discussed, this is a bug in IBM's Java implementation, and they've posted
a fix for that in http://www-01.ibm.com/support/docview.wss?rs=180&uid=swg24025051

Thus resolving as Won't Fix.

> NPE in ConcurrentCache when traversing newly loaded nodes
> ---------------------------------------------------------
>
>                 Key: JCR-2871
>                 URL: https://issues.apache.org/jira/browse/JCR-2871
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>         Environment: Jackrabbit 2.2.1
> Red Hat Enterprise Linux Server 5.5
> Oracle repository
>            Reporter: Tom Palmer
>         Attachments: JCR-2871.patch, bugdup.tar.gz
>
>
> Attached sample project duplicates an exception seen when creating a repository, importing
nodes, and then traversing those nodes.  Exception is:
> java.lang.NullPointerException
>         at org.apache.jackrabbit.core.cache.ConcurrentCache$E.access$000(ConcurrentCache.java:47)
>         at org.apache.jackrabbit.core.cache.ConcurrentCache$1.removeEldestEntry(ConcurrentCache.java:70)
>         at java.util.LinkedHashMap.putImpl(LinkedHashMap.java:409)
>         at java.util.LinkedHashMap.put(LinkedHashMap.java:370)
>         at org.apache.jackrabbit.core.cache.ConcurrentCache.shrinkIfNeeded(ConcurrentCache.java:249)
>         at org.apache.jackrabbit.core.cache.ConcurrentCache.put(ConcurrentCache.java:176)
>         at org.apache.jackrabbit.core.state.MLRUItemStateCache.cache(MLRUItemStateCache.java:83)
>         at org.apache.jackrabbit.core.state.ItemStateReferenceCache.cache(ItemStateReferenceCache.java:169)
>         at org.apache.jackrabbit.core.state.LocalItemStateManager.getPropertyState(LocalItemStateManager.java:136)
>         at org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(LocalItemStateManager.java:174)
>         at org.apache.jackrabbit.core.state.XAItemStateManager.getItemState(XAItemStateManager.java:260)
>         at org.apache.jackrabbit.core.state.SessionItemStateManager.getItemState(SessionItemStateManager.java:161)
>         at org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:370)
>         at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:316)
>         at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:610)
>         at org.apache.jackrabbit.core.LazyItemIterator.prefetchNext(LazyItemIterator.java:122)
>         at org.apache.jackrabbit.core.LazyItemIterator.<init>(LazyItemIterator.java:104)
>         at org.apache.jackrabbit.core.LazyItemIterator.<init>(LazyItemIterator.java:85)
>         at org.apache.jackrabbit.core.ItemManager.getChildProperties(ItemManager.java:777)
>         at org.apache.jackrabbit.core.NodeImpl$10.perform(NodeImpl.java:2185)
>         at org.apache.jackrabbit.core.NodeImpl$10.perform(NodeImpl.java:2181)
>         at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:200)
>         at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
>         at org.apache.jackrabbit.core.NodeImpl.getProperties(NodeImpl.java:2181)
>         at javax.jcr.util.TraversingItemVisitor.visit(TraversingItemVisitor.java:185)
>         at org.apache.jackrabbit.core.NodeImpl.accept(NodeImpl.java:1705)
>         at javax.jcr.util.TraversingItemVisitor.visit(TraversingItemVisitor.java:191)
>         at org.apache.jackrabbit.core.NodeImpl.accept(NodeImpl.java:1705)
>         at javax.jcr.util.TraversingItemVisitor.visit(TraversingItemVisitor.java:191)
>         at org.apache.jackrabbit.core.NodeImpl.accept(NodeImpl.java:1705)
>         at javax.jcr.util.TraversingItemVisitor.visit(TraversingItemVisitor.java:191)
>         at org.apache.jackrabbit.core.NodeImpl.accept(NodeImpl.java:1705)
>         at javax.jcr.util.TraversingItemVisitor.visit(TraversingItemVisitor.java:191)
>         at org.apache.jackrabbit.core.NodeImpl.accept(NodeImpl.java:1705)
>         at com.att.bugdup.Main.run(Main.java:60)
>         at com.att.bugdup.Main.main(Main.java:35)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message