Uploaded image for project: 'Commons Jelly'
  1. Commons Jelly
  2. JELLY-166

Intermittent error with weak reference wrapper

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.0-RC2
    • core / taglib.core
    • None

    Description

      The following happens sometimes when running tests:

      [junit] Testcase: testChoose(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an ERROR
      [junit] null:-1:-1: <null> Attempt to use a script that has been garbage collected.
      [junit] org.apache.commons.jelly.JellyTagException: null:-1:-1: <null> Attempt to use a script that has been garbage collected.
      [junit] at org.apache.commons.jelly.impl.WeakReferenceWrapperScript.script(WeakReferenceWrapperScript.java:62)
      [junit] at org.apache.commons.jelly.impl.WeakReferenceWrapperScript.run(WeakReferenceWrapperScript.java:74)
      [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)

      Attachments

        1. includeAndDefineExample.zip
          0.6 kB
          Paul Libbrecht

        Activity

          People

            Unassigned Unassigned
            diongillard dion gillard
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: