mysticfall / pivot4j

Pivot4J provides a common API for OLAP servers which can be used to build an analytical service frontend with pivot style GUI.
Other
128 stars 101 forks source link

browser caching - javax.faces.FacesException: No view state data is available #152

Open mlamy opened 10 years ago

mlamy commented 10 years ago

I'm getting exceptions when I logout and then relogin (or close and open the browser) in my site using an URL like this https://www.siag.pt/pivot4j/open.xhtml?path=/FaixaEtariaPie&embeded=true in a iframe. I guess the problem is related with caching on browser and these views shouldn't be cached.

Complete exception at http://pastebin.com/tr1j3zTE

Caused by: javax.faces.FacesException: No view state data is available : 890d9896-d0b0-47dc-b4ea-7d8dd9f365e4 at org.pivot4j.analytics.ui.PivotStateManager.initialize(PivotStateManager.java:72) ~[pivot4j-analytics-0.9-SNAPSHOT.jar:?] at sun.reflect.GeneratedMethodAccessor501.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[?:1.6.0_21] at java.lang.reflect.Method.invoke(Method.java:597) ~[?:1.6.0_21] at org.apache.catalina.core.DefaultInstanceManager.postConstruct(DefaultInstanceManager.java:216) ~[catalina.jar:7.0.40] at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:158) ~[catalina.jar:7.0.40] at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:150) ~[catalina.jar:7.0.40] at