You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "dion gillard (JIRA)" <co...@jakarta.apache.org> on 2004/11/22 05:32:24 UTC

[jira] Created: (JELLY-166) Intermittent error with weak reference wrapper

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


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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Updated: (JELLY-166) Intermittent error with weak reference wrapper

Posted by "dion gillard (JIRA)" <co...@jakarta.apache.org>.
     [ http://nagoya.apache.org/jira/browse/JELLY-166?page=history ]

dion gillard updated JELLY-166:
-------------------------------

    Fix Version: 1.0

> 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

>
> 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Commented: (JELLY-166) Intermittent error with weak reference wrapper

Posted by "Hans Gilde (JIRA)" <co...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/JELLY-166?page=comments#action_57803 ]
     
Hans Gilde commented on JELLY-166:
----------------------------------

I believe that this is fixed in HEAD.

> Intermittent error with weak reference wrapper
> ----------------------------------------------
>
>          Key: JELLY-166
>          URL: http://issues.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://issues.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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Updated: (JELLY-166) Intermittent error with weak reference wrapper

Posted by "Paul Libbrecht (JIRA)" <co...@jakarta.apache.org>.
     [ 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Resolved: (JELLY-166) Intermittent error with weak reference wrapper

Posted by "dion gillard (JIRA)" <co...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/JELLY-166?page=history ]
     
dion gillard resolved JELLY-166:
--------------------------------

     Resolution: Fixed
    Fix Version: 1.0-RC2
                     (was: 1.0)

Fixed in SVN trunk

> Intermittent error with weak reference wrapper
> ----------------------------------------------
>
>          Key: JELLY-166
>          URL: http://issues.apache.org/jira/browse/JELLY-166
>      Project: jelly
>         Type: Bug
>   Components: core / taglib.core
>     Versions: 1.0
>     Reporter: dion gillard
>      Fix For: 1.0-RC2
>  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://issues.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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org