[ http://nagoya.apache.org/jira/browse/JELLY-166?page=history ]
Paul Libbrecht updated JELLY-166:
---------------------------------
Attachment: includeAndDefineExample.zip
The attached pair of scripts seems to constantly raise the exception "Attempt
to use a script that has been garbage collected.".
It combines a defined tag and an included script, quite a common situation,
e.g. for Maven.
I could not find a way to reproduce the bug with only one of the two
ingredients.
Invoke it with "java -jar target/fatJelly.jar blop.jelly".
paul
PS: this comment was first done on JELLY-85... it might also be done on
JELLY-148 where the patch was first prestented
PPS: we badly need to be able to link issues, that's a feature that "just needs
to be enabled" in the jira.
> Intermittent error with weak reference wrapper
> ----------------------------------------------
>
> Key: JELLY-166
> URL: http://nagoya.apache.org/jira/browse/JELLY-166
> Project: jelly
> Type: Bug
> Components: core / taglib.core
> Versions: 1.0
> Reporter: dion gillard
> Fix For: 1.0
> Attachments: includeAndDefineExample.zip
>
> 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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]