You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Francesco Chicchiricc�� <il...@apache.org> on 2018/12/03 12:50:31 UTC

7.10.0 -> 7.11.0 error with WicketTester

Hi all,
after upgrading from 7.10.0 to 7.11.0, I receive the following exception when executing tests via Wicket Tester:

java.lang.NoSuchMethodError: org.apache.wicket.request.Url.setContextRelative(Z)V
        at org.apache.wicket.protocol.http.servlet.ServletWebRequest.setParameters(ServletWebRequest.java:173)
        at org.apache.wicket.protocol.http.servlet.ServletWebRequest.getContextRelativeUrl(ServletWebRequest.java:209)
        at org.apache.wicket.protocol.http.servlet.ServletWebRequest.<init>(ServletWebRequest.java:112)
        at org.apache.wicket.protocol.http.servlet.ServletWebRequest.<init>(ServletWebRequest.java:82)
        at org.apache.wicket.protocol.http.WebApplication.newWebRequest(WebApplication.java:560)
        at org.apache.wicket.util.tester.BaseWicketTester.newServletWebRequest(BaseWicketTester.java:534)
        at org.apache.wicket.util.tester.BaseWicketTester.setupNextRequestCycle(BaseWicketTester.java:474)
        at org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:372)
        at org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:267)
        at org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:240)
        at org.apache.wicket.util.tester.WicketTester.<init>(WicketTester.java:203)

Any clue? 

TIA
Regards.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: 7.10.0 -> 7.11.0 error with WicketTester

Posted by Martin Grigorov <mg...@apache.org>.
Wicket Bootstrap 0.10.18 has been released!

On Mon, Dec 3, 2018 at 3:33 PM Francesco Chicchiriccò <il...@apache.org>
wrote:

> On 2018/12/03 13:29:37, Martin Grigorov <mg...@apache.org> wrote:
> > Yes,
> >
> > I will do it later today!
>
> Great, thank you.
>
> > On Mon, Dec 3, 2018 at 3:25 PM Francesco Chicchiriccò <
> ilgrosso@apache.org>
> > wrote:
> >
> > > On 2018/12/03 13:08:26, Martin Grigorov <mg...@apache.org> wrote:
> > > > Check whether there is only one version of Wicket in your classpath,
> > > maybe
> > > > some dependency (like Wicket-Bootstrap) brings something else than
> 7.11.0
> > > > in the classpath.
> > >
> > > Nice catch Martin, that was it.
> > >
> > > For the moment, I'll exclude as follows:
> > >
> > >       <dependency>
> > >         <groupId>de.agilecoders.wicket</groupId>
> > >         <artifactId>wicket-bootstrap-core</artifactId>
> > >         <version>${wicket-bootstrap.version}</version>
> > >         <exclusions>
> > >           <exclusion>
> > >             <groupId>org.apache.wicket</groupId>
> > >             <artifactId>wicket-request</artifactId>
> > >           </exclusion>
> > >           <exclusion>
> > >             <groupId>org.apache.wicket</groupId>
> > >             <artifactId>wicket-util</artifactId>
> > >           </exclusion>
> > >         </exclusions>
> > >       </dependency>
> > >
> > > Is there any wicket-bootstrap release planned anytime soon, which
> depends
> > > on Wicket 7.11.0? Thanks.
> > >
> > > > On Mon, Dec 3, 2018 at 3:06 PM Francesco Chicchiriccò <
> > > ilgrosso@apache.org>
> > > > wrote:
> > > >
> > > > > On 2018/12/03 12:57:00, Maxim Solodovnik <so...@gmail.com>
> wrote:
> > > > > > The method is here
> > > > > >
> > > > >
> > >
> https://github.com/apache/wicket/blob/wicket-7.x/wicket-request/src/main/java/org/apache/wicket/request/Url.java#L1123
> > > > > > In all branches ...
> > > > >
> > > > > ..so my JDK must be lying? :-)
> > > > >
> > > > > > On Mon, 3 Dec 2018 at 19:50, Francesco Chicchiriccò <
> > > ilgrosso@apache.org
> > > > > >
> > > > > > wrote:
> > > > > >
> > > > > > > Hi all,
> > > > > > > after upgrading from 7.10.0 to 7.11.0, I receive the following
> > > > > exception
> > > > > > > when executing tests via Wicket Tester:
> > > > > > >
> > > > > > > java.lang.NoSuchMethodError:
> > > > > > > org.apache.wicket.request.Url.setContextRelative(Z)V
> > > > > > >         at
> > > > > > >
> > > > >
> > >
> org.apache.wicket.protocol.http.servlet.ServletWebRequest.setParameters(ServletWebRequest.java:173)
> > > > > > >         at
> > > > > > >
> > > > >
> > >
> org.apache.wicket.protocol.http.servlet.ServletWebRequest.getContextRelativeUrl(ServletWebRequest.java:209)
> > > > > > >         at
> > > > > > >
> > > > >
> > >
> org.apache.wicket.protocol.http.servlet.ServletWebRequest.<init>(ServletWebRequest.java:112)
> > > > > > >         at
> > > > > > >
> > > > >
> > >
> org.apache.wicket.protocol.http.servlet.ServletWebRequest.<init>(ServletWebRequest.java:82)
> > > > > > >         at
> > > > > > >
> > > > >
> > >
> org.apache.wicket.protocol.http.WebApplication.newWebRequest(WebApplication.java:560)
> > > > > > >         at
> > > > > > >
> > > > >
> > >
> org.apache.wicket.util.tester.BaseWicketTester.newServletWebRequest(BaseWicketTester.java:534)
> > > > > > >         at
> > > > > > >
> > > > >
> > >
> org.apache.wicket.util.tester.BaseWicketTester.setupNextRequestCycle(BaseWicketTester.java:474)
> > > > > > >         at
> > > > > > >
> > > > >
> > >
> org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:372)
> > > > > > >         at
> > > > > > >
> > > > >
> > >
> org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:267)
> > > > > > >         at
> > > > > > >
> > > > >
> > >
> org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:240)
> > > > > > >         at
> > > > > > >
> > > > >
> > >
> org.apache.wicket.util.tester.WicketTester.<init>(WicketTester.java:203)
> > > > > > >
> > > > > > > Any clue?
> > > > > > >
> > > > > > > TIA
> > > > > > > Regards.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: 7.10.0 -> 7.11.0 error with WicketTester

Posted by Francesco Chicchiricc�� <il...@apache.org>.
On 2018/12/03 13:29:37, Martin Grigorov <mg...@apache.org> wrote: 
> Yes,
> 
> I will do it later today!

Great, thank you.

> On Mon, Dec 3, 2018 at 3:25 PM Francesco Chicchiriccò <il...@apache.org>
> wrote:
> 
> > On 2018/12/03 13:08:26, Martin Grigorov <mg...@apache.org> wrote:
> > > Check whether there is only one version of Wicket in your classpath,
> > maybe
> > > some dependency (like Wicket-Bootstrap) brings something else than 7.11.0
> > > in the classpath.
> >
> > Nice catch Martin, that was it.
> >
> > For the moment, I'll exclude as follows:
> >
> >       <dependency>
> >         <groupId>de.agilecoders.wicket</groupId>
> >         <artifactId>wicket-bootstrap-core</artifactId>
> >         <version>${wicket-bootstrap.version}</version>
> >         <exclusions>
> >           <exclusion>
> >             <groupId>org.apache.wicket</groupId>
> >             <artifactId>wicket-request</artifactId>
> >           </exclusion>
> >           <exclusion>
> >             <groupId>org.apache.wicket</groupId>
> >             <artifactId>wicket-util</artifactId>
> >           </exclusion>
> >         </exclusions>
> >       </dependency>
> >
> > Is there any wicket-bootstrap release planned anytime soon, which depends
> > on Wicket 7.11.0? Thanks.
> >
> > > On Mon, Dec 3, 2018 at 3:06 PM Francesco Chicchiriccò <
> > ilgrosso@apache.org>
> > > wrote:
> > >
> > > > On 2018/12/03 12:57:00, Maxim Solodovnik <so...@gmail.com> wrote:
> > > > > The method is here
> > > > >
> > > >
> > https://github.com/apache/wicket/blob/wicket-7.x/wicket-request/src/main/java/org/apache/wicket/request/Url.java#L1123
> > > > > In all branches ...
> > > >
> > > > ..so my JDK must be lying? :-)
> > > >
> > > > > On Mon, 3 Dec 2018 at 19:50, Francesco Chicchiriccò <
> > ilgrosso@apache.org
> > > > >
> > > > > wrote:
> > > > >
> > > > > > Hi all,
> > > > > > after upgrading from 7.10.0 to 7.11.0, I receive the following
> > > > exception
> > > > > > when executing tests via Wicket Tester:
> > > > > >
> > > > > > java.lang.NoSuchMethodError:
> > > > > > org.apache.wicket.request.Url.setContextRelative(Z)V
> > > > > >         at
> > > > > >
> > > >
> > org.apache.wicket.protocol.http.servlet.ServletWebRequest.setParameters(ServletWebRequest.java:173)
> > > > > >         at
> > > > > >
> > > >
> > org.apache.wicket.protocol.http.servlet.ServletWebRequest.getContextRelativeUrl(ServletWebRequest.java:209)
> > > > > >         at
> > > > > >
> > > >
> > org.apache.wicket.protocol.http.servlet.ServletWebRequest.<init>(ServletWebRequest.java:112)
> > > > > >         at
> > > > > >
> > > >
> > org.apache.wicket.protocol.http.servlet.ServletWebRequest.<init>(ServletWebRequest.java:82)
> > > > > >         at
> > > > > >
> > > >
> > org.apache.wicket.protocol.http.WebApplication.newWebRequest(WebApplication.java:560)
> > > > > >         at
> > > > > >
> > > >
> > org.apache.wicket.util.tester.BaseWicketTester.newServletWebRequest(BaseWicketTester.java:534)
> > > > > >         at
> > > > > >
> > > >
> > org.apache.wicket.util.tester.BaseWicketTester.setupNextRequestCycle(BaseWicketTester.java:474)
> > > > > >         at
> > > > > >
> > > >
> > org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:372)
> > > > > >         at
> > > > > >
> > > >
> > org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:267)
> > > > > >         at
> > > > > >
> > > >
> > org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:240)
> > > > > >         at
> > > > > >
> > > >
> > org.apache.wicket.util.tester.WicketTester.<init>(WicketTester.java:203)
> > > > > >
> > > > > > Any clue?
> > > > > >
> > > > > > TIA
> > > > > > Regards.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: 7.10.0 -> 7.11.0 error with WicketTester

Posted by Martin Grigorov <mg...@apache.org>.
Yes,

I will do it later today!

On Mon, Dec 3, 2018 at 3:25 PM Francesco Chicchiriccò <il...@apache.org>
wrote:

> On 2018/12/03 13:08:26, Martin Grigorov <mg...@apache.org> wrote:
> > Check whether there is only one version of Wicket in your classpath,
> maybe
> > some dependency (like Wicket-Bootstrap) brings something else than 7.11.0
> > in the classpath.
>
> Nice catch Martin, that was it.
>
> For the moment, I'll exclude as follows:
>
>       <dependency>
>         <groupId>de.agilecoders.wicket</groupId>
>         <artifactId>wicket-bootstrap-core</artifactId>
>         <version>${wicket-bootstrap.version}</version>
>         <exclusions>
>           <exclusion>
>             <groupId>org.apache.wicket</groupId>
>             <artifactId>wicket-request</artifactId>
>           </exclusion>
>           <exclusion>
>             <groupId>org.apache.wicket</groupId>
>             <artifactId>wicket-util</artifactId>
>           </exclusion>
>         </exclusions>
>       </dependency>
>
> Is there any wicket-bootstrap release planned anytime soon, which depends
> on Wicket 7.11.0? Thanks.
>
> > On Mon, Dec 3, 2018 at 3:06 PM Francesco Chicchiriccò <
> ilgrosso@apache.org>
> > wrote:
> >
> > > On 2018/12/03 12:57:00, Maxim Solodovnik <so...@gmail.com> wrote:
> > > > The method is here
> > > >
> > >
> https://github.com/apache/wicket/blob/wicket-7.x/wicket-request/src/main/java/org/apache/wicket/request/Url.java#L1123
> > > > In all branches ...
> > >
> > > ..so my JDK must be lying? :-)
> > >
> > > > On Mon, 3 Dec 2018 at 19:50, Francesco Chicchiriccò <
> ilgrosso@apache.org
> > > >
> > > > wrote:
> > > >
> > > > > Hi all,
> > > > > after upgrading from 7.10.0 to 7.11.0, I receive the following
> > > exception
> > > > > when executing tests via Wicket Tester:
> > > > >
> > > > > java.lang.NoSuchMethodError:
> > > > > org.apache.wicket.request.Url.setContextRelative(Z)V
> > > > >         at
> > > > >
> > >
> org.apache.wicket.protocol.http.servlet.ServletWebRequest.setParameters(ServletWebRequest.java:173)
> > > > >         at
> > > > >
> > >
> org.apache.wicket.protocol.http.servlet.ServletWebRequest.getContextRelativeUrl(ServletWebRequest.java:209)
> > > > >         at
> > > > >
> > >
> org.apache.wicket.protocol.http.servlet.ServletWebRequest.<init>(ServletWebRequest.java:112)
> > > > >         at
> > > > >
> > >
> org.apache.wicket.protocol.http.servlet.ServletWebRequest.<init>(ServletWebRequest.java:82)
> > > > >         at
> > > > >
> > >
> org.apache.wicket.protocol.http.WebApplication.newWebRequest(WebApplication.java:560)
> > > > >         at
> > > > >
> > >
> org.apache.wicket.util.tester.BaseWicketTester.newServletWebRequest(BaseWicketTester.java:534)
> > > > >         at
> > > > >
> > >
> org.apache.wicket.util.tester.BaseWicketTester.setupNextRequestCycle(BaseWicketTester.java:474)
> > > > >         at
> > > > >
> > >
> org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:372)
> > > > >         at
> > > > >
> > >
> org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:267)
> > > > >         at
> > > > >
> > >
> org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:240)
> > > > >         at
> > > > >
> > >
> org.apache.wicket.util.tester.WicketTester.<init>(WicketTester.java:203)
> > > > >
> > > > > Any clue?
> > > > >
> > > > > TIA
> > > > > Regards.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: 7.10.0 -> 7.11.0 error with WicketTester

Posted by Francesco Chicchiricc�� <il...@apache.org>.
On 2018/12/03 13:08:26, Martin Grigorov <mg...@apache.org> wrote: 
> Check whether there is only one version of Wicket in your classpath, maybe
> some dependency (like Wicket-Bootstrap) brings something else than 7.11.0
> in the classpath.

Nice catch Martin, that was it.

For the moment, I'll exclude as follows:

      <dependency>
        <groupId>de.agilecoders.wicket</groupId>
        <artifactId>wicket-bootstrap-core</artifactId>
        <version>${wicket-bootstrap.version}</version>
        <exclusions>
          <exclusion>
            <groupId>org.apache.wicket</groupId>
            <artifactId>wicket-request</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.apache.wicket</groupId>
            <artifactId>wicket-util</artifactId>
          </exclusion>
        </exclusions>
      </dependency>

Is there any wicket-bootstrap release planned anytime soon, which depends on Wicket 7.11.0? Thanks.

> On Mon, Dec 3, 2018 at 3:06 PM Francesco Chicchiriccò <il...@apache.org>
> wrote:
> 
> > On 2018/12/03 12:57:00, Maxim Solodovnik <so...@gmail.com> wrote:
> > > The method is here
> > >
> > https://github.com/apache/wicket/blob/wicket-7.x/wicket-request/src/main/java/org/apache/wicket/request/Url.java#L1123
> > > In all branches ...
> >
> > ..so my JDK must be lying? :-)
> >
> > > On Mon, 3 Dec 2018 at 19:50, Francesco Chicchiriccò <ilgrosso@apache.org
> > >
> > > wrote:
> > >
> > > > Hi all,
> > > > after upgrading from 7.10.0 to 7.11.0, I receive the following
> > exception
> > > > when executing tests via Wicket Tester:
> > > >
> > > > java.lang.NoSuchMethodError:
> > > > org.apache.wicket.request.Url.setContextRelative(Z)V
> > > >         at
> > > >
> > org.apache.wicket.protocol.http.servlet.ServletWebRequest.setParameters(ServletWebRequest.java:173)
> > > >         at
> > > >
> > org.apache.wicket.protocol.http.servlet.ServletWebRequest.getContextRelativeUrl(ServletWebRequest.java:209)
> > > >         at
> > > >
> > org.apache.wicket.protocol.http.servlet.ServletWebRequest.<init>(ServletWebRequest.java:112)
> > > >         at
> > > >
> > org.apache.wicket.protocol.http.servlet.ServletWebRequest.<init>(ServletWebRequest.java:82)
> > > >         at
> > > >
> > org.apache.wicket.protocol.http.WebApplication.newWebRequest(WebApplication.java:560)
> > > >         at
> > > >
> > org.apache.wicket.util.tester.BaseWicketTester.newServletWebRequest(BaseWicketTester.java:534)
> > > >         at
> > > >
> > org.apache.wicket.util.tester.BaseWicketTester.setupNextRequestCycle(BaseWicketTester.java:474)
> > > >         at
> > > >
> > org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:372)
> > > >         at
> > > >
> > org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:267)
> > > >         at
> > > >
> > org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:240)
> > > >         at
> > > >
> > org.apache.wicket.util.tester.WicketTester.<init>(WicketTester.java:203)
> > > >
> > > > Any clue?
> > > >
> > > > TIA
> > > > Regards.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: 7.10.0 -> 7.11.0 error with WicketTester

Posted by Martin Grigorov <mg...@apache.org>.
Check whether there is only one version of Wicket in your classpath, maybe
some dependency (like Wicket-Bootstrap) brings something else than 7.11.0
in the classpath.

On Mon, Dec 3, 2018 at 3:06 PM Francesco Chicchiriccò <il...@apache.org>
wrote:

> On 2018/12/03 12:57:00, Maxim Solodovnik <so...@gmail.com> wrote:
> > The method is here
> >
> https://github.com/apache/wicket/blob/wicket-7.x/wicket-request/src/main/java/org/apache/wicket/request/Url.java#L1123
> > In all branches ...
>
> ..so my JDK must be lying? :-)
>
> > On Mon, 3 Dec 2018 at 19:50, Francesco Chicchiriccò <ilgrosso@apache.org
> >
> > wrote:
> >
> > > Hi all,
> > > after upgrading from 7.10.0 to 7.11.0, I receive the following
> exception
> > > when executing tests via Wicket Tester:
> > >
> > > java.lang.NoSuchMethodError:
> > > org.apache.wicket.request.Url.setContextRelative(Z)V
> > >         at
> > >
> org.apache.wicket.protocol.http.servlet.ServletWebRequest.setParameters(ServletWebRequest.java:173)
> > >         at
> > >
> org.apache.wicket.protocol.http.servlet.ServletWebRequest.getContextRelativeUrl(ServletWebRequest.java:209)
> > >         at
> > >
> org.apache.wicket.protocol.http.servlet.ServletWebRequest.<init>(ServletWebRequest.java:112)
> > >         at
> > >
> org.apache.wicket.protocol.http.servlet.ServletWebRequest.<init>(ServletWebRequest.java:82)
> > >         at
> > >
> org.apache.wicket.protocol.http.WebApplication.newWebRequest(WebApplication.java:560)
> > >         at
> > >
> org.apache.wicket.util.tester.BaseWicketTester.newServletWebRequest(BaseWicketTester.java:534)
> > >         at
> > >
> org.apache.wicket.util.tester.BaseWicketTester.setupNextRequestCycle(BaseWicketTester.java:474)
> > >         at
> > >
> org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:372)
> > >         at
> > >
> org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:267)
> > >         at
> > >
> org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:240)
> > >         at
> > >
> org.apache.wicket.util.tester.WicketTester.<init>(WicketTester.java:203)
> > >
> > > Any clue?
> > >
> > > TIA
> > > Regards.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: 7.10.0 -> 7.11.0 error with WicketTester

Posted by Francesco Chicchiricc�� <il...@apache.org>.
On 2018/12/03 12:57:00, Maxim Solodovnik <so...@gmail.com> wrote: 
> The method is here
> https://github.com/apache/wicket/blob/wicket-7.x/wicket-request/src/main/java/org/apache/wicket/request/Url.java#L1123
> In all branches ...

..so my JDK must be lying? :-)

> On Mon, 3 Dec 2018 at 19:50, Francesco Chicchiriccò <il...@apache.org>
> wrote:
> 
> > Hi all,
> > after upgrading from 7.10.0 to 7.11.0, I receive the following exception
> > when executing tests via Wicket Tester:
> >
> > java.lang.NoSuchMethodError:
> > org.apache.wicket.request.Url.setContextRelative(Z)V
> >         at
> > org.apache.wicket.protocol.http.servlet.ServletWebRequest.setParameters(ServletWebRequest.java:173)
> >         at
> > org.apache.wicket.protocol.http.servlet.ServletWebRequest.getContextRelativeUrl(ServletWebRequest.java:209)
> >         at
> > org.apache.wicket.protocol.http.servlet.ServletWebRequest.<init>(ServletWebRequest.java:112)
> >         at
> > org.apache.wicket.protocol.http.servlet.ServletWebRequest.<init>(ServletWebRequest.java:82)
> >         at
> > org.apache.wicket.protocol.http.WebApplication.newWebRequest(WebApplication.java:560)
> >         at
> > org.apache.wicket.util.tester.BaseWicketTester.newServletWebRequest(BaseWicketTester.java:534)
> >         at
> > org.apache.wicket.util.tester.BaseWicketTester.setupNextRequestCycle(BaseWicketTester.java:474)
> >         at
> > org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:372)
> >         at
> > org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:267)
> >         at
> > org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:240)
> >         at
> > org.apache.wicket.util.tester.WicketTester.<init>(WicketTester.java:203)
> >
> > Any clue?
> >
> > TIA
> > Regards.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: 7.10.0 -> 7.11.0 error with WicketTester

Posted by Maxim Solodovnik <so...@gmail.com>.
The method is here
https://github.com/apache/wicket/blob/wicket-7.x/wicket-request/src/main/java/org/apache/wicket/request/Url.java#L1123
In all branches ...

On Mon, 3 Dec 2018 at 19:50, Francesco Chicchiriccò <il...@apache.org>
wrote:

> Hi all,
> after upgrading from 7.10.0 to 7.11.0, I receive the following exception
> when executing tests via Wicket Tester:
>
> java.lang.NoSuchMethodError:
> org.apache.wicket.request.Url.setContextRelative(Z)V
>         at
> org.apache.wicket.protocol.http.servlet.ServletWebRequest.setParameters(ServletWebRequest.java:173)
>         at
> org.apache.wicket.protocol.http.servlet.ServletWebRequest.getContextRelativeUrl(ServletWebRequest.java:209)
>         at
> org.apache.wicket.protocol.http.servlet.ServletWebRequest.<init>(ServletWebRequest.java:112)
>         at
> org.apache.wicket.protocol.http.servlet.ServletWebRequest.<init>(ServletWebRequest.java:82)
>         at
> org.apache.wicket.protocol.http.WebApplication.newWebRequest(WebApplication.java:560)
>         at
> org.apache.wicket.util.tester.BaseWicketTester.newServletWebRequest(BaseWicketTester.java:534)
>         at
> org.apache.wicket.util.tester.BaseWicketTester.setupNextRequestCycle(BaseWicketTester.java:474)
>         at
> org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:372)
>         at
> org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:267)
>         at
> org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:240)
>         at
> org.apache.wicket.util.tester.WicketTester.<init>(WicketTester.java:203)
>
> Any clue?
>
> TIA
> Regards.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

-- 
WBR
Maxim aka solomax