From: Marc G. <mgu...@ya...> - 2005-03-18 08:25:04
|
These is a known issue due to a bug in current version of jelly http://sourceforge.net/tracker/index.php?func=detail&aid=1114325&group_id=47038&atid=448266 If you get only these errors, you can assume that your changes don't break anything. Marc. Kent Tong wrote: > Hi, > > I'd like to add support for onsubmit handler for Form, > so I checked out the source from CVS. When I ran the unit > tests, four errors were found. Please see below for the > stack trace. Any idea? > > [java] 1) > testGetPage_insideWebClientTag(org.apache.commons.jelly.tags.junit > .CaseTag$1)org.apache.commons.jelly.JellyTagException: null:-1:-1: > <null> Attemp > t to use a script that has been garbage collected. > [java] at > org.apache.commons.jelly.impl.WeakReferenceWrapperScript.scri > pt(WeakReferenceWrapperScript.java:62) > [java] at > org.apache.commons.jelly.impl.WeakReferenceWrapperScript.run( > WeakReferenceWrapperScript.java:74) > [java] at > org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag > .java:59) > [java] 2) > testGetPage_outsideWebClientTag(org.apache.commons.jelly.tags.juni > t.CaseTag$1)org.apache.commons.jelly.JellyTagException: null:-1:-1: > <null> Attem > pt to use a script that has been garbage collected. > [java] at > org.apache.commons.jelly.impl.WeakReferenceWrapperScript.scri > pt(WeakReferenceWrapperScript.java:62) > [java] at > org.apache.commons.jelly.impl.WeakReferenceWrapperScript.run( > WeakReferenceWrapperScript.java:74) > [java] at > org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag > .java:59) > [java] 3) > testBrowserVersion(org.apache.commons.jelly.tags.junit.CaseTag$1)o > rg.apache.commons.jelly.JellyTagException: null:-1:-1: <null> Attempt to > use a s > cript that has been garbage collected. > [java] at > org.apache.commons.jelly.impl.WeakReferenceWrapperScript.scri > pt(WeakReferenceWrapperScript.java:62) > [java] at > org.apache.commons.jelly.impl.WeakReferenceWrapperScript.run( > WeakReferenceWrapperScript.java:74) > [java] at > org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag > .java:59) > [java] 4) > testXmlVarAttribute(org.apache.commons.jelly.tags.junit.CaseTag$1) > org.apache.commons.jelly.JellyTagException: null:-1:-1: <null> Attempt > to use a > script that has been garbage collected. > [java] at > org.apache.commons.jelly.impl.WeakReferenceWrapperScript.scri > pt(WeakReferenceWrapperScript.java:62) > [java] at > org.apache.commons.jelly.impl.WeakReferenceWrapperScript.run( > WeakReferenceWrapperScript.java:74) > [java] at > org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag > .java:59) > |