Uploaded image for project: 'Magnolia Diff Module'
  1. Magnolia Diff Module
  2. MGNLDIFF-22

NPE occures when I open a a workitem, which was removed before

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.1.3
    • 1.1.2
    • None
    • Yes

      If a publisher want to open a workitem which another publisher has already proceeded, a NullPointerException will occure and the following stacktrace will be shown. In stacktrace you can see, that the diff module causes this exception.

      java.lang.RuntimeException: java.lang.NullPointerException
      	info.magnolia.module.cache.filter.CacheFilter.doFilter(CacheFilter.java:165)
      	info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:61)
      	info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:83)
      ...
      root cause
      java.lang.NullPointerException
      	info.magnolia.module.diff.dialog.DiffLink.drawHtml(DiffLink.java:66)
      	info.magnolia.cms.gui.dialog.DialogControlImpl.drawSubs(DialogControlImpl.java:323)
      	info.magnolia.cms.gui.dialog.DialogControlImpl.drawHtml(DialogControlImpl.java:167)
      	info.magnolia.cms.gui.dialog.DialogControlImpl.drawSubs(DialogControlImpl.java:323)
      

        Acceptance criteria

              rkovarik Roman Kovařík
              frank.sommer Frank Sommer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: