javax.jcr.ItemNotFoundException Parent is null exception when using the Netunity Cache
MarkupPortlet
----------------------------------------------------------------------------------------------------
Key: GTNWSRP-158
URL:
https://jira.jboss.org/browse/GTNWSRP-158
Project: GateIn WSRP
Issue Type: Bug
Affects Versions: 2.0.0-CR02
Reporter: Matt Wringe
Assignee: Chris Laprun
Fix For: 2.0.0-CR02
When using the NetUnity CacheMarkup portlet the following error will sometimes appear:
11:44:27,785 ERROR [STDERR] org.chromattic.api.UndeclaredRepositoryException:
javax.jcr.ItemNotFoundException: FATAL: Parent is null for
/wsrp:producerinfos/netunity/registration/-__urn_-_netunitysoftware_-_wsrp2interop__-ProducerRegistrationState/description
parent UUID: 36abfa87c0a800c552ca3aec2b4db521
11:44:27,785 ERROR [STDERR] at
org.chromattic.core.DomainSession.getName(DomainSession.java:231)
11:44:27,785 ERROR [STDERR] at
org.chromattic.core.EntityContext.getAttribute(EntityContext.java:154)
11:44:27,785 ERROR [STDERR] at
org.chromattic.core.EntityContext.getName(EntityContext.java:175)
11:44:27,785 ERROR [STDERR] at
org.chromattic.core.DomainSessionImpl.remove(DomainSessionImpl.java:626)
11:44:27,785 ERROR [STDERR] at
org.chromattic.core.DomainSessionImpl._remove(DomainSessionImpl.java:595)
11:44:27,785 ERROR [STDERR] at
org.chromattic.core.DomainSession.remove(DomainSession.java:273)
11:44:27,786 ERROR [STDERR] at
org.chromattic.core.mapper.onetomany.hierarchical.AnyChildList.remove(AnyChildList.java:171)
11:44:27,786 ERROR [STDERR] at java.util.AbstractList$Itr.remove(AbstractList.java:360)
11:44:27,786 ERROR [STDERR] at java.util.AbstractList.removeRange(AbstractList.java:559)
11:44:27,786 ERROR [STDERR] at java.util.AbstractList.clear(AbstractList.java:217)
11:44:27,786 ERROR [STDERR] at
org.gatein.portal.wsrp.state.consumer.mapping.RegistrationInfoMapping.initFrom(RegistrationInfoMapping.java:86)
11:44:27,786 ERROR [STDERR] at
org.gatein.portal.wsrp.state.consumer.mapping.ProducerInfoMapping.initFrom(ProducerInfoMapping.java:85)
11:44:27,786 ERROR [STDERR] at
org.gatein.portal.wsrp.state.consumer.JCRConsumerRegistry.update(JCRConsumerRegistry.java:116)
11:44:27,786 ERROR [STDERR] at
org.gatein.wsrp.consumer.registry.AbstractConsumerRegistry.updateProducerInfo(AbstractConsumerRegistry.java:249)
11:44:27,786 ERROR [STDERR] at
org.gatein.wsrp.consumer.ProducerInfo.refreshInfo(ProducerInfo.java:556)
11:44:27,786 ERROR [STDERR] at
org.gatein.wsrp.consumer.ProducerInfo.internalRefresh(ProducerInfo.java:475)
11:44:27,786 ERROR [STDERR] at
org.gatein.wsrp.consumer.ProducerInfo.detailedRefresh(ProducerInfo.java:342)
...
Note that is error can be difficult to reproduce. I cannot reproduce it in a predictable
manner. It will sometimes occur when loading the page (even on the first load on a clean
server), or when switching views, or when submitting the cache values. The best way I have
found to get the error is to just keep on submiting cache values, it might take a while
before the error will appear though :(
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira