Wenn die Amazon API für eine ISBN (Beispiel: 978-3548375137) kein Erscheinungsjahr returned fliegt bei uns eine "IllegalStateException":
[^[[31merror^[[0m] play - Cannot invoke the action, eventually got an error: java.lang.IllegalStateException: No value
[^[[31merror^[[0m] application -
! @6h21ngp18 - Internal server error, for (POST) [/book/create] ->
play.api.Application$$anon$1: Execution exception[[IllegalStateException: No value]]
at play.api.Application$class.handleError(Application.scala:293) ~[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1]
at play.api.DefaultApplication.handleError(Application.scala:399) [com.typesafe.play.play_2.10-2.2.1.jar:2.2.1]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$2$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:261) [com.typesafe.play.play_2.10-2.2.1.jar:2.2.1]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$2$$anonfun$applyOrElse$3.apply(PlayDefaultUpstreamHandler.scala:261) [com.typesafe.play.play_2.10-2.2.1.jar:2.2.1]
at scala.Option.map(Option.scala:145) [org.scala-lang.scala-library-2.10.2.jar:na]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$2.applyOrElse(PlayDefaultUpstreamHandler.scala:261) [com.typesafe.play.play_2.10-2.2.1.jar:2.2.1]
Caused by: java.lang.IllegalStateException: No value
at play.libs.F$None.get(F.java:703) ~[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1]
at play.data.Form.get(Form.java:539) ~[com.typesafe.play.play-java_2.10-2.2.1.jar:2.2.1]
at controllers.BookController.createBook(BookController.java:61) ~[sdf-play.sdf-play-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]
at Routes$$anonfun$routes$1$$anonfun$applyOrElse$23$$anonfun$apply$23.apply(routes_routing.scala:397) ~[sdf-play.sdf-play-1.0-SNAPSHOT.jar:na]
at Routes$$anonfun$routes$1$$anonfun$applyOrElse$23$$anonfun$apply$23.apply(routes_routing.scala:397) ~[sdf-play.sdf-play-1.0-SNAPSHOT.jar:na]
at play.core.Router$HandlerInvoker$$anon$7$$anon$2.invocation(Router.scala:183) ~[com.typesafe.play.play_2.10-2.2.1.jar:2.2.1]
Wenn die Amazon API für eine ISBN (Beispiel: 978-3548375137) kein Erscheinungsjahr returned fliegt bei uns eine "IllegalStateException":