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

Parse error creates an obscure error message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 1.6
    • 1.6
    • Engine
    • None

    Description

      The following incorrect velocity usage:

      #macro(foo $a)
      blaa
      #end
      #foo("b" "c")

      or ...

      #if ($x = "a")
      #end

      will create the obscure error message in the exception:

      > Bad Reference "null" in /foo.vm:18

      Attachments

        1. Velocity620TestCase.java
          1 kB
          Nathan Bubna

        Activity

          People

            Unassigned Unassigned
            byronvf Byron Foster
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: