You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Ritesh Trivedi <ri...@gmail.com> on 2008/08/07 23:27:54 UTC

Re: Browser Forward button issue - SOLVED

Solved. 

CSSMenuPanel had incorrect serialVersionUID value of 0L hence it was not
serializing and hence the latest version of the page couldnt be constructed.


Ritesh Trivedi wrote:
> 
> Hi,
> 
> Here is the scenario 
> 
> 1. User on page 1 - bookmarkable page which is https. lets say
> https://localhost:8443/signIn
> 2. Submits the form on page 1 - gets validation error. The url now changes
> to something like https://localhost:8443/?wicket:interface=:8:1:::
> 3. Hit the back button - user goes back to the sign in page - obviously no
> validation errors displayed and the URL is https://localhost:8443/signIn
> 4. Hit forward button the URL in the browser now becomes the one with
> validation errors https://localhost:8443/?wicket:interface=:8:1::: but the
> server returns HTTP 500 with NoClassDefFountError
> 
> java.lang.NoClassDefFoundError: com/mycom/web/panels/CSSMenuPanel
> 	java.lang.Class.getDeclaredFields0(Native Method)
> 	java.lang.Class.privateGetDeclaredFields(Class.java:2259)
> 	java.lang.Class.getDeclaredField(Class.java:1852)
> 	java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1582)
> 	java.io.ObjectStreamClass.access$700(ObjectStreamClass.java:52)
> 	java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:408)
> 	java.security.AccessController.doPrivileged(Native Method)
> 	java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:400)
> 	java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:297)
> 	java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:531)
> 	java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
> 	java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
> 	java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
> 	java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
> 	java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
> 	java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
> 	java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
> 	org.apache.wicket.util.lang.Objects.byteArrayToObject(Objects.java:393)
> 
> org.apache.wicket.protocol.http.pagestore.AbstractPageStore.deserializePage(AbstractPageStore.java:228)
> 
> org.apache.wicket.protocol.http.pagestore.DiskPageStore.getPage(DiskPageStore.java:706)
> 
> org.apache.wicket.protocol.http.SecondLevelCacheSessionStore$SecondLevelCachePageMap.get(SecondLevelCacheSessionStore.java:311)
> 	org.apache.wicket.Session.getPage(Session.java:751)
> 
> 

-- 
View this message in context: http://www.nabble.com/Browser-Forward-button-issue---SOLVED-tp18878776p18880042.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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