bowler-framework / Bowler

RESTful Web Framework based on Scala, built on top of Scalatra & Scalate
http://bowlerframework.org
BSD 3-Clause "New" or "Revised" License
118 stars 13 forks source link

Strange error if StringValueTransformer returns None #27

Open greenrd opened 12 years ago

greenrd commented 12 years ago

If a registered StringValueTransformer returns None, bowler tries to call the method with None as argument, even if its formal parameter is not of type Option[T]. This results in an exception from inside java.lang.reflect which is not clear as to what the real problem is.