Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-1091

Broken DIFF view

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.11.0-M1
    • Fix Version/s: 2.11.0-M2
    • Component/s: Core & storage
    • Labels:
      None

      Description

       

      DIFF view of a page, comparing 2 versions,  is broken.

      • View a page
      • Select the INFO dropdown and press the More Info... button
      • In the Page Revision History table;  select one of the "Changes.." links.
        This should display the DIFF view of this pages, comparing 2 versions
      • A white screen is returned.

       
      {{2019-02-13 00:05:28,727 [http-nio-8080-exec-9] ERROR org.apache.wiki.tags.WikiTagBase JSPWiki-210test:/JSPWiki-211/Diff.jsp JSPWiki-210test:http://127.0.0.1:8080/JSPWiki-211/Diff.jsp - }}
      {{ java.lang.NullPointerException}}
      {{ at org.apache.jasper.runtime.JspRuntimeLibrary.getContextRelativePath(JspRuntimeLibrary.java:834)}}
      {{ at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:889)}}
      {{ at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:647)}}
      {{ at org.apache.wiki.tags.ContentTag.doEndTag(ContentTag.java:183)}}
      {{ at org.apache.jsp.templates.default_.ViewTemplate_jsp._jspx_meth_wiki_005fContent_005f0(ViewTemplate_jsp.java:964)}}
      {{ at org.apache.jsp.templates.default_.ViewTemplate_jsp._jspService(ViewTemplate_jsp.java:244)}}
      {{ at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)}}
      {{ at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)}}
      {{ at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:476)}}
      {{ at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)}}
      {{ at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)}}
      {{ at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)}}
      {{ at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:728)}}
      {{ at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:591)}}
      {{ at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:527)}}
      {{ at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:892)}}
      {{ at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:647)}}
      {{ at org.apache.wiki.tags.IncludeTag.doEndTag(IncludeTag.java:84)}}
      {{ at org.apache.jsp.Diff_jsp._jspService(Diff_jsp.java:224)}}
      {{ at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)}}
      {{ at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)}}
      {{ at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:476)}}
      {{ at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)}}
      {{ at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)}}
      {{ at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)}}
      {{ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)}}
      {{ at org.apache.wiki.ui.WikiServletFilter.doFilter(WikiServletFilter.java:160)}}
      {{ at org.apache.wiki.ui.WikiJSPFilter.doFilter(WikiJSPFilter.java:110)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)}}
      {{ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)}}
      {{ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)}}
      {{ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)}}
      {{ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)}}
      {{ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)}}
      {{ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)}}
      {{ at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)}}
      {{ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)}}
      {{ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)}}
      {{ at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)}}
      {{ at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)}}
      {{ at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)}}
      {{ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)}}
      {{ at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)}}
      {{ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)}}
      {{ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)}}
      {{ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)}}
      {{ at java.lang.Thread.run(Thread.java:745)}}

       

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              brushed Dirk Frederickx
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: