Yes, I know. It's a bug in HtmlUnit that I have reported. But I have no news about it. I don't think it's very important.
Thanks for your feedback.
I will try to publish rc2 before the end of the week.
++
Julien
Thanks for your feedback.
I will try to publish rc2 before the end of the week.
++
Julien
----- Message d'origine ----
De : Fred <[EMAIL PROTECTED]>
À : Usage problems for jWebUnit <[email protected]>
Envoyé le : Mercredi, 5 Juillet 2006, 3h15mn 45s
Objet : Re: [Jwebunit-users] Re : Jwebunit and maven
De : Fred <[EMAIL PROTECTED]>
À : Usage problems for jWebUnit <[email protected]>
Envoyé le : Mercredi, 5 Juillet 2006, 3h15mn 45s
Objet : Re: [Jwebunit-users] Re : Jwebunit and maven
On Wednesday 05 July 2006 08:56, Fred wrote:
> Hi Julien,
>
> Thanks for your reply.
> I did deploy 1.3-SNAPSHOT in my local repository and I managed to get maven
> dependencies to work and... this fixed the bug :o)
>
> So no problem anymore !
Oh! I forgot to say that one unit test failed when I compiled the project.
The result of the test is the following:
-------------------------------------------------------------------------------
Test set: net.sourceforge.jwebunit.htmlunit.JWebUnitTest
-------------------------------------------------------------------------------
Tests run: 158, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.819 sec
<<< FAILURE!
testDocumentWrite(net.sourceforge.jwebunit.tests._javascript_Test) Time
elapsed: 0.088 sec <<< FAILURE!
junit.framework.AssertionFailedError: Expected text not found in current page:
[Hello World]
Page content was: document.write("Hello "); document.write("World");
HelloWorld
at junit.framework.Assert.fail(Assert.java:47)
at
net.sourceforge.jwebunit.WebTester.assertTextPresent(WebTester.java:246)
at
net.sourceforge.jwebunit.WebTestCase.assertTextPresent(WebTestCase.java:122)
at
net.sourceforge.jwebunit.tests._javascript_Test.testDocumentWrite(_javascript_Test.java:29)
Seems that _javascript_ is not interpreted in jetty or something like that or
maybe I'm missing something...
>
> Thanks for your support,
>
> Fred.
>
> On Tuesday 04 July 2006 20:02, Julien HENRY wrote:
> > Hi Fred,
> >
> > The trunk of jWebUnit is for 2.x, which will contain great changes, and
> > is versionned as 2.0-SNAPSHOT. You could checkout 1.x branch, which is
> > currently versionned as 1.3-SNAPSHOT. The 1.3-rc1 was not published on
> > ibiblio, and I will not do it because I commit mistake with htmlunit
> > dependency. I will publish very soon 1.3-rc2, and ask Maven guys for
> > putting it on ibilio. What I can do is to put 1.3-rc1 on our private
> > repository (and I should have done it).
> >
> > Concerning your bug, could you please try with 1.3-rc2 as soon as it will
> > be available, or try to build 1.3-SNAPSHOT from 1.x branch. I will
> > investigate a bit further.
> >
> > ++
> >
> > Julien
> >
> > ----- Message d'origine ----
> > De : Fred <[EMAIL PROTECTED]>
> > À : jwebunit-users <[email protected]>
> > Envoyé le : Mardi, 4 Juillet 2006, 10h23mn 43s
> > Objet : [Jwebunit-users] Jwebunit and maven
> >
> >
> > Hi,
> >
> > I'm trying to figure out how to include jwebunit as a maven dependency in
> > my project. I followed instructions from the website but I didn't manage
> > to get it work.
> >
> > I checked the url that points to maven repository[1], and indeed, there
> > is no net/sourceforge/jwebunit directory (or maven groupId).
> >
> > [1] http://jwebunit.sourceforge.net/m2-repo
> >
> > I also checked the maven snapshot repository[2]. This repository contains
> > some dated versions of jar files but I don't see any -SNAPSHOT versions.
> >
> > As the integration of jwebunit with maven wasn't working, I tried to
> > check out the svn trunk and compile the project myself... I was surprise
> > to see that the version of jwebunit in the pom was 2.0-SNAPSHOT whereas
> > the lastest final release is 1.2 (if we consider 1.3-rc1 as not being a
> > final release)... but ok, I compiled and deployed the project to a local
> > repository and I managed to get maven dependency to work.
> >
> > But now, when I'm executing a test via eclipse, I get an error (check it
> > out at the end of this mail). This is a single test which is retreiving a
> > login/password page, filling in the textfields and submitting the form.
> > This exception occurs when calling the submit method.
> >
> > The form looks like:
> >
> > <form action="" method="post">
> > <fieldset id="loginbox">
> > <label for="">Username:</label><input type="text"
> > name="os_username" id="username" /><br />
> > <label for="">Password:</label><input type="password"
> > name="os_password" id="password" /><br />
> > <div class="textfieldModifier">
> > <input type="checkbox" name="os_cookie" value="true"
> > id="persistent_login"/> <label for=""
> > class="label">Remember me on this
> > computer</label><br/>
> > </div>
> > <div class="form-buttons">
> > <input type="reset" value="Clear Fields"/>
> > <input type="submit" value="Login"/>
> > </div>
> > <p id="forgotpassword">
> > Forgot your password ? Click <a
> > href="">here</a>.
> > </p>
> > </fieldset>
> > </form
> >
> > And the code for my test is the following:
> >
> > public void testLoginWithExistingUserShouldBeSuccessful() {
> > assertLinkPresentWithText("Log in");
> > clickLinkWithText("Log in");
> > assertFormPresent();
> > assertFormElementPresent("os_username");
> > assertTextPresent("Username:");
> > assertFormElementEmpty("os_username");
> > assertFormElementPresent("os_password");
> > assertTextPresent("Password:");
> > assertFormElementEmpty("os_password");
> > assertResetButtonPresent();
> > assertSubmitButtonPresent();
> > setTextField("os_username", "fburlet");
> > setTextField("os_password", "fburlet");
> > checkCheckbox("os_cookie");
> > submit(); <= here it fails with the stacktrace at the bottom of
> > this mail.
> > assertElementPresent("user-welcome");
> > assertTextPresent("Logged in as");
> > }
> >
> >
> > I have two problems to solve (or maybe only one because they are perhaps
> > dependent). First, how do I get maven dependencies working if I want to
> > use your deployed versions.
> > Second, what's going wrong with my test ? :o)
> >
> > Thanks for your patience and your reading :o)
> >
> > Regards,
> >
> > Fred.
> >
> > ----
> > The stacktrace:
> >
> > com.gargoylesoftware.htmlunit.ObjectInstantiationException: Exception
> > when calling constructor [public
> > com.gargoylesoftware.htmlunit.html.HtmlAnchor(com.gargoylesoftware.htmlun
> >it .html.HtmlPage,java.util.Map)] at
> > com.gargoylesoftware.htmlunit.html.DefaultElementFactory.createElement(De
> >fa ultElementFactory.java:113) at
> > com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.startEle
> >me nt(HTMLParser.java:358) at
> > org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
> > at org.cyberneko.html.filters.DefaultFilter.startElement(Unknown Source)
> > at org.cyberneko.html.filters.NamespaceBinder.startElement(Unknown
> > Source) at org.cyberneko.html.HTMLTagBalancer.callStartElement(Unknown
> > Source) at org.cyberneko.html.HTMLTagBalancer.startElement(Unknown
> > Source) at
> > org.cyberneko.html.HTMLScanner$ContentScanner.scanStartElement(Unknown
> > Source)
> > at org.cyberneko.html.HTMLScanner$ContentScanner.scan(Unknown Source)
> > at org.cyberneko.html.HTMLScanner.scanDocument(Unknown Source)
> > at org.cyberneko.html.HTMLConfiguration.parse(Unknown Source)
> > at org.cyberneko.html.HTMLConfiguration.parse(Unknown Source)
> > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> > at
> > com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HT
> >ML Parser.java:311) at
> > com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:226)
> > at
> > com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPa
> >ge Creator.java:112) at
> > com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCr
> >ea tor.java:85) at
> > com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.jav
> >a: 426) at
> > com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:344) at
> > com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:371) at
> > com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:217) at
> > com.gargoylesoftware.htmlunit.html.HtmlSubmitInput.doClickAction(HtmlSubm
> >it Input.java:78) at
> > com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElemen
> >t. java:120) at
> > net.sourceforge.jwebunit.htmlunit.HtmlUnitDialog.submit(HtmlUnitDialog.ja
> >va
> >
> >:959) at net.sourceforge.jwebunit.WebTester.submit(WebTester.java:1719) at
> >
> > net.sourceforge.jwebunit.WebTestCase.submit(WebTestCase.java:674) at
> > com.kiala.kweb.TestLogin.testLoginWithExistingUserShouldBeSuccessful(Test
> >Lo gin.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method) at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> >:3 9) at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> >mp l.java:25) at java.lang.reflect.Method.invoke(Method.java:585)
> > at junit.framework.TestCase.runTest(TestCase.java:154)
> > at junit.framework.TestCase.runBare(TestCase.java:127)
> > at net.sourceforge.jwebunit.WebTestCase.runBare(WebTestCase.java:50)
> > at junit.framework.TestResult$1.protect(TestResult.java:106)
> > at junit.framework.TestResult.runProtected(TestResult.java:124)
> > at junit.framework.TestResult.run(TestResult.java:109)
> > at junit.framework.TestCase.run(TestCase.java:118)
> > at junit.framework.TestSuite.runTest(TestSuite.java:208)
> > at junit.framework.TestSuite.run(TestSuite.java:203)
> > at
> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTes
> >tR unner.java:478) at
> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunn
> >er .java:344) at
> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRun
> >ne r.java:196) Enclosed exception: java.lang.VerifyError: (class:
> > com/gargoylesoftware/htmlunit/_javascript_/host/EventHandler, method: get
> > signature:
> > (Ljava/lang/String;Lorg/mozilla/_javascript_/Scriptable;)Ljava/lang/Object;
> >) Illegal use of nonvirtual function call
> > at
> > com.gargoylesoftware.htmlunit.html.HtmlElement.setEventHandler(HtmlElemen
> >t. java:241) at
> > com.gargoylesoftware.htmlunit.html.HtmlElement.attributesToEventHandlers(
> >Ht mlElement.java:650) at
> > com.gargoylesoftware.htmlunit.html.HtmlElement.<init>(HtmlElement.java:98
> >) at
> > com.gargoylesoftware.htmlunit.html.StyledElement.<init>(StyledElement.jav
> >a: 62) at
> > com.gargoylesoftware.htmlunit.html.ClickableElement.<init>(ClickableEleme
> >nt .java:73) at
> > com.gargoylesoftware.htmlunit.html.FocusableElement.<init>(FocusableEleme
> >nt .java:58) at
> > com.gargoylesoftware.htmlunit.html.HtmlAnchor.<init>(HtmlAnchor.java:70)
> > at sun.reflect.GeneratedConstructorAccessor4.newInstance(Unknown Source)
> > at
> > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConst
> >ru ctorAccessorImpl.java:27) at
> > java.lang.reflect.Constructor.newInstance(Constructor.java:494) at
> > com.gargoylesoftware.htmlunit.html.DefaultElementFactory.createElement(De
> >fa ultElementFactory.java:101) at
> > com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.startEle
> >me nt(HTMLParser.java:358) at
> > org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
> > at org.cyberneko.html.filters.DefaultFilter.startElement(Unknown Source)
> > at org.cyberneko.html.filters.NamespaceBinder.startElement(Unknown
> > Source) at org.cyberneko.html.HTMLTagBalancer.callStartElement(Unknown
> > Source) at org.cyberneko.html.HTMLTagBalancer.startElement(Unknown
> > Source) at
> > org.cyberneko.html.HTMLScanner$ContentScanner.scanStartElement(Unknown
> > Source)
> > at org.cyberneko.html.HTMLScanner$ContentScanner.scan(Unknown Source)
> > at org.cyberneko.html.HTMLScanner.scanDocument(Unknown Source)
> > at org.cyberneko.html.HTMLConfiguration.parse(Unknown Source)
> > at org.cyberneko.html.HTMLConfiguration.parse(Unknown Source)
> > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> > at
> > com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HT
> >ML Parser.java:311) at
> > com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:226)
> > at
> > com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPa
> >ge Creator.java:112) at
> > com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCr
> >ea tor.java:85) at
> > com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.jav
> >a: 426) at
> > com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:344) at
> > com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:371) at
> > com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:217) at
> > com.gargoylesoftware.htmlunit.html.HtmlSubmitInput.doClickAction(HtmlSubm
> >it Input.java:78) at
> > com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElemen
> >t. java:120) at
> > net.sourceforge.jwebunit.htmlunit.HtmlUnitDialog.submit(HtmlUnitDialog.ja
> >va
> >
> >:959) at net.sourceforge.jwebunit.WebTester.submit(WebTester.java:1719) at
> >
> > net.sourceforge.jwebunit.WebTestCase.submit(WebTestCase.java:674) at
> > com.kiala.kweb.TestLogin.testLoginWithExistingUserShouldBeSuccessful(Test
> >Lo gin.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method) at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> >:3 9) at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> >mp l.java:25) at java.lang.reflect.Method.invoke(Method.java:585)
> > at junit.framework.TestCase.runTest(TestCase.java:154)
> > at junit.framework.TestCase.runBare(TestCase.java:127)
> > at net.sourceforge.jwebunit.WebTestCase.runBare(WebTestCase.java:50)
> > at junit.framework.TestResult$1.protect(TestResult.java:106)
> > at junit.framework.TestResult.runProtected(TestResult.java:124)
> > at junit.framework.TestResult.run(TestResult.java:109)
> > at junit.framework.TestCase.run(TestCase.java:118)
> > at junit.framework.TestSuite.runTest(TestSuite.java:208)
> > at junit.framework.TestSuite.run(TestSuite.java:203)
> > at
> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTes
> >tR unner.java:478) at
> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunn
> >er .java:344) at
> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRun
> >ne r.java:196)
> >
> >
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job
> > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> > Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > _______________________________________________
> > Jwebunit-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/jwebunit-users
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Jwebunit-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jwebunit-users
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jwebunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users
> Hi Julien,
>
> Thanks for your reply.
> I did deploy 1.3-SNAPSHOT in my local repository and I managed to get maven
> dependencies to work and... this fixed the bug :o)
>
> So no problem anymore !
Oh! I forgot to say that one unit test failed when I compiled the project.
The result of the test is the following:
-------------------------------------------------------------------------------
Test set: net.sourceforge.jwebunit.htmlunit.JWebUnitTest
-------------------------------------------------------------------------------
Tests run: 158, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.819 sec
<<< FAILURE!
testDocumentWrite(net.sourceforge.jwebunit.tests._javascript_Test) Time
elapsed: 0.088 sec <<< FAILURE!
junit.framework.AssertionFailedError: Expected text not found in current page:
[Hello World]
Page content was: document.write("Hello "); document.write("World");
HelloWorld
at junit.framework.Assert.fail(Assert.java:47)
at
net.sourceforge.jwebunit.WebTester.assertTextPresent(WebTester.java:246)
at
net.sourceforge.jwebunit.WebTestCase.assertTextPresent(WebTestCase.java:122)
at
net.sourceforge.jwebunit.tests._javascript_Test.testDocumentWrite(_javascript_Test.java:29)
Seems that _javascript_ is not interpreted in jetty or something like that or
maybe I'm missing something...
>
> Thanks for your support,
>
> Fred.
>
> On Tuesday 04 July 2006 20:02, Julien HENRY wrote:
> > Hi Fred,
> >
> > The trunk of jWebUnit is for 2.x, which will contain great changes, and
> > is versionned as 2.0-SNAPSHOT. You could checkout 1.x branch, which is
> > currently versionned as 1.3-SNAPSHOT. The 1.3-rc1 was not published on
> > ibiblio, and I will not do it because I commit mistake with htmlunit
> > dependency. I will publish very soon 1.3-rc2, and ask Maven guys for
> > putting it on ibilio. What I can do is to put 1.3-rc1 on our private
> > repository (and I should have done it).
> >
> > Concerning your bug, could you please try with 1.3-rc2 as soon as it will
> > be available, or try to build 1.3-SNAPSHOT from 1.x branch. I will
> > investigate a bit further.
> >
> > ++
> >
> > Julien
> >
> > ----- Message d'origine ----
> > De : Fred <[EMAIL PROTECTED]>
> > À : jwebunit-users <[email protected]>
> > Envoyé le : Mardi, 4 Juillet 2006, 10h23mn 43s
> > Objet : [Jwebunit-users] Jwebunit and maven
> >
> >
> > Hi,
> >
> > I'm trying to figure out how to include jwebunit as a maven dependency in
> > my project. I followed instructions from the website but I didn't manage
> > to get it work.
> >
> > I checked the url that points to maven repository[1], and indeed, there
> > is no net/sourceforge/jwebunit directory (or maven groupId).
> >
> > [1] http://jwebunit.sourceforge.net/m2-repo
> >
> > I also checked the maven snapshot repository[2]. This repository contains
> > some dated versions of jar files but I don't see any -SNAPSHOT versions.
> >
> > As the integration of jwebunit with maven wasn't working, I tried to
> > check out the svn trunk and compile the project myself... I was surprise
> > to see that the version of jwebunit in the pom was 2.0-SNAPSHOT whereas
> > the lastest final release is 1.2 (if we consider 1.3-rc1 as not being a
> > final release)... but ok, I compiled and deployed the project to a local
> > repository and I managed to get maven dependency to work.
> >
> > But now, when I'm executing a test via eclipse, I get an error (check it
> > out at the end of this mail). This is a single test which is retreiving a
> > login/password page, filling in the textfields and submitting the form.
> > This exception occurs when calling the submit method.
> >
> > The form looks like:
> >
> > <form action="" method="post">
> > <fieldset id="loginbox">
> > <label for="">Username:</label><input type="text"
> > name="os_username" id="username" /><br />
> > <label for="">Password:</label><input type="password"
> > name="os_password" id="password" /><br />
> > <div class="textfieldModifier">
> > <input type="checkbox" name="os_cookie" value="true"
> > id="persistent_login"/> <label for=""
> > class="label">Remember me on this
> > computer</label><br/>
> > </div>
> > <div class="form-buttons">
> > <input type="reset" value="Clear Fields"/>
> > <input type="submit" value="Login"/>
> > </div>
> > <p id="forgotpassword">
> > Forgot your password ? Click <a
> > href="">here</a>.
> > </p>
> > </fieldset>
> > </form
> >
> > And the code for my test is the following:
> >
> > public void testLoginWithExistingUserShouldBeSuccessful() {
> > assertLinkPresentWithText("Log in");
> > clickLinkWithText("Log in");
> > assertFormPresent();
> > assertFormElementPresent("os_username");
> > assertTextPresent("Username:");
> > assertFormElementEmpty("os_username");
> > assertFormElementPresent("os_password");
> > assertTextPresent("Password:");
> > assertFormElementEmpty("os_password");
> > assertResetButtonPresent();
> > assertSubmitButtonPresent();
> > setTextField("os_username", "fburlet");
> > setTextField("os_password", "fburlet");
> > checkCheckbox("os_cookie");
> > submit(); <= here it fails with the stacktrace at the bottom of
> > this mail.
> > assertElementPresent("user-welcome");
> > assertTextPresent("Logged in as");
> > }
> >
> >
> > I have two problems to solve (or maybe only one because they are perhaps
> > dependent). First, how do I get maven dependencies working if I want to
> > use your deployed versions.
> > Second, what's going wrong with my test ? :o)
> >
> > Thanks for your patience and your reading :o)
> >
> > Regards,
> >
> > Fred.
> >
> > ----
> > The stacktrace:
> >
> > com.gargoylesoftware.htmlunit.ObjectInstantiationException: Exception
> > when calling constructor [public
> > com.gargoylesoftware.htmlunit.html.HtmlAnchor(com.gargoylesoftware.htmlun
> >it .html.HtmlPage,java.util.Map)] at
> > com.gargoylesoftware.htmlunit.html.DefaultElementFactory.createElement(De
> >fa ultElementFactory.java:113) at
> > com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.startEle
> >me nt(HTMLParser.java:358) at
> > org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
> > at org.cyberneko.html.filters.DefaultFilter.startElement(Unknown Source)
> > at org.cyberneko.html.filters.NamespaceBinder.startElement(Unknown
> > Source) at org.cyberneko.html.HTMLTagBalancer.callStartElement(Unknown
> > Source) at org.cyberneko.html.HTMLTagBalancer.startElement(Unknown
> > Source) at
> > org.cyberneko.html.HTMLScanner$ContentScanner.scanStartElement(Unknown
> > Source)
> > at org.cyberneko.html.HTMLScanner$ContentScanner.scan(Unknown Source)
> > at org.cyberneko.html.HTMLScanner.scanDocument(Unknown Source)
> > at org.cyberneko.html.HTMLConfiguration.parse(Unknown Source)
> > at org.cyberneko.html.HTMLConfiguration.parse(Unknown Source)
> > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> > at
> > com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HT
> >ML Parser.java:311) at
> > com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:226)
> > at
> > com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPa
> >ge Creator.java:112) at
> > com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCr
> >ea tor.java:85) at
> > com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.jav
> >a: 426) at
> > com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:344) at
> > com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:371) at
> > com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:217) at
> > com.gargoylesoftware.htmlunit.html.HtmlSubmitInput.doClickAction(HtmlSubm
> >it Input.java:78) at
> > com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElemen
> >t. java:120) at
> > net.sourceforge.jwebunit.htmlunit.HtmlUnitDialog.submit(HtmlUnitDialog.ja
> >va
> >
> >:959) at net.sourceforge.jwebunit.WebTester.submit(WebTester.java:1719) at
> >
> > net.sourceforge.jwebunit.WebTestCase.submit(WebTestCase.java:674) at
> > com.kiala.kweb.TestLogin.testLoginWithExistingUserShouldBeSuccessful(Test
> >Lo gin.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method) at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> >:3 9) at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> >mp l.java:25) at java.lang.reflect.Method.invoke(Method.java:585)
> > at junit.framework.TestCase.runTest(TestCase.java:154)
> > at junit.framework.TestCase.runBare(TestCase.java:127)
> > at net.sourceforge.jwebunit.WebTestCase.runBare(WebTestCase.java:50)
> > at junit.framework.TestResult$1.protect(TestResult.java:106)
> > at junit.framework.TestResult.runProtected(TestResult.java:124)
> > at junit.framework.TestResult.run(TestResult.java:109)
> > at junit.framework.TestCase.run(TestCase.java:118)
> > at junit.framework.TestSuite.runTest(TestSuite.java:208)
> > at junit.framework.TestSuite.run(TestSuite.java:203)
> > at
> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTes
> >tR unner.java:478) at
> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunn
> >er .java:344) at
> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRun
> >ne r.java:196) Enclosed exception: java.lang.VerifyError: (class:
> > com/gargoylesoftware/htmlunit/_javascript_/host/EventHandler, method: get
> > signature:
> > (Ljava/lang/String;Lorg/mozilla/_javascript_/Scriptable;)Ljava/lang/Object;
> >) Illegal use of nonvirtual function call
> > at
> > com.gargoylesoftware.htmlunit.html.HtmlElement.setEventHandler(HtmlElemen
> >t. java:241) at
> > com.gargoylesoftware.htmlunit.html.HtmlElement.attributesToEventHandlers(
> >Ht mlElement.java:650) at
> > com.gargoylesoftware.htmlunit.html.HtmlElement.<init>(HtmlElement.java:98
> >) at
> > com.gargoylesoftware.htmlunit.html.StyledElement.<init>(StyledElement.jav
> >a: 62) at
> > com.gargoylesoftware.htmlunit.html.ClickableElement.<init>(ClickableEleme
> >nt .java:73) at
> > com.gargoylesoftware.htmlunit.html.FocusableElement.<init>(FocusableEleme
> >nt .java:58) at
> > com.gargoylesoftware.htmlunit.html.HtmlAnchor.<init>(HtmlAnchor.java:70)
> > at sun.reflect.GeneratedConstructorAccessor4.newInstance(Unknown Source)
> > at
> > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConst
> >ru ctorAccessorImpl.java:27) at
> > java.lang.reflect.Constructor.newInstance(Constructor.java:494) at
> > com.gargoylesoftware.htmlunit.html.DefaultElementFactory.createElement(De
> >fa ultElementFactory.java:101) at
> > com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.startEle
> >me nt(HTMLParser.java:358) at
> > org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
> > at org.cyberneko.html.filters.DefaultFilter.startElement(Unknown Source)
> > at org.cyberneko.html.filters.NamespaceBinder.startElement(Unknown
> > Source) at org.cyberneko.html.HTMLTagBalancer.callStartElement(Unknown
> > Source) at org.cyberneko.html.HTMLTagBalancer.startElement(Unknown
> > Source) at
> > org.cyberneko.html.HTMLScanner$ContentScanner.scanStartElement(Unknown
> > Source)
> > at org.cyberneko.html.HTMLScanner$ContentScanner.scan(Unknown Source)
> > at org.cyberneko.html.HTMLScanner.scanDocument(Unknown Source)
> > at org.cyberneko.html.HTMLConfiguration.parse(Unknown Source)
> > at org.cyberneko.html.HTMLConfiguration.parse(Unknown Source)
> > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> > at
> > com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HT
> >ML Parser.java:311) at
> > com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:226)
> > at
> > com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPa
> >ge Creator.java:112) at
> > com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCr
> >ea tor.java:85) at
> > com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.jav
> >a: 426) at
> > com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:344) at
> > com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:371) at
> > com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:217) at
> > com.gargoylesoftware.htmlunit.html.HtmlSubmitInput.doClickAction(HtmlSubm
> >it Input.java:78) at
> > com.gargoylesoftware.htmlunit.html.ClickableElement.click(ClickableElemen
> >t. java:120) at
> > net.sourceforge.jwebunit.htmlunit.HtmlUnitDialog.submit(HtmlUnitDialog.ja
> >va
> >
> >:959) at net.sourceforge.jwebunit.WebTester.submit(WebTester.java:1719) at
> >
> > net.sourceforge.jwebunit.WebTestCase.submit(WebTestCase.java:674) at
> > com.kiala.kweb.TestLogin.testLoginWithExistingUserShouldBeSuccessful(Test
> >Lo gin.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method) at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> >:3 9) at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> >mp l.java:25) at java.lang.reflect.Method.invoke(Method.java:585)
> > at junit.framework.TestCase.runTest(TestCase.java:154)
> > at junit.framework.TestCase.runBare(TestCase.java:127)
> > at net.sourceforge.jwebunit.WebTestCase.runBare(WebTestCase.java:50)
> > at junit.framework.TestResult$1.protect(TestResult.java:106)
> > at junit.framework.TestResult.runProtected(TestResult.java:124)
> > at junit.framework.TestResult.run(TestResult.java:109)
> > at junit.framework.TestCase.run(TestCase.java:118)
> > at junit.framework.TestSuite.runTest(TestSuite.java:208)
> > at junit.framework.TestSuite.run(TestSuite.java:203)
> > at
> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTes
> >tR unner.java:478) at
> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunn
> >er .java:344) at
> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRun
> >ne r.java:196)
> >
> >
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job
> > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> > Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > _______________________________________________
> > Jwebunit-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/jwebunit-users
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Jwebunit-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jwebunit-users
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jwebunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Jwebunit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jwebunit-users
