jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "PALMER, THOMAS C (ATTCORP)" <TP3...@att.com>
Subject NPE in ConcurrentCache
Date Wed, 26 Jan 2011 19:18:01 GMT
We're getting the following error when trying to load nodes into a newly
created repository.  This is an Oracle repository and Jackrabbit 2.2.1.
We're loading nodes via session.importXML and then calling
session.getRootNode().accept() with a visitor that adjusts some
versioning information on the nodes.

 

java.lang.NullPointerException

        at
org.apache.jackrabbit.core.cache.ConcurrentCache$E.access$000(Concurrent
Cache.java:47)

        at
org.apache.jackrabbit.core.cache.ConcurrentCache$1.removeEldestEntry(Con
currentCache.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(Concurre
ntCache.java:249)

        at
org.apache.jackrabbit.core.cache.ConcurrentCache.put(ConcurrentCache.jav
a:176)

        at
org.apache.jackrabbit.core.state.MLRUItemStateCache.cache(MLRUItemStateC
ache.java:83)

        at
org.apache.jackrabbit.core.state.ItemStateReferenceCache.cache(ItemState
ReferenceCache.java:169)

        at
org.apache.jackrabbit.core.state.LocalItemStateManager.getNodeState(Loca
lItemStateManager.java:111)

        at
org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(Loca
lItemStateManager.java:172)

        at
org.apache.jackrabbit.core.state.XAItemStateManager.getItemState(XAItemS
tateManager.java:260)

        at
org.apache.jackrabbit.core.state.SessionItemStateManager.getItemState(Se
ssionItemStateManager.java:161)

        at
org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:370)

        at
org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:337)

        at
org.apache.jackrabbit.core.ItemManager.getNode(ItemManager.java:630)

        at
org.apache.jackrabbit.core.LazyItemIterator.prefetchNext(LazyItemIterato
r.java:120)

        at
org.apache.jackrabbit.core.LazyItemIterator.next(LazyItemIterator.java:2
57)

        at
org.apache.jackrabbit.core.LazyItemIterator.nextNode(LazyItemIterator.ja
va:166)

        at
javax.jcr.util.TraversingItemVisitor.visit(TraversingItemVisitor.java:19
1)

        at
org.apache.jackrabbit.core.NodeImpl.accept(NodeImpl.java:1705)

        at
javax.jcr.util.TraversingItemVisitor.visit(TraversingItemVisitor.java:19
1)

        at
org.apache.jackrabbit.core.NodeImpl.accept(NodeImpl.java:1705)

        at
javax.jcr.util.TraversingItemVisitor.visit(TraversingItemVisitor.java:19
1)

        at
org.apache.jackrabbit.core.NodeImpl.accept(NodeImpl.java:1705)

        at
com.att.cms.jcr.util.jcrtool.ToolLoad.loadJcrData(ToolLoad.java:77)

 

Any ideas?  Thanks for your help -

 

Tom Palmer

Director, Strategic Technology Services

AT&T Hosting & Application Services | 2000 Perimeter Park Drive, Suite
140 | Morrisville, NC 27560

Office: +1 (919) 388-5937 | Mobile: +1 (919) 627-5431

thomas.palmer@att.com <mailto:thomas.palmer@att.com>  

 

Confidentiality Notice and Disclaimer: This e-mail transmission may
contain confidential and/or proprietary information of AT&T that is
intended only for the individual or entity named in the e-mail address.
If you are not the intended recipient, you are hereby notified that any
disclosure, copying, distribution, or reliance upon the contents of this
e-mail is strictly prohibited. If you have received this e-mail
transmission in error, please reply to the sender, so that AT&T can
arrange for proper delivery, and then please delete the message from
your inbox. Thank you. 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message