You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm playing again with this example and after any code change (e.g. changing the default pageSize in Computer.list) I'm getting a NoSuchElementException: None.get on the page reload:
--- (RELOAD) ---
[info] play - database [default] connected at jdbc:h2:mem:play
[info] play - Application started (Dev)
[error] application -
! Internal server error, for (GET) [/computers] ->
java.lang.ExceptionInInitializerError: null
at controllers.Application$.<init>(Application.scala:29) ~[na:na]
at controllers.Application$.<clinit>(Application.scala) ~[na:na]
at Routes$$anonfun$routes$1$$anonfun$applyOrElse$2$$anonfun$apply$2.apply(routes_routing.scala:81) ~[na:na]
at Routes$$anonfun$routes$1$$anonfun$applyOrElse$2$$anonfun$apply$2.apply(routes_routing.scala:81) ~[na:na]
at play.core.Router$HandlerInvoker$$anon$6.call(Router.scala:170) ~[play_2.10.jar:2.2.0]
at play.core.Router$Routes$class.invokeHandler(Router.scala:375) ~[play_2.10.jar:2.2.0]
Caused by: java.util.NoSuchElementException: None.get
at scala.None$.get(Option.scala:313) ~[scala-library.jar:na]
at scala.None$.get(Option.scala:311) ~[scala-library.jar:na]
at net.fwbrasil.activate.entity.EntityHelper$.getEntityMetadata(EntityHelper.scala:55) ~[activate-core_2.10-1.4.jar:1.4]
at net.fwbrasil.activate.migration.Migration.createTableForEntity(Migration.scala:240) ~[activate-core_2.10-1.4.jar:1.4]
at net.fwbrasil.activate.migration.Migration$StorageVersionMigration$1.up(Migration.scala:33) ~[activate-core_2.10-1.4.jar:1.4]
at net.fwbrasil.activate.migration.Migration.upActions(Migration.scala:198) ~[activate-core_2.10-1.4.jar:1.4]
[error] application - Error while rendering default error page
Should this work or is it a known limitation?
The text was updated successfully, but these errors were encountered:
I'm playing again with this example and after any code change (e.g. changing the default
pageSize
inComputer.list
) I'm getting aNoSuchElementException: None.get
on the page reload:Should this work or is it a known limitation?
The text was updated successfully, but these errors were encountered: