Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-382

getResourceStream returns null instead of throwing an ResourceNotFoundException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4
    • 1.5
    • Engine
    • None
    • Operating System: Windows XP
      Platform: PC
    • 35286

    Description

      According to the documentation of org.apache.velocity.runtime.resource.loader.
      getResourceStream(String name), it should throw an ResourceNotFoundException
      when the resource with the given name can't be found. But the Exception isn't
      thrown, null is returned as result from the "classLoader.getResourceAsStream( name
      )" method.

      Attachments

        Activity

          People

            Unassigned Unassigned
            zpeedy zpeedy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: