MCRURLRetriever.getURLforID() throws NPE

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)

Environment

None

Assignee

Thomas Scheffler

Reporter

Kathleen Neumann

Labels

None

URL

None

External issue ID

None

Components

Fix versions

Affects versions

Priority

High
Configure