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

Intermittent error with weak reference wrapper

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.0-RC2
    • Component/s: core / taglib.core
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: