BriteSnow / snow

A Lightweight, Google Guice, Simple, and Powerful Web Application Framework that makes building modern Web Application a breeze! Fully open source, Apache V2 licensed.
http://britesnow.com/snow
29 stars 10 forks source link

NullPointerException in com.britesnow.snow.web.rest.RestRegistry.getWebRestRef #32

Closed Ueland closed 11 years ago

Ueland commented 11 years ago

We have a login form using BriteSnow, and it does work, expect that we get some NullPointerExceptions in our logs, when somebody accesse it via Word 2013.

I am not quite sure what Microsoft Word 2013 does (something silly, i guess), but it appears to trigger a NullpointerException from the class mentioned in topic.

req.userAgent=Microsoft Office Word 2013,

java.lang.NullPointerException: null at com.britesnow.snow.web.rest.RestRegistry.getWebRestRef(RestRegistry.java:61) at com.britesnow.snow.web.WebController.service(WebController.java:167) at com.britesnow.snow.web.WebController.service(WebController.java:149)

jeremychone commented 11 years ago

I think this has been solved in the snapshop. Can you try 2.0.2-SNAPSHOT? http://britesnow.com/snow/maven

Ueland commented 11 years ago

Great, will give it a go and see how it works out. Any ETA for 2.0.2 going stable?

jeremychone commented 11 years ago

Hi, I am planning to have 2.0.2 released early next week.

Ueland commented 11 years ago

Nice! The snapshot version fixed our problem :)

jeremychone commented 11 years ago

good, and 2.0.2 has a critical bug fix as well, so, you are good now.

jeremychone commented 10 years ago

btw, just in case you have not noticed, snow 2.0.2 has been released.