Re: [xwiki-users] org.hibernate.ObjectNotFoundException
Hi Vincent, I have noticed that the above exception is appeared when i upload xwiki.xar file and click import button, it is shown in the Jboss console I hope this helps as well Regards, Adel Original Message processed by David InfoCenter Subject: [SPAM] Re: [SPAM] Re: [xwiki-users] org.hibernate.ObjectNotFoundException (29-May-2007 12:17) From: Vincent Massol <[email protected]> To: [email protected] On May 29, 2007, at 12:35 PM, Adel Aneiba wrote: Hi Vincent, I have created a new empty database and i deployed xwiki.war into jboss deployment folder and then i have uploaded xwiki.xar file and then i start using my xwiki What database are you using? Thanks -Vincent I hope this helps Regards, Adel Original Message processed by David InfoCenter Subject: [SPAM] Re: [xwiki-users] org.hibernate.ObjectNotFoundException (29-May-2007 11:16) From: Vincent Massol <[email protected]> To: [email protected] Hi Adel, Can you give us more details about what you do to get this error? Are you using an existing database from an old version? Is there a way we could reproduce this error? Thanks -Vincent On May 29, 2007, at 12:03 PM, Adel Aneiba wrote: Dear Xwiki Users, I just successfully deployed xwiki1.1 version, but i still have the same below exception in the Jboss console. I had this exception in the previous versions as well. Did i miss something in the configuration? Does anyone have an idea how i can get rid of this exception please? Regards, Adel 10:57:18,795 INFO [DefaultLoadEventListener] Error performing load command org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiDocument#1858599292] at org.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:27) at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:128) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:177) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87) at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:891) at org.hibernate.impl.SessionImpl.load(SessionImpl.java:799) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:357) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:160) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:957) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:991) at com.xpn.xwiki.XWiki.getWebPreference(XWiki.java:1590) at com.xpn.xwiki.XWiki.getWebPreference(XWiki.java:1582) at com.xpn.xwiki.XWiki.getWebPreference(XWiki.java:1576) at com.xpn.xwiki.XWiki.getUserPreference(XWiki.java:1621) at com.xpn.xwiki.XWiki.getSkin(XWiki.java:1426) at com.xpn.xwiki.XWiki.getBaseSkin(XWiki.java:1520) at com.xpn.xwiki.web.SkinAction.render(SkinAction.java:48) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:150) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595)
hi Adel, Have you initialize the database?
Hi Adel, Forget the first mail I replied, I'm sorry for that. There is some difference between our version. But I found something new that may be helpful. Read the page http://www.xwiki.org/xwiki/bin/view/AdminGuide/InstallationPostgreSQL, And you'll find some guids for you in Comments as following: Note: If you get xar file import errors(Preferece and Rights are not imported correctly) when using PostgreSQL, it may cause by size limitation of xwd_class_xml column of xwikidoc table. Just change the varchar(20000) to a varchar(200000) and reintall it. In the hibernate mapping file( xwiki.hbm.xml), string will be mapped to varchar, or you can change it to text by hand. Hope it is useful. Regards Mohoo 2007/5/29, Adel Aneiba <[email protected]>:
Hi Vincent,
I have noticed that the above exception is appeared when i upload xwiki.xar file and click import button, it is shown in the Jboss console
I hope this helps as well
Regards,
Adel
Original Message * processed by David InfoCenter* Subject: [SPAM] Re: [SPAM] Re: [xwiki-users] org.hibernate.ObjectNotFoundException(29-May-2007 12:17) From: Vincent Massol <[email protected]> <[email protected]> To: [email protected]
On May 29, 2007, at 12:35 PM, Adel Aneiba wrote:
Hi Vincent,
I have created a new empty database and i deployed xwiki.war into jboss deployment folder and then i have uploaded xwiki.xar file and then i start using my xwiki
What database are you using?
Thanks -Vincent
I hope this helps
Regards,
Adel
Original Message * processed by David InfoCenter* Subject: [SPAM] Re: [xwiki-users] org.hibernate.ObjectNotFoundException(29-May-2007 11:16) From: Vincent Massol <[email protected]> <[email protected]> To: [email protected]
Hi Adel,
Can you give us more details about what you do to get this error? Are you using an existing database from an old version?
Is there a way we could reproduce this error?
Thanks -Vincent
On May 29, 2007, at 12:03 PM, Adel Aneiba wrote:
Dear Xwiki Users,
I just successfully deployed xwiki1.1 version, but i still have the same below exception in the Jboss console. I had this exception in the previous versions as well. Did i miss something in the configuration?
Does anyone have an idea how i can get rid of this exception please?
Regards,
Adel
10:57:18,795 INFO [DefaultLoadEventListener] Error performing load command org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiDocument#1858599292] at org.hibernate.ObjectNotFoundException.throwIfNull( ObjectNotFoundException.java:27) at org.hibernate.event.def.DefaultLoadEventListener.load( DefaultLoadEventListener.java:128) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad( DefaultLoadEventListener.java:177) at org.hibernate.event.def.DefaultLoadEventListener.onLoad( DefaultLoadEventListener.java:87) at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:891) at org.hibernate.impl.SessionImpl.load(SessionImpl.java:799) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc( XWikiHibernateStore.java:357) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc( XWikiCacheStore.java:160) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:957) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:991) at com.xpn.xwiki.XWiki.getWebPreference(XWiki.java:1590) at com.xpn.xwiki.XWiki.getWebPreference(XWiki.java:1582) at com.xpn.xwiki.XWiki.getWebPreference(XWiki.java:1576) at com.xpn.xwiki.XWiki.getUserPreference(XWiki.java:1621) at com.xpn.xwiki.XWiki.getSkin(XWiki.java:1426) at com.xpn.xwiki.XWiki.getBaseSkin(XWiki.java:1520) at com.xpn.xwiki.web.SkinAction.render<http://web.skinaction.render/> (SkinAction.java:48) at com.xpn.xwiki.web.XWikiAction.execute<http://web.xwikiaction.execute/> (XWikiAction.java:150) at org.apache.struts.action.RequestProcessor.processActionPerform( RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process( ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java :414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:173) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter<http://web.setcharacterencodingfilter.dofilter/> (SetCharacterEncodingFilter.java:118) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter<http://web.tomcat.filters.replyheaderfilter.dofilter/> (ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke( StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke( StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke<http://web.tomcat.security.securityassociationvalve.invoke/> (SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke<http://web.tomcat.security.jacccontextvalve.invoke/> (JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke( ErrorReportValve.java:105) at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke<http://web.tomcat.tc5.jca.cachedconnectionvalve.invoke/> (CachedConnectionValve.java:156) at org.apache.catalina.core.StandardEngineValve.invoke( StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service( CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process( Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket( PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run( MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595)
-- You receive this message as a subscriber of the [email protected] list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
participants (2)
-
Adel Aneiba -
Mohoo