Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-7615

Removing all content from a Wiki page results in Java dump

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.3.0, 2.3.1
    • Fix Version/s: 2.3.x, 2.4.0
    • Component/s: Rwiki
    • Labels:
      None
    • Environment:
      Michigan instance - running 2.3
      Replicated on qa1-us
      (NOTE: Cannot replicate on qa1-za)

      Description

      1. A user edits a wiki page
      2. The user deletes all text and all content from the wiki page
      3. User clicks save
      4. A java dump occurs (see below)

      The page is unrecoverable and there appears to be no way to recover the wiki – the page appears permanently locked up in the java dump.

      The Action encountered a problem.

      Please report this problem to JIRA

      URL:http://qa1-us.sakaiproject.org:8580/sakai-rwiki-tool/WEB-INF/command-pages/errorpage.jsp?null
      action : save
      save : Save
      pageName : /site/e62706f3-c5f1-4e74-80a2-49f05caea697/home
      realm : /site/e62706f3-c5f1-4e74-80a2-49f05caea697
      content :
      panel : Main
      version : 1168552223933
      Error: org.springframework.orm.hibernate3.HibernateSystemException
      : Exception occurred inside setter of uk.ac.cam.caret.sakai.rwiki.model.RWikiObjectContentImpl.content; nested exception is org.hibernate.PropertyAccessException: Exception occurred inside setter of uk.ac.cam.caret.sakai.rwiki.model.RWikiObjectContentImpl.content
      org.springframework.orm.hibernate3.HibernateSystemException: Exception occurred inside setter of uk.ac.cam.caret.sakai.rwiki.model.RWikiObjectContentImpl.content; nested exception is org.hibernate.PropertyAccessException: Exception occurred inside setter of uk.ac.cam.caret.sakai.rwiki.model.RWikiObjectContentImpl.content
      org.hibernate.PropertyAccessException: Exception occurred inside setter of uk.ac.cam.caret.sakai.rwiki.model.RWikiObjectContentImpl.content
      at org.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:65)
      at org.hibernate.tuple.AbstractEntityTuplizer.setPropertyValues(AbstractEntityTuplizer.java:330)
      at org.hibernate.tuple.PojoEntityTuplizer.setPropertyValues(PojoEntityTuplizer.java:188)
      at org.hibernate.persister.entity.AbstractEntityPersister.setPropertyValues(AbstractEntityPersister.java:3232)
      at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:129)
      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.doList(Loader.java:2145)
      at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
      at org.hibernate.loader.Loader.list(Loader.java:2024)
      at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:94)
      at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1533)
      at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)
      at uk.ac.cam.caret.sakai.rwiki.component.dao.impl.RWikiCurrentObjectContentDaoImpl$1.doInHibernate(RWikiCurrentObjectContentDaoImpl.java:58)
      at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:366)
      at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:334)
      at uk.ac.cam.caret.sakai.rwiki.component.dao.impl.RWikiCurrentObjectContentDaoImpl.getContentObject(RWikiCurrentObjectContentDaoImpl.java:64)
      at uk.ac.cam.caret.sakai.rwiki.model.RWikiObjectImpl.lazyLoadContentObject(RWikiObjectImpl.java:667)
      at uk.ac.cam.caret.sakai.rwiki.model.RWikiObjectImpl.getContent(RWikiObjectImpl.java:697)
      at uk.ac.cam.caret.sakai.rwiki.component.service.impl.RenderServiceImpl.renderPage(RenderServiceImpl.java:105)
      at uk.ac.cam.caret.sakai.rwiki.tool.service.impl.ToolRenderServiceImpl.renderPage(ToolRenderServiceImpl.java:124)
      at uk.ac.cam.caret.sakai.rwiki.tool.service.impl.ToolRenderServiceImpl.renderPage(ToolRenderServiceImpl.java:96)
      at uk.ac.cam.caret.sakai.rwiki.tool.bean.RenderBean.getRenderedPage(RenderBean.java:170)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.apache.commons.el.ArraySuffix.evaluate(ArraySuffix.java:314)
      at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
      at org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
      at org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:190)
      at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:932)
      at org.apache.jsp.WEB_002dINF.command_002dpages.view_jsp._jspx_meth_c_out_11(view_jsp.java:1378)
      at org.apache.jsp.WEB_002dINF.command_002dpages.view_jsp._jspService(view_jsp.java:333)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      at uk.ac.cam.caret.sakai.rwiki.tool.command.SaveCommand.successfulUpdateDispatch(SaveCommand.java:238)
      at uk.ac.cam.caret.sakai.rwiki.tool.command.SaveCommand.execute(SaveCommand.java:205)
      at uk.ac.cam.caret.sakai.rwiki.tool.service.impl.CommandServiceImpl$WrappedCommand.execute(CommandServiceImpl.java:76)
      at uk.ac.cam.caret.sakai.rwiki.tool.RWikiServlet.execute(RWikiServlet.java:170)
      at uk.ac.cam.caret.sakai.rwiki.tool.RWikiServlet.doPost(RWikiServlet.java:119)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:501)
      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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:359)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:339)
      at org.sakaiproject.portal.charon.CharonPortal.forwardTool(CharonPortal.java:1632)
      at org.sakaiproject.portal.charon.CharonPortal.doTool(CharonPortal.java:1563)
      at org.sakaiproject.portal.charon.CharonPortal.doPost(CharonPortal.java:1077)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:532)
      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.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      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.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.GeneratedMethodAccessor1813.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:42)
      ... 85 more
      Caused by: java.lang.NullPointerException
      at uk.ac.cam.caret.sakai.rwiki.model.RWikiObjectContentImpl.setContent(RWikiObjectContentImpl.java:63)
      ... 89 more

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  ianeboston Ian Boston
                  Reporter:
                  slonn Steve Lonn (Inactive)
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration