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

Silent Failure of a toString that return null

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.5
    • Component/s: Engine
    • Labels:
      None
    • Environment:
      Operating System: other
      Platform: Other
    • Bugzilla Id:
      35043

      Description

      $!method.toString() -
      $!method.getInstance().toString() -
      $!method -
      $!method.getInstance()

      if the toString method returns null,
      this will return ' - - null - null'

      see attached testcase

        Attachments

        1. patch2.txt
          0.9 kB
          Will Glass-Husain
        2. ASF.LICENSE.NOT.GRANTED--VelocitySilentTest.java
          1 kB
          Llewellyn Falco
        3. ASF.LICENSE.NOT.GRANTED--VelocityParser.java
          4 kB
          Llewellyn Falco
        4. ASF.LICENSE.NOT.GRANTED--StringResourceLoader.java
          2 kB
          Llewellyn Falco
        5. ASF.LICENSE.NOT.GRANTED--ContextAware.java
          0.3 kB
          Llewellyn Falco

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              isidore@setgame.com Llewellyn Falco
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: