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

MCRMetaElement.setFromDOM accesses not available information

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2016.06.0.1
    • Fix Version/s: 2017.06.0
    • Component/s: None
    • Labels:
      None
    • Sprint:

      Description

      Line 309:

                      throw new MCRException("Missing required class attribute in element " + element.getName() + " of object "
                              + element.getDocument().getRootElement().getAttributeValue("ID"));
      

      The Code should not try to access the Document neither the id attribute of its root. (Causes NPE)

        Attachments

          Activity

            People

            • Assignee:
              mcrjkupf Jens Kupferschmidt
              Reporter:
              mcrshofm Sebastian Hofmann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: