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

NPE in MCRClassificationMappingEventHandler, if MCRObject with no mods metadata ist handled

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2016.02
    • Fix Version/s: 2016.06.0
    • Component/s: mycore-mods
    • Labels:
      None

      Description

      java.lang.NullPointerException
      at org.mycore.mods.MCRMODSWrapper.getMODS(MCRMODSWrapper.java:111)
      at org.mycore.mods.MCRMODSWrapper.getElements(MCRMODSWrapper.java:157)
      at org.mycore.mods.classification.MCRClassificationMappingEventHandler.createMapping(MCRClassificationMappingEventHandler.java:84)
      at org.mycore.mods.classification.MCRClassificationMappingEventHandler.handleObjectCreated(MCRClassificationMappingEventHandler.java:64)
      at org.mycore.common.events.MCREventHandlerBase.doHandleEvent(MCREventHandlerBase.java:61)

        Attachments

          Activity

            People

            • Assignee:
              yagee Thomas Scheffler
              Reporter:
              mcrsteph Robert Stephan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: