Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-621

Error on saving a page more than once

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 1.0 B1, 1.0 B2, 1.0 B3, 1.0 B4
    • Fix Version/s: None
    • Component/s: {Unused} Core
    • Labels:
      None
    • Environment:
      when using the windows installer of xwiki 1.0 b1
    • Similar issues:

      Description

      Here is the error I get after saving a document for the second time.

       Error number 3201 in 3: Exception while saving document meca_public.WebHome
      Wrapped Exception: Error number 3212 in 3: Exception while loading archive meca_public.WebHome
      Wrapped Exception: Error number 3212 in 3: Exception while loading archive -1 777 435 881
      Wrapped Exception: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter
      of com.xpn.xwiki.doc.XWikiDocumentArchive.setArchive
      com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while
      saving document meca_public.WebHome
      Wrapped Exception: Error number 3212 in 3: Exception while loading
      archive meca_public.WebHome
      Wrapped Exception: Error number 3212 in 3: Exception while loading
      archive -1 777 435 881
      Wrapped Exception: exception setting property value with CGLIB (set
      hibernate.cglib.use_reflection_optimizer=false for more info) setter
      of com.xpn.xwiki.doc.XWikiDocumentArchive.setArchive
             at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:312)
             at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:96)
             at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:90)
             at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:768)
             at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:111)
             at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:120)
             at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:143)
             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.doPost(ActionServlet.java:432)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
             at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
             at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
             at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
             at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
             at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
             at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
             at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
             at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
             at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
             at org.mortbay.http.HttpServer.service(HttpServer.java:954)
             at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
             at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
             at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
             at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
             at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
             at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
      
      
      Wrapped Exception:
      
      com.xpn.xwiki.XWikiException: Error number 3212 in 3: Exception while
      loading archive meca_public.WebHome
      Wrapped Exception: Error number 3212 in 3: Exception while loading
      archive -1 777 435 881
      Wrapped Exception: exception setting property value with CGLIB (set
      hibernate.cglib.use_reflection_optimizer=false for more info) setter
      of com.xpn.xwiki.doc.XWikiDocumentArchive.setArchive
             at com.xpn.xwiki.store.XWikiHibernateVersioningStore.updateXWikiDocArchive(XWikiHibernateVersioningStore.java:249)
             at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:240)
             at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:96)
             at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:90)
             at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:768)
             at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:111)
             at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:120)
             at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:143)
             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.doPost(ActionServlet.java:432)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
             at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
             at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
             at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
             at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
             at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
             at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
             at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
             at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
             at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
             at org.mortbay.http.HttpServer.service(HttpServer.java:954)
             at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
             at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
             at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
             at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
             at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
             at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
      
      
      Wrapped Exception:
      
      com.xpn.xwiki.XWikiException: Error number 3212 in 3: Exception while
      loading archive -1 777 435 881
      Wrapped Exception: exception setting property value with CGLIB (set
      hibernate.cglib.use_reflection_optimizer=false for more info) setter
      of com.xpn.xwiki.doc.XWikiDocumentArchive.setArchive
             at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadXWikiDocArchive(XWikiHibernateVersioningStore.java:122)
             at com.xpn.xwiki.store.XWikiHibernateVersioningStore.getXWikiDocumentArchive(XWikiHibernateVersioningStore.java:91)
             at com.xpn.xwiki.store.XWikiHibernateVersioningStore.updateXWikiDocArchive(XWikiHibernateVersioningStore.java:241)
             at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:240)
             at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:96)
             at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:90)
             at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:768)
             at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:111)
             at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:120)
             at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:143)
             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.doPost(ActionServlet.java:432)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
             at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
             at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
             at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
             at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
             at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
             at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
             at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
             at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
             at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
             at org.mortbay.http.HttpServer.service(HttpServer.java:954)
             at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
             at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
             at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
             at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
             at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
             at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
      
      
      Wrapped Exception:
      
      net.sf.cglib.beans.BulkBeanException: Error number 3003 in 3:
      Exception while manipulating the archive for doc
      Wrapped Exception: Parse error at line 1, column 100.  Encountered: louis
             at com.xpn.xwiki.doc.XWikiDocumentArchive$$BulkBeanByCGLIB$$ae9872e2.setPropertyValues()
             at org.hibernate.tuple.PojoEntityTuplizer.setPropertyValuesWithOptimizer(PojoEntityTuplizer.java:212)
             at org.hibernate.tuple.PojoEntityTuplizer.setPropertyValues(PojoEntityTuplizer.java:185)
             at org.hibernate.persister.entity.AbstractEntityPersister.setPropertyValues(AbstractEntityPersister.java:3232)
             at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:126)
             at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:842)
             at org.hibernate.loader.Loader.doQuery(Loader.java:717)
             at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
             at org.hibernate.loader.Loader.loadEntity(Loader.java:1785)
             at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:93)
             at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:81)
             at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:2730)
             at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:365)
             at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:346)
             at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:123)
             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.XWikiHibernateVersioningStore.loadXWikiDocArchive(XWikiHibernateVersioningStore.java:112)
             at com.xpn.xwiki.store.XWikiHibernateVersioningStore.getXWikiDocumentArchive(XWikiHibernateVersioningStore.java:91)
             at com.xpn.xwiki.store.XWikiHibernateVersioningStore.updateXWikiDocArchive(XWikiHibernateVersioningStore.java:241)
             at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:240)
             at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:96)
             at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:90)
             at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:768)
             at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:111)
             at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:120)
             at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:143)
             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.doPost(ActionServlet.java:432)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
             at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
             at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
             at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
             at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
             at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
             at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
             at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
             at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
             at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
             at org.mortbay.http.HttpServer.service(HttpServer.java:954)
             at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
             at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
             at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
             at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
             at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
             at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
      Caused by: com.xpn.xwiki.XWikiException: Error number 3003 in 3:
      Exception while manipulating the archive for doc
      Wrapped Exception: Parse error at line 1, column 100.  Encountered: louis
             at com.xpn.xwiki.doc.XWikiDocumentArchive.setArchive(XWikiDocumentArchive.java:68)
             ... 51 more
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vmassol Vincent Massol
              Reporter:
              jeremi jeremi Joslin
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: