Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5171

ModuleDescriptionReader could be more helpful when a resource isn't found

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.5.10, 5.0.2, 5.1
    • Component/s: testing
    • Labels:
      None
    • Magnolia Release:
      5.0.2, 4.5.10, 5.1

      Description

      In tests, we do things like BetwixtModuleDefinitionReader.readFromResource(path); when that path is wrong (or, more typically, the expected file/dependency isn't on the classpath), we just get a lame NullPointerException. An exception with the path would help.

        Attachments

          Activity

            People

            Assignee:
            gjoseph Magnolia International
            Reporter:
            gjoseph Magnolia International
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: