I built from htmlunit's CVS and the problem is indeed fixed.  Thanks! 
Do you know when this fix will be included in WebTest?

Thanks,

Matt

On 1/26/06, Marc Guillemot <[EMAIL PROTECTED]> wrote:
> Probably now fixed in htmlunit. Perhaps can you take it from htmlunit's
> CVS (in a fex hours?) and build by yourself to test it?
>
> Marc.
>
> Marc Guillemot wrote:
> > I've posted a reference to your mail in htmlunit's mailing list.
> >
> > I don't understand why you didn't need jaxen with build 1108: it is
> > needed since a long time for all xpath related steps.
> >
> > Marc.
> >
> > Matt Raible wrote:
> >
> >>I tried the latest build and still get an exception - here's the
> >>error.  One thing that's wierd b/w 1108 and 1146 is I needed to have
> >>jaxen-1.1-beta-8.jar in my classpath with 1146 - whereas I didn't need
> >>it in 1108.
> >>
> >>Matt
> >>
> >>AddUser:
> >>  [webtest] 2006-01-25 17:08:50,852 ERROR com.canoo.webtest.steps.Step - 
> >> Origina
> >>l cause of the XNIException: null
> >>  [webtest] java.util.ConcurrentModificationException
> >>  [webtest]     at 
> >> java.util.HashMap$HashIterator.nextEntry(HashMap.java:782)
> >>  [webtest]     at java.util.HashMap$ValueIterator.next(HashMap.java:812)
> >>  [webtest]     at 
> >> com.gargoylesoftware.htmlunit.ThreadManager.interruptAll(Thre
> >>adManager.java:170)
> >>  [webtest]     at 
> >> com.gargoylesoftware.htmlunit.WebWindowImpl.destroyChildren(W
> >>ebWindowImpl.java:133)
> >>  [webtest]     at 
> >> com.gargoylesoftware.htmlunit.WebWindowImpl.setEnclosedPage(W
> >>ebWindowImpl.java:96)
> >>  [webtest]     at 
> >> com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuil
> >>der.startDocument(HTMLParser.java:332)
> >>  [webtest]     at 
> >> org.apache.xerces.parsers.AbstractSAXParser.startDocument(Unk
> >>nown Source)
> >>  [webtest]     at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown 
> >> Source)
> >>  [webtest]     at 
> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
> >>hodAccessorImpl.java:25)
> >>  [webtest]     at java.lang.reflect.Method.invoke(Method.java:324)
> >>  [webtest]     at 
> >> org.cyberneko.html.filters.DefaultFilter.startDocument(Defaul
> >>tFilter.java:102)
> >>  [webtest]     at 
> >> org.cyberneko.html.filters.NamespaceBinder.startDocument(Name
> >>spaceBinder.java:247)
> >>  [webtest]     at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown 
> >> Source)
> >>  [webtest]     at 
> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
> >>hodAccessorImpl.java:25)
> >>  [webtest]     at java.lang.reflect.Method.invoke(Method.java:324)
> >>  [webtest]     at 
> >> org.cyberneko.html.HTMLTagBalancer.startDocument(HTMLTagBalan
> >>cer.java:380)
> >>  [webtest]     at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown 
> >> Source)
> >>  [webtest]     at 
> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
> >>hodAccessorImpl.java:25)
> >>  [webtest]     at java.lang.reflect.Method.invoke(Method.java:324)
> >>  [webtest]     at 
> >> org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanne
> >>r.java:1915)
> >>  [webtest]     at 
> >> org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:
> >>809)
> >>  [webtest]     at 
> >> org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.
> >>java:478)
> >>  [webtest]     at 
> >> org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.
> >>java:431)
> >>  [webtest]     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> >>  [webtest]     at 
> >> com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuil
> >>der.parse(HTMLParser.java:311)
> >>  [webtest]     at 
> >> com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParse
> >>r.java:226)
> >>  [webtest]     at 
> >> com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPa
> >>ge(DefaultPageCreator.java:116)
> >>  [webtest]     at 
> >> com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(D
> >>efaultPageCreator.java:84)
> >>  [webtest]     at 
> >> com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(W
> >>ebClient.java:426)
> >>  [webtest]     at 
> >> com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.jav
> >>a:344)
> >>  [webtest]     at 
> >> com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.jav
> >>a:384)
> >>  [webtest]     at 
> >> com.canoo.webtest.steps.request.TargetHelper.getResponse(Targ
> >>etHelper.java:67)
> >>  [webtest]     at 
> >> com.canoo.webtest.steps.request.AbstractTargetAction.getRespo
> >>nse(AbstractTargetAction.java:68)
> >>  [webtest]     at 
> >> com.canoo.webtest.steps.request.InvokePage.findTarget(InvokeP
> >>age.java:135)
> >>  [webtest]     at 
> >> com.canoo.webtest.steps.request.AbstractTargetAction$1.call(A
> >>bstractTargetAction.java:108)
> >>  [webtest]     at 
> >> com.canoo.webtest.steps.request.TargetHelper.protectedGoto(Ta
> >>rgetHelper.java:86)
> >>  [webtest]     at 
> >> com.canoo.webtest.steps.request.AbstractTargetAction.gotoTarg
> >>et(AbstractTargetAction.java:106)
> >>  [webtest]     at 
> >> com.canoo.webtest.steps.request.AbstractTargetAction.doExecut
> >>e(AbstractTargetAction.java:78)
> >>  [webtest]     at com.canoo.webtest.steps.Step.execute(Step.java:154)
> >>  [webtest]     at 
> >> com.canoo.webtest.engine.Engine.executeSteps(Engine.java:28)
> >>  [webtest]     at 
> >> com.canoo.webtest.ant.WebtestTask.execute(WebtestTask.java:79
> >>)
> >>  [webtest]     at 
> >> org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
> >>va:275)
> >>  [webtest]     at org.apache.tools.ant.Task.perform(Task.java:364)
> >>  [webtest]     at org.apache.tools.ant.Target.execute(Target.java:341)
> >>  [webtest]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
> >>  [webtest]     at 
> >> org.apache.tools.ant.Project.executeSortedTargets(Project.jav
> >>a:1216)
> >>  [webtest]     at 
> >> org.apache.tools.ant.helper.SingleCheckExecutor.executeTarget
> >>s(SingleCheckExecutor.java:37)
> >>  [webtest]     at 
> >> org.apache.tools.ant.Project.executeTargets(Project.java:1068
> >>)
> >>  [webtest]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
> >>  [webtest]     at 
> >> org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
> >>va:275)
> >>  [webtest]     at org.apache.tools.ant.Task.perform(Task.java:364)
> >>  [webtest]     at org.apache.tools.ant.Target.execute(Target.java:341)
> >>  [webtest]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
> >>  [webtest]     at 
> >> org.apache.tools.ant.Project.executeSortedTargets(Project.jav
> >>a:1216)
> >>  [webtest]     at 
> >> org.apache.tools.ant.helper.SingleCheckExecutor.executeTarget
> >>s(SingleCheckExecutor.java:37)
> >>  [webtest]     at 
> >> org.apache.tools.ant.Project.executeTargets(Project.java:1068
> >>)
> >>  [webtest]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
> >>  [webtest]     at 
> >> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.j
> >>ava:107)
> >>  [webtest]     at 
> >> org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
> >>va:275)
> >>  [webtest]     at org.apache.tools.ant.Task.perform(Task.java:364)
> >>  [webtest]     at org.apache.tools.ant.Target.execute(Target.java:341)
> >>  [webtest]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
> >>  [webtest]     at 
> >> org.apache.tools.ant.Project.executeSortedTargets(Project.jav
> >>a:1216)
> >>  [webtest]     at 
> >> org.apache.tools.ant.Project.executeTarget(Project.java:1185)
> >>
> >>  [webtest]     at 
> >> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(De
> >>faultExecutor.java:40)
> >>  [webtest]     at 
> >> org.apache.tools.ant.Project.executeTargets(Project.java:1068
> >>)
> >>  [webtest]     at org.apache.tools.ant.Main.runBuild(Main.java:668)
> >>  [webtest]     at org.apache.tools.ant.Main.startAnt(Main.java:187)
> >>  [webtest]     at 
> >> org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
> >>  [webtest]     at 
> >> org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
> >>
> >>BUILD FAILED
> >>/Users/mraible/Work/appfuse/build.xml:608: The following error occurred 
> >>while ex
> >>ecuting this line:
> >>/Users/mraible/Work/appfuse/build.xml:569: The following error occurred 
> >>while ex
> >>ecuting this line:
> >>/Users/mraible/Work/appfuse/test/web/web-tests.xml:117: Canoo Webtest: 
> >>R_1146.
> >>Test failed.
> >>Exception raised: com.canoo.webtest.engine.StepExecutionException: 
> >>XNIException
> >>caused by null, Step: InvokePage at 
> >>/Users/mraible/Work/appfuse/test/web/web-tes
> >>ts.xml:146:  with (description="Click edit user link", 
> >>url="/editUser.html?usern
> >>ame=newuser&from=list", method="GET", 
> >>stepType="invoke")com.canoo.webtest.engine
> >>.StepExecutionException: XNIException caused by null, Step: InvokePage at 
> >>/Users
> >>/mraible/Work/appfuse/test/web/web-tests.xml:146:  with (description="Click 
> >>edit
> >> user link", url="/editUser.html?username=newuser&from=list", method="GET", 
> >> step
> >>Type="invoke")
> >>        at 
> >> com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:586)
> >>
> >>        at 
> >> com.canoo.webtest.steps.AbstractBrowserAction.handleUnexpectedExcepti
> >>on(AbstractBrowserAction.java:107)
> >>        at 
> >> com.canoo.webtest.steps.request.TargetHelper.protectedGoto(TargetHelp
> >>er.java:99)
> >>        at 
> >> com.canoo.webtest.steps.request.AbstractTargetAction.gotoTarget(Abstr
> >>actTargetAction.java:106)
> >>        at 
> >> com.canoo.webtest.steps.request.AbstractTargetAction.doExecute(Abstra
> >>ctTargetAction.java:78)
> >>        at com.canoo.webtest.steps.Step.execute(Step.java:154)
> >>        at com.canoo.webtest.engine.Engine.executeSteps(Engine.java:28)
> >>        at com.canoo.webtest.ant.WebtestTask.execute(WebtestTask.java:79)
> >>        at 
> >> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> >>        at org.apache.tools.ant.Task.perform(Task.java:364)
> >>        at org.apache.tools.ant.Target.execute(Target.java:341)
> >>        at org.apache.tools.ant.Target.performTasks(Target.java:369)
> >>        at 
> >> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
> >>        at 
> >> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single
> >>CheckExecutor.java:37)
> >>        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
> >>        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
> >>        at 
> >> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> >>        at org.apache.tools.ant.Task.perform(Task.java:364)
> >>        at org.apache.tools.ant.Target.execute(Target.java:341)
> >>        at org.apache.tools.ant.Target.performTasks(Target.java:369)
> >>        at 
> >> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
> >>        at 
> >> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single
> >>CheckExecutor.java:37)
> >>
> >>On 1/16/06, Marc Guillemot <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >>>Matt,
> >>>
> >>>can you test again with the latest build: XNIException are now examined
> >>>to report the deeply nested cause of the problem and if you use the
> >>>webtest.(sh|bat) scripts they now say to ant not to look at jars that
> >>>may be located in the user's ant directory.
> >>>
> >>>Marc.
> >>>
> >>>Matt Raible wrote:
> >>>
> >>>
> >>>>On 1/13/06, Marc Guillemot <[EMAIL PROTECTED]> wrote:
> >>>>
> >>>>
> >>>>
> >>>>>Matt Raible <[EMAIL PROTECTED]> writes:
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>Hello all,
> >>>>>>
> >>>>>>I've found that the following script.aculo.us effect causes the
> >>>>>>exception below to occur.  The strange this is it only happens on OS X
> >>>>>>- everything works fine on Windows XP.
> >>>>>>
> >>>>>>window.setTimeout("Effect.DropOut('successMessages')", 3000);
> >>>>>>
> >>>>>>Any ideas on how to keep this in my code, but keep this error from
> >>>>>>happening on OS X?
> >>>>>
> >>>>>do you have the possibility to run the test directly with htmlunit to 
> >>>>>walk the
> >>>>>chain of XNIException / InvocationTargetException up to the original 
> >>>>>problem?
> >>>>>
> >>>>>Marc.
> >>>>
> >>>>
> >>>>I did notice that on my Windows box, I had a bunch of JARs in my
> >>>>$ANT_HOME/lib, whereas on my Mac - I didn't have them.  Basically, I
> >>>>had the javanettask project's dependencies in my $ANT_HOME/lib.
> >>>>Here's that list:
> >>>>
> >>>>https://javanettasks.dev.java.net/nonav/maven/dependencies.html
> >>>>
> >>>>Matt
> >>>
> >>>_______________________________________________
> >>>WebTest mailing list
> >>>[email protected]
> >>>http://lists.canoo.com/mailman/listinfo/webtest
> >>>
> >
> >
> > _______________________________________________
> > WebTest mailing list
> > [email protected]
> > http://lists.canoo.com/mailman/listinfo/webtest
> >
>
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
>
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to