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

Exception while saving a page with content pasted from web pages

    Details

    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Saving pages with content pasted from web pages, for example http://leifi.physik.uni-muenchen.de/web_ph10_g8/grundwissen/05impuls/impuls.htm,
      throws the following excption in XWiki 2.0.1.1:

      2009-10-21 21:21:09,089 http://localhost:8080/xwiki/bin/preview/Sandbox/TestPage1 ERROR doc.XWikiDocument - Failed to parse document content to XDOM
      com.xpn.xwiki.XWikiException: Error number 0 in 4: Failed to parse content of syntax [xwiki/2.0]
      Wrapped Exception: Failed to parse input source
      at com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:5628)
      at com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:5618)
      at com.xpn.xwiki.doc.XWikiDocument.getXDOM(XWikiDocument.java:5534)
      at com.xpn.xwiki.doc.XWikiDocument.getUniqueLinkedPages(XWikiDocument.java:3268)
      at com.xpn.xwiki.doc.XWikiDocument.getUniqueWikiLinkedPages(XWikiDocument.java:3147)
      at com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(XWikiHibernateStore.java:1859)
      at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:587)
      at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:181)
      at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:174)
      at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1312)
      at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:176)
      at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:193)
      at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:213)
      at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
      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:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
      at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
      at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
      at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
      at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:109)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
      at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      at org.mortbay.jetty.Server.handle(Server.java:326)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
      at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:930)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

      Wrapped Exception:

      org.wikimodel.wem.WikiParserException: org.wikimodel.wem.xwiki.javacc.ParseException: Encountered " <D_BLOCK_PARAMS> "\n(% align=\"center\" %) "" at line 12, column 1.
      Was expecting one of:
      <I_HEADER_END> ...
      <I_TABLE_CELL> ...
      <I_REFERENCE> ...
      <I_VERBATIM_START> ...
      <I_MACRO_EMPTY> ...
      <I_MACRO_START> ...
      <I_FORMAT_SYMBOL> ...
      <I_IMAGE> ...
      <I_ATTACH> ...
      <I_BR> ...
      <I_INLINE_PARAMS> ...
      <I_XWIKI_URI> ...
      <I_XWIKI_SPACE> ...
      <I_WORD> ...
      <I_SPECIAL_SYMBOL> ...
      <D_HEADER_END> ...
      <D_TABLE_CELL> ...
      <D_REFERENCE> ...
      <D_VERBATIM_START> ...
      <D_MACRO_EMPTY> ...
      <D_MACRO_START> ...
      <D_FORMAT_SYMBOL> ...
      <D_IMAGE> ...
      <D_ATTACH> ...
      <D_BR> ...
      <D_INLINE_PARAMS> ...
      <D_XWIKI_URI> ...
      <D_XWIKI_SPACE> ...
      <D_WORD> ...
      <D_SPECIAL_SYMBOL> ...
      <I_INLINE_PARAMS> ...
      <D_INLINE_PARAMS> ...
      <I_WORD> ...
      <D_WORD> ...
      <I_XWIKI_SPACE> ...
      <D_XWIKI_SPACE> ...
      <I_SPECIAL_SYMBOL> ...
      <D_SPECIAL_SYMBOL> ...
      <I_FORMAT_SYMBOL> ...
      <D_FORMAT_SYMBOL> ...
      <I_VERBATIM_START> ...
      <D_VERBATIM_START> ...
      <I_MACRO_EMPTY> ...
      <D_MACRO_EMPTY> ...
      <I_MACRO_START> ...
      <D_MACRO_START> ...
      <I_BR> ...
      <D_BR> ...
      <I_XWIKI_URI> ...
      <D_XWIKI_URI> ...
      <I_IMAGE> ...
      <D_IMAGE> ...
      <I_ATTACH> ...
      <D_ATTACH> ...
      <I_REFERENCE> ...
      <D_REFERENCE> ...
      <I_TABLE_CELL> ...
      <D_TABLE_CELL> ...
      <I_HEADER_END> ...
      <D_HEADER_END> ...

      at org.wikimodel.wem.xwiki.XWikiParser.parse(XWikiParser.java:45)
      at org.xwiki.rendering.internal.parser.wikimodel.AbstractWikiModelParser.parse(AbstractWikiModelParser.java:93)
      at com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:5626)
      at com.xpn.xwiki.doc.XWikiDocument.parseContent(XWikiDocument.java:5618)
      at com.xpn.xwiki.doc.XWikiDocument.getXDOM(XWikiDocument.java:5534)
      at com.xpn.xwiki.doc.XWikiDocument.getUniqueLinkedPages(XWikiDocument.java:3268)
      at com.xpn.xwiki.doc.XWikiDocument.getUniqueWikiLinkedPages(XWikiDocument.java:3147)
      at com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(XWikiHibernateStore.java:1859)
      at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:587)
      at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:181)
      at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:174)
      at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1312)
      at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:176)
      at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:193)
      at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:213)
      at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
      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:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
      at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
      at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
      at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
      at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:109)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
      at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      at org.mortbay.jetty.Server.handle(Server.java:326)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
      at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:930)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
      Caused by: org.wikimodel.wem.xwiki.javacc.ParseException: Encountered " <D_BLOCK_PARAMS> "\n(% align=\"center\" %) "" at line 12, column 1.
      Was expecting one of:
      <I_HEADER_END> ...
      <I_TABLE_CELL> ...
      <I_REFERENCE> ...
      <I_VERBATIM_START> ...
      <I_MACRO_EMPTY> ...
      <I_MACRO_START> ...
      <I_FORMAT_SYMBOL> ...
      <I_IMAGE> ...
      <I_ATTACH> ...
      <I_BR> ...
      <I_INLINE_PARAMS> ...
      <I_XWIKI_URI> ...
      <I_XWIKI_SPACE> ...
      <I_WORD> ...
      <I_SPECIAL_SYMBOL> ...
      <D_HEADER_END> ...
      <D_TABLE_CELL> ...
      <D_REFERENCE> ...
      <D_VERBATIM_START> ...
      <D_MACRO_EMPTY> ...
      <D_MACRO_START> ...
      <D_FORMAT_SYMBOL> ...
      <D_IMAGE> ...
      <D_ATTACH> ...
      <D_BR> ...
      <D_INLINE_PARAMS> ...
      <D_XWIKI_URI> ...
      <D_XWIKI_SPACE> ...
      <D_WORD> ...
      <D_SPECIAL_SYMBOL> ...
      <I_INLINE_PARAMS> ...
      <D_INLINE_PARAMS> ...
      <I_WORD> ...
      <D_WORD> ...
      <I_XWIKI_SPACE> ...
      <D_XWIKI_SPACE> ...
      <I_SPECIAL_SYMBOL> ...
      <D_SPECIAL_SYMBOL> ...
      <I_FORMAT_SYMBOL> ...
      <D_FORMAT_SYMBOL> ...
      <I_VERBATIM_START> ...
      <D_VERBATIM_START> ...
      <I_MACRO_EMPTY> ...
      <D_MACRO_EMPTY> ...
      <I_MACRO_START> ...
      <D_MACRO_START> ...
      <I_BR> ...
      <D_BR> ...
      <I_XWIKI_URI> ...
      <D_XWIKI_URI> ...
      <I_IMAGE> ...
      <D_IMAGE> ...
      <I_ATTACH> ...
      <D_ATTACH> ...
      <I_REFERENCE> ...
      <D_REFERENCE> ...
      <I_TABLE_CELL> ...
      <D_TABLE_CELL> ...
      <I_HEADER_END> ...
      <D_HEADER_END> ...

      at org.wikimodel.wem.xwiki.javacc.XWikiScanner.generateParseException(XWikiScanner.java:3430)
      at org.wikimodel.wem.xwiki.javacc.XWikiScanner.jj_consume_token(XWikiScanner.java:3306)
      at org.wikimodel.wem.xwiki.javacc.XWikiScanner.block(XWikiScanner.java:1533)
      at org.wikimodel.wem.xwiki.javacc.XWikiScanner.tableRow(XWikiScanner.java:964)
      at org.wikimodel.wem.xwiki.javacc.XWikiScanner.table(XWikiScanner.java:923)
      at org.wikimodel.wem.xwiki.javacc.XWikiScanner.docElements(XWikiScanner.java:662)
      at org.wikimodel.wem.xwiki.javacc.XWikiScanner.doParse(XWikiScanner.java:641)
      at org.wikimodel.wem.xwiki.javacc.XWikiScanner.parse(XWikiScanner.java:49)
      at org.wikimodel.wem.xwiki.XWikiParser.parse(XWikiParser.java:43)
      ... 60 more
      2009-10-21 21:21:09,102 http://localhost:8080/xwiki/bin/preview/Sandbox/TestPage1 WARN web.XWikiAction - Uncaught exception: Error number 3201 in 3: Exception while saving document Sandbox.TestPage1
      Wrapped Exception: Error number 13012 in 3: Exception while saving links
      Wrapped Exception: null
      com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document Sandbox.TestPage1
      Wrapped Exception: Error number 13012 in 3: Exception while saving links
      Wrapped Exception: null
      at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:601)
      at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:181)
      at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:174)
      at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1312)
      at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:176)
      at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:193)
      at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:213)
      at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
      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:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
      at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
      at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
      at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
      at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:109)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
      at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      at org.mortbay.jetty.Server.handle(Server.java:326)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
      at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:930)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

      Wrapped Exception:

      com.xpn.xwiki.XWikiException: Error number 13012 in 3: Exception while saving links
      Wrapped Exception: null
      at com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(XWikiHibernateStore.java:1865)
      at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:587)
      at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:181)
      at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:174)
      at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1312)
      at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:176)
      at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:193)
      at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:213)
      at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
      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:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
      at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
      at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
      at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
      at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:109)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
      at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      at org.mortbay.jetty.Server.handle(Server.java:326)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
      at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:930)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

      Wrapped Exception:

      java.lang.NullPointerException
      at com.xpn.xwiki.doc.XWikiDocument.getXDOM(XWikiDocument.java:5540)
      at com.xpn.xwiki.doc.XWikiDocument.getUniqueLinkedPages(XWikiDocument.java:3268)
      at com.xpn.xwiki.doc.XWikiDocument.getUniqueWikiLinkedPages(XWikiDocument.java:3147)
      at com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(XWikiHibernateStore.java:1859)
      at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:587)
      at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:181)
      at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:174)
      at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1312)
      at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:176)
      at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:193)
      at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:213)
      at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
      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:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
      at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
      at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
      at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
      at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:109)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
      at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      at org.mortbay.jetty.Server.handle(Server.java:326)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
      at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:930)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vmassol Vincent Massol
                Reporter:
                rainer Dr Rainer Rohmfeld
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: