ttt43ttt / gwt-oauth2

Automatically exported from code.google.com/p/gwt-oauth2
Apache License 2.0
0 stars 0 forks source link

IE7 support is broken: Storage is null #22

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
when try to run in ie7, i get below error.  the switch code that
suppose to use CookieImpl does not work because it is extended from
TokenStoreImpl which using localStorage

Caused by: java.lang.NullPointerException: Storage is null
   at
com.google.api.gwt.oauth2.client.TokenStoreImpl.<clinit>(TokenStoreImpl.java:
33)
   at
com.google.api.gwt.oauth2.client.AuthImpl.getTokenStore(AuthImpl.java:
56)
   at com.google.api.gwt.oauth2.client.AuthImpl.<init>(AuthImpl.java:
41)
   at
com.google.api.gwt.oauth2.client.AuthImpl.<clinit>(AuthImpl.java:36)
   at com.google.api.gwt.oauth2.client.Auth.get(Auth.java:34)

Original issue reported on code.google.com by jasonhall@google.com on 12 Feb 2012 at 4:22