dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #21849
[Bug 1162719] [NEW] exception occur when open data entry section form
Public bug reported:
When I select child orgunit > select dataset which design with section > select period . the form show fine.
Then I select parent orgunit > select above dataset > exception below occur.
* ERROR 2013-04-01 16:02:43,589 Error while executing action (ExceptionIntercept
or.java ["http-apr-8090"-exec-5])
org.hibernate.ObjectNotFoundException: No row with the given identifier exists:
[org.hisp.dhis.dataset.DataSet#225]
at org.hibernate.internal.SessionFactoryImpl$1$1.handleEntityNotFound(Se
ssionFactoryImpl.java:244)
at org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoa
dEventListener.java:210)
at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(Def
aultLoadEventListener.java:260)
at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultL
oadEventListener.java:148)
at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1078)
at org.hibernate.internal.SessionImpl.internalLoad(SessionImpl.java:1005
)
at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:616)
at org.hibernate.type.ManyToOneType.assemble(ManyToOneType.java:247)
at org.hibernate.collection.internal.PersistentSet.initializeFromCache(P
ersistentSet.java:141)
at org.hibernate.cache.spi.entry.CollectionCacheEntry.assemble(Collectio
nCacheEntry.java:57)
at org.hibernate.event.internal.DefaultInitializeCollectionEventListener
.initializeCollectionFromCache(DefaultInitializeCollectionEventListener.java:141
)
at org.hibernate.event.internal.DefaultInitializeCollectionEventListener
.onInitializeCollection(DefaultInitializeCollectionEventListener.java:68)
at org.hibernate.internal.SessionImpl.initializeCollection(SessionImpl.j
ava:1804)
at org.hibernate.collection.internal.AbstractPersistentCollection$4.doWo
rk(AbstractPersistentCollection.java:549)
at org.hibernate.collection.internal.AbstractPersistentCollection.withTe
mporarySessionIfNeeded(AbstractPersistentCollection.java:234)
at org.hibernate.collection.internal.AbstractPersistentCollection.initia
lize(AbstractPersistentCollection.java:545)
at org.hibernate.collection.internal.AbstractPersistentCollection.read(A
bstractPersistentCollection.java:124)
at org.hibernate.collection.internal.AbstractPersistentCollection$3.doWo
rk(AbstractPersistentCollection.java:306)
at org.hibernate.collection.internal.AbstractPersistentCollection$3.doWo
rk(AbstractPersistentCollection.java:294)
at org.hibernate.collection.internal.AbstractPersistentCollection.withTe
mporarySessionIfNeeded(AbstractPersistentCollection.java:234)
at org.hibernate.collection.internal.AbstractPersistentCollection.readEl
ementExistence(AbstractPersistentCollection.java:293)
at org.hibernate.collection.internal.PersistentSet.contains(PersistentSe
t.java:170)
at org.hisp.dhis.de.action.LoadFormAction.execute(LoadFormAction.java:31
0)
at sun.reflect.GeneratedMethodAccessor701.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultA
ctionInvocation.java:453)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(Defa
ultActionInvocation.java:292)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:255)
at org.hisp.dhis.webportal.interceptor.XWorkPortalUserInterceptor.interc
ept(XWorkPortalUserInterceptor.java:87)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:249)
at org.hisp.dhis.webportal.interceptor.XWorkPortalModuleInterceptor.inte
rcept(XWorkPortalModuleInterceptor.java:90)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:249)
at org.hisp.dhis.webportal.interceptor.XWorkPortalMenuInterceptor.interc
ept(XWorkPortalMenuInterceptor.java:96)
** Affects: dhis2
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1162719
Title:
exception occur when open data entry section form
Status in DHIS 2 - District Health Information Software:
New
Bug description:
When I select child orgunit > select dataset which design with section > select period . the form show fine.
Then I select parent orgunit > select above dataset > exception below occur.
* ERROR 2013-04-01 16:02:43,589 Error while executing action (ExceptionIntercept
or.java ["http-apr-8090"-exec-5])
org.hibernate.ObjectNotFoundException: No row with the given identifier exists:
[org.hisp.dhis.dataset.DataSet#225]
at org.hibernate.internal.SessionFactoryImpl$1$1.handleEntityNotFound(Se
ssionFactoryImpl.java:244)
at org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoa
dEventListener.java:210)
at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(Def
aultLoadEventListener.java:260)
at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultL
oadEventListener.java:148)
at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1078)
at org.hibernate.internal.SessionImpl.internalLoad(SessionImpl.java:1005
)
at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:616)
at org.hibernate.type.ManyToOneType.assemble(ManyToOneType.java:247)
at org.hibernate.collection.internal.PersistentSet.initializeFromCache(P
ersistentSet.java:141)
at org.hibernate.cache.spi.entry.CollectionCacheEntry.assemble(Collectio
nCacheEntry.java:57)
at org.hibernate.event.internal.DefaultInitializeCollectionEventListener
.initializeCollectionFromCache(DefaultInitializeCollectionEventListener.java:141
)
at org.hibernate.event.internal.DefaultInitializeCollectionEventListener
.onInitializeCollection(DefaultInitializeCollectionEventListener.java:68)
at org.hibernate.internal.SessionImpl.initializeCollection(SessionImpl.j
ava:1804)
at org.hibernate.collection.internal.AbstractPersistentCollection$4.doWo
rk(AbstractPersistentCollection.java:549)
at org.hibernate.collection.internal.AbstractPersistentCollection.withTe
mporarySessionIfNeeded(AbstractPersistentCollection.java:234)
at org.hibernate.collection.internal.AbstractPersistentCollection.initia
lize(AbstractPersistentCollection.java:545)
at org.hibernate.collection.internal.AbstractPersistentCollection.read(A
bstractPersistentCollection.java:124)
at org.hibernate.collection.internal.AbstractPersistentCollection$3.doWo
rk(AbstractPersistentCollection.java:306)
at org.hibernate.collection.internal.AbstractPersistentCollection$3.doWo
rk(AbstractPersistentCollection.java:294)
at org.hibernate.collection.internal.AbstractPersistentCollection.withTe
mporarySessionIfNeeded(AbstractPersistentCollection.java:234)
at org.hibernate.collection.internal.AbstractPersistentCollection.readEl
ementExistence(AbstractPersistentCollection.java:293)
at org.hibernate.collection.internal.PersistentSet.contains(PersistentSe
t.java:170)
at org.hisp.dhis.de.action.LoadFormAction.execute(LoadFormAction.java:31
0)
at sun.reflect.GeneratedMethodAccessor701.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultA
ctionInvocation.java:453)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(Defa
ultActionInvocation.java:292)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:255)
at org.hisp.dhis.webportal.interceptor.XWorkPortalUserInterceptor.interc
ept(XWorkPortalUserInterceptor.java:87)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:249)
at org.hisp.dhis.webportal.interceptor.XWorkPortalModuleInterceptor.inte
rcept(XWorkPortalModuleInterceptor.java:90)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:249)
at org.hisp.dhis.webportal.interceptor.XWorkPortalMenuInterceptor.interc
ept(XWorkPortalMenuInterceptor.java:96)
To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1162719/+subscriptions
Follow ups
References