Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-1030

no source and line number is shown in exceptions thrown from inside a script

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-JSR-2, 1.0-JSR-3
    • 1.0-JSR-4
    • bytecode, class generator
    • None

    Description

      consider the script:

      throw new Exception("foo")

      the stack trace should show the line number and script name of the script which has thrown this exception. Instead the trace shows something like "unknown source"

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            blackdrag Jochen Theodorou
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: