[jboss-user] [JBoss Portal] - org.hibernate.NonUniqueResultException: query did not return
prns
do-not-reply at jboss.com
Mon Nov 26 05:24:13 EST 2007
I had deployed a portlet on portal server, Now created user suppose "jboss"on portal server. Logged in as jboss user and clicked on EDIT button of my portlet window,
On "save" it executes required code of my portlet application, but throws exception.
Please find the stackTrace below.
org.hibernate.NonUniqueResultException: query did not return a unique result: 2
at org.hibernate.impl.AbstractQueryImpl.uniqueElement(AbstractQueryImpl.java:765)
at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:756)
at org.jboss.portal.core.impl.model.instance.InstanceImpl.invoke(InstanceImpl.java:249)
at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindowCommand.java:109)
at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:84)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:141)
at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:168)
On checking database.script for hypersonic , found it creates 2 enteries for user "jboss", not sure why?
If anyone has idea on it how to fix it.Please let me know.
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107685#4107685
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107685
More information about the jboss-user
mailing list