Uploaded image for project: 'MyCoRe'
  1. MCR-862

MCRURLRetriever.getURLforID() throws NPE

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 2014.12
    • Fix Version/s: 2015.02
    • Component/s: mycore-wfc
    • Labels:
      None

      Description

      When I try to delete an mods-document using the delete button on detail view (servlets/object/delete?id=mir_mods_00000006), I get an NullPointerException:

      java.lang.NullPointerException
      at org.mycore.wfc.actionmapping.MCRURLRetriever.getCollectionWithAction(MCRURLRetriever.java:143)
      at org.mycore.wfc.actionmapping.MCRURLRetriever.getURL(MCRURLRetriever.java:98)
      at org.mycore.wfc.actionmapping.MCRURLRetriever.getURLforID(MCRURLRetriever.java:81)
      at org.mycore.wfc.actionmapping.MCRPersistenceServletFilter.getURL(MCRPersistenceServletFilter.java:108)
      at org.mycore.wfc.actionmapping.MCRPersistenceServletFilter.doFilter(MCRPersistenceServletFilter.java:64)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

        Attachments

          Activity

            People

            • Assignee:
              yagee Thomas Scheffler
              Reporter:
              mcrkrebs Kathleen Neumann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: