I have now, same problem:

INFO  - WebApplication             - [wicket.cryptest] Started Wicket version 
1.5.3 in DEVELOPMENT mode
********************************************************************
*** WARNING: Wicket is running in DEVELOPMENT mode.              ***
***                               ^^^^^^^^^^^                    ***
*** Do NOT deploy to your live server(s) without changing this.  ***
*** See Application#getConfigurationType() for more information. ***
********************************************************************
2011-11-12 20:27:59.244:INFO:oejs.AbstractConnector:Started 
[email protected]:8080 STARTING
2011-11-12 20:27:59.435:INFO:oejs.AbstractConnector:Started 
[email protected]:8443 STARTING
[INFO] Started Jetty Server
ERROR - AbstractCrypt              - Error decoding text: logo.png
java.lang.RuntimeException: Unable to decrypt the text '??(?x'
        at 
org.apache.wicket.util.crypt.AbstractCrypt.decryptByteArray(AbstractCrypt.java:150)
        at 
org.apache.wicket.util.crypt.AbstractCrypt.decryptUrlSafe(AbstractCrypt.java:66)
        at 
org.apache.wicket.request.mapper.CryptoMapper.decryptUrl(CryptoMapper.java:159)
        at 
org.apache.wicket.request.mapper.CryptoMapper.mapRequest(CryptoMapper.java:102)

Phill

On 12/nov/2011, at 19:33, Igor Vaynberg wrote:

> have you tried with 1.5.3?
> 
> -gior
> 
> On Sat, Nov 12, 2011 at 10:27 AM, Phill <[email protected]> wrote:
>> Thanks, I had put setRootRequestMapper(..) first after reading 
>> https://issues.apache.org/jira/browse/WICKET-4139
>> However putting it last does not seem to solve the problem, I can replicate 
>> the error with a pristine 1.5.2 quickstart and just changing the init() to:
>> 
>> public void init() {
>>    super.init();
>>    getSecuritySettings().setCryptFactory(new 
>> KeyInSessionSunJceCryptFactory());
>>    setRootRequestMapper(new CryptoMapper(getRootRequestMapper(), this));
>> }
>> 
>> The links in the standard quickstart HomePage.html markup cause the 
>> exceptions.
>> Phill

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to