Coder Social home page Coder Social logo

scaladin's People

Contributors

ant8e avatar hezamu avatar ndarilek avatar otto-ringhofer avatar pallarij avatar ripla avatar rpiaggio avatar strakz1 avatar yaadyaad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scaladin's Issues

Scaladin for Scala 2.11 - NoClassDefFoundError GenTraversableOnce$class

Hi,
I was trying to run Scaladin 3.0.0 (Vaadin 7.1.13) on Scala 2.11 (Java 8). Those are exceptions that I get (hope that helps in moving Scaladin to Scala 2.11).

lazy val sessionInitListeners: ListenersSet[ScaladinService.SessionInitEvent => Unit] = new ListenersTrait[ScaladinService.SessionInitEvent, SessionInitListener] { causes:

java.lang.NoClassDefFoundError: scala/collection/GenTraversableOnce$class
    at vaadin.scala.server.ScaladinService$$anon$1.<init>(scaladinServices.scala:34) ~[scaladin-3.0.0.jar:3.0.0]
    at vaadin.scala.server.ScaladinService$class.sessionInitListeners(scaladinServices.scala:34) ~[scaladin-3.0.0.jar:3.0.0]
    at vaadin.scala.server.ScaladinServletService.sessionInitListeners$lzycompute(scaladinServices.scala:46) ~[scaladin-3.0.0.jar:3.0.0]
    at vaadin.scala.server.ScaladinServletService.sessionInitListeners(scaladinServices.scala:46) ~[scaladin-3.0.0.jar:3.0.0]
    at vaadin.scala.server.ScaladinServlet.registerUIProvider(ScaladinServlet.scala:16) ~[scaladin-3.0.0.jar:3.0.0]
    at vaadin.scala.server.ScaladinServlet.init(ScaladinServlet.scala:12) ~[scaladin-3.0.0.jar:3.0.0]
    at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:532) ~[jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:415) ~[jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:657) ~[jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.server.Server.handle(Server.java:366) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_05]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_05]
    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_05]
Caused by: java.lang.ClassNotFoundException: scala.collection.GenTraversableOnce$class
    at java.net.URLClassLoader$1.run(URLClassLoader.java:372) ~[na:1.8.0_05]
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[na:1.8.0_05]
    at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_05]
    at java.net.URLClassLoader.findClass(URLClassLoader.java:360) ~[na:1.8.0_05]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_05]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_05]
    ... 31 common frames omitted

And then later exceptions:

javax.servlet.ServletException: com.vaadin.server.ServiceException: com.vaadin.server.ServiceException: No UIProvider has been added and there is no "UI" init parameter.
    at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:240) ~[vaadin-server-7.1.13.jar:7.1.13]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) ~[javax.servlet-3.0.0.v201112011016.jar:na]
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) ~[jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.server.Server.handle(Server.java:366) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) [jetty-all-server-8.1.14.v20131031.jar:8.1.14.v20131031]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_05]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_05]
    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_05]
Caused by: com.vaadin.server.ServiceException: com.vaadin.server.ServiceException: No UIProvider has been added and there is no "UI" init parameter.
    at com.vaadin.server.VaadinService.handleExceptionDuringRequest(VaadinService.java:1445) ~[vaadin-server-7.1.13.jar:7.1.13]
    at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1399) ~[vaadin-server-7.1.13.jar:7.1.13]
    at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:238) ~[vaadin-server-7.1.13.jar:7.1.13]
    ... 24 common frames omitted
Caused by: com.vaadin.server.ServiceException: No UIProvider has been added and there is no "UI" init parameter.
    at com.vaadin.server.ServletPortletHelper.checkUiProviders(ServletPortletHelper.java:179) ~[vaadin-server-7.1.13.jar:7.1.13]
    at com.vaadin.server.VaadinService.onVaadinSessionStarted(VaadinService.java:791) ~[vaadin-server-7.1.13.jar:7.1.13]
    at com.vaadin.server.VaadinService.createAndRegisterSession(VaadinService.java:745) ~[vaadin-server-7.1.13.jar:7.1.13]
    at com.vaadin.server.VaadinService.doFindOrCreateVaadinSession(VaadinService.java:701) ~[vaadin-server-7.1.13.jar:7.1.13]
    at com.vaadin.server.VaadinService.findOrCreateVaadinSession(VaadinService.java:642) ~[vaadin-server-7.1.13.jar:7.1.13]
    at com.vaadin.server.VaadinService.findVaadinSession(VaadinService.java:501) ~[vaadin-server-7.1.13.jar:7.1.13]
    at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1381) ~[vaadin-server-7.1.13.jar:7.1.13]
    ... 25 common frames omitted

I also recompiled Scaladin to use Scala 2.11.0 and tried to use it but in line
val root = new org.eclipse.jetty.webapp.WebAppContext
I got

java.lang.SecurityException: class "javax.servlet.HttpConstraintElement"'s signer information does not match signer information of other classes in the same package
    at java.lang.ClassLoader.checkCerts(ClassLoader.java:895) ~[na:1.8.0_05]
    at java.lang.ClassLoader.preDefineClass(ClassLoader.java:665) ~[na:1.8.0_05]
    at java.lang.ClassLoader.defineClass(ClassLoader.java:758) ~[na:1.8.0_05]
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[na:1.8.0_05]
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:455) ~[na:1.8.0_05]
    at java.net.URLClassLoader.access$100(URLClassLoader.java:73) ~[na:1.8.0_05]
    at java.net.URLClassLoader$1.run(URLClassLoader.java:367) ~[na:1.8.0_05]
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[na:1.8.0_05]
    at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_05]
    at java.net.URLClassLoader.findClass(URLClassLoader.java:360) ~[na:1.8.0_05]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_05]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_05]

ScaladinUIProvider.createScaladinUiInstance mistakenly called twice?

Hi,
can somebody help me?

Is there a possibility that ScaladinUIProvider.createScaladinUiInstance is mistakenly called twice? (by Vaadin or by Scaladin)

My setup is Scaladin 3.0.0, Vaadin 7.1.14, Jetty 8.1.15.v20140411, Atmosphere 2.1.3, Scala 2.10.4.

Here is how I produce stack trace from my class ScaladinUIProvider (that extends vaadin.scala.server.ScaladinUIProvider):

protected override def createScaladinUiInstance(e: UIProviderEvent): UI = {
  new Exception().printStackTrace
  prepareTestUI(e)
}

Surprisely I discovered that this method is called twice, this is first stack trace:

java.lang.Exception
    at bd.nexus.monitoring.core.ui.ScaladinUIProvider.createScaladinUiInstance(ScaladinUIProvider.scala:40)
    at vaadin.scala.server.ScaladinUIProvider$$anonfun$getConfigurationUiInstance$1.apply(ScaladinUIProvider.scala:26)
    at vaadin.scala.server.ScaladinUIProvider$$anonfun$getConfigurationUiInstance$1.apply(ScaladinUIProvider.scala:26)
    at scala.collection.mutable.MapLike$class.getOrElseUpdate(MapLike.scala:189)
    at scala.collection.mutable.AbstractMap.getOrElseUpdate(Map.scala:91)
    at vaadin.scala.server.ScaladinUIProvider.getConfigurationUiInstance(ScaladinUIProvider.scala:26)
    at vaadin.scala.server.ScaladinUIProvider.vaadin$scala$server$ScaladinUIProvider$$loadConfigValue(ScaladinUIProvider.scala:33)
    at vaadin.scala.server.ScaladinUIProvider$$anonfun$getConfigurationValue$1.apply(ScaladinUIProvider.scala:28)
    at scala.collection.mutable.MapLike$class.getOrElseUpdate(MapLike.scala:189)
    at scala.collection.mutable.AbstractMap.getOrElseUpdate(Map.scala:91)
    at vaadin.scala.server.ScaladinUIProvider.getConfigurationValue(ScaladinUIProvider.scala:28)
    at vaadin.scala.server.ScaladinUIProvider.getTheme(ScaladinUIProvider.scala:51)
    at com.vaadin.server.BootstrapHandler.getThemeName(BootstrapHandler.java:575)
    at com.vaadin.server.communication.ServletBootstrapHandler.getThemeName(ServletBootstrapHandler.java:44)
    at com.vaadin.server.BootstrapHandler.findAndEscapeThemeName(BootstrapHandler.java:585)
    at com.vaadin.server.BootstrapHandler$BootstrapContext.getThemeName(BootstrapHandler.java:105)
    at com.vaadin.server.BootstrapHandler.setupMainDiv(BootstrapHandler.java:366)
    at com.vaadin.server.BootstrapHandler.synchronizedHandleRequest(BootstrapHandler.java:188)
    at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:37)
    at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1387)
    at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:238)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
    at org.eclipse.jetty.server.Server.handle(Server.java:366)
    at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
    at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
    at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
    at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

and this is second one:

java.lang.Exception
    at bd.nexus.monitoring.core.ui.ScaladinUIProvider.createScaladinUiInstance(ScaladinUIProvider.scala:40)
    at vaadin.scala.server.ScaladinUIProvider$$anonfun$getConfigurationUiInstance$1.apply(ScaladinUIProvider.scala:26)
    at vaadin.scala.server.ScaladinUIProvider$$anonfun$getConfigurationUiInstance$1.apply(ScaladinUIProvider.scala:26)
    at scala.collection.mutable.MapLike$class.getOrElseUpdate(MapLike.scala:189)
    at scala.collection.mutable.AbstractMap.getOrElseUpdate(Map.scala:91)
    at vaadin.scala.server.ScaladinUIProvider.getConfigurationUiInstance(ScaladinUIProvider.scala:26)
    at vaadin.scala.server.ScaladinUIProvider.vaadin$scala$server$ScaladinUIProvider$$loadConfigValue(ScaladinUIProvider.scala:34)
    at vaadin.scala.server.ScaladinUIProvider$$anonfun$getConfigurationValue$1.apply(ScaladinUIProvider.scala:28)
    at scala.collection.mutable.MapLike$class.getOrElseUpdate(MapLike.scala:189)
    at scala.collection.mutable.AbstractMap.getOrElseUpdate(Map.scala:91)
    at vaadin.scala.server.ScaladinUIProvider.getConfigurationValue(ScaladinUIProvider.scala:28)
    at vaadin.scala.server.ScaladinUIProvider.isPreservedOnRefresh(ScaladinUIProvider.scala:53)
    at com.vaadin.server.VaadinService.preserveUIOnRefresh(VaadinService.java:997)
    at com.vaadin.server.communication.UIInitHandler.getBrowserDetailsUI(UIInitHandler.java:228)
    at com.vaadin.server.communication.UIInitHandler.synchronizedHandleRequest(UIInitHandler.java:73)
    at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:37)
    at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1387)
    at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:238)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
    at org.eclipse.jetty.server.Server.handle(Server.java:366)
    at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
    at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
    at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
    at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

There is a small difference between those two stack traces, first one has something related with BootstrapHandler:

    at vaadin.scala.server.ScaladinUIProvider.getConfigurationValue(ScaladinUIProvider.scala:28)
    at vaadin.scala.server.ScaladinUIProvider.getTheme(ScaladinUIProvider.scala:51)
    at com.vaadin.server.BootstrapHandler.getThemeName(BootstrapHandler.java:575)
    at com.vaadin.server.communication.ServletBootstrapHandler.getThemeName(ServletBootstrapHandler.java:44)
    at com.vaadin.server.BootstrapHandler.findAndEscapeThemeName(BootstrapHandler.java:585)
    at com.vaadin.server.BootstrapHandler$BootstrapContext.getThemeName(BootstrapHandler.java:105)
    at com.vaadin.server.BootstrapHandler.setupMainDiv(BootstrapHandler.java:366)
    at com.vaadin.server.BootstrapHandler.synchronizedHandleRequest(BootstrapHandler.java:188)
    at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:37)

and second one not:

    at vaadin.scala.server.ScaladinUIProvider.getConfigurationValue(ScaladinUIProvider.scala:28)
    at vaadin.scala.server.ScaladinUIProvider.isPreservedOnRefresh(ScaladinUIProvider.scala:53)
    at com.vaadin.server.VaadinService.preserveUIOnRefresh(VaadinService.java:997)
    at com.vaadin.server.communication.UIInitHandler.getBrowserDetailsUI(UIInitHandler.java:228)
    at com.vaadin.server.communication.UIInitHandler.synchronizedHandleRequest(UIInitHandler.java:73)
    at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:37)

I thought that this is only I start new session (open the page) for the first time but not. When I will not shutdown server and wait for session expiration entering page again produce again two stack traces.

Can somebody help me? What is going on?
Thanks,
Arthur.

PS 1: temporary my workaround is to close this one session thats UI was not attached for some period of time (for example: for 20 seconds).

PS 2: this is part of my web.xml

    <servlet>

        <servlet-name>ProductName</servlet-name>

        <servlet-class>vaadin.scala.server.ScaladinServlet</servlet-class>
        <init-param>
            <param-name>ScaladinUIProvider</param-name>
            <param-value>bd.nexus.monitoring.core.ui.ScaladinUIProvider</param-value>
        </init-param>

        <init-param>
            <description>Application widgetset</description>
            <param-name>widgetset</param-name>
            <param-value>ProductNameWidgetset</param-value>
        </init-param>

        <init-param>
            <param-name>pushmode</param-name>
            <param-value>automatic</param-value>
        </init-param>

        <async-supported>true</async-supported>

        <init-param>
            <param-name>heartbeatInterval</param-name>
            <param-value>2</param-value> <!-- value in seconds -->
        </init-param>

        <init-param>
            <param-name>closeIdleSessions</param-name>
            <param-value>true</param-value>
        </init-param>

    </servlet>

support scala 2.10

Any plans to support 2.10 for scaladin 2.x ?

Is scaladin 3 a drop in replacement for 2.x?

MatchError on BeanContainer

Lacking much understanding of Scaladin internals, I'm unsure if this is a bug or not. It relates to a MatchError when trying to retrieve an item from a BeanContainer and how these items are wrapped. Using Scaladin 3

private val cbxAssociation = new ComboBox {
  caption = "Please Select Your Association"
  nullSelectionAllowed = false
  description = "Select the association where you are registering these members."
  inputPrompt = "Association Name"
  width = 150 px;
  itemCaptionPropertyId = "name"
  immediate = true
  p.setContainerDataSource(new BeanContainer[Int, Association](classOf[Association]) {
    import com.googlecode.mapperdao.Query.{ select => dbselect }
    val a = SportZmanInternetUI.associationEntity
    val query = dbselect from a orderBy a.name
    val associations = SportZmanInternetUI.queryDao.query(query)
    associations foreach { association =>
      addItem(association.id, association)
    }
  })
  valueChangeListeners += { evt =>
    val selectedAssociationId = evt.property.value.get.asInstanceOf[Int]
    val association = getItem(selectedAssociationId)
    debug("****" + association)
  }

This code throws the following exception

Caused by: scala.MatchError: com.dtc.sportzman.internet.PayMembershipFeesPanel$$anon$2$$anon$6@5d63a2b3 (of class com.dtc.sportzman.internet.PayMembershipFeesPanel$$anon$2$$anon$6)
   at vaadin.scala.internal.WrapperUtil$.wrapperFor(WrapperUtil.scala:12)
   at vaadin.scala.Wrapper$class.wrapperFor(Wrapper.scala:8)
   at vaadin.scala.AbstractComponent.wrapperFor(AbstractComponent.scala:25)
   at vaadin.scala.Container$Viewer$class.container(Container.scala:151)
   at vaadin.scala.AbstractSelect.container(AbstractSelect.scala:31)
   at vaadin.scala.AbstractSelect.wrapItem(AbstractSelect.scala:86)
   at vaadin.scala.Container$class.optionalWrapItem(Container.scala:61)
   at vaadin.scala.AbstractSelect.optionalWrapItem(AbstractSelect.scala:31)
   at vaadin.scala.Container$class.getItem(Container.scala:26)
   at vaadin.scala.AbstractSelect.getItem(AbstractSelect.scala:31)
   at com.dtc.sportzman.internet.PayMembershipFeesPanel$$anon$2$$anonfun$3.apply(PayMembershipFeesPanel.scala:48)
   at com.dtc.sportzman.internet.PayMembershipFeesPanel$$anon$2$$anonfun$3.apply(PayMembershipFeesPanel.scala:46)
   at vaadin.scala.internal.ValueChangeListener.valueChange(listeners.scala:72)

Obviously the Scaladin code isn't prepared for this but I don't know where to fix?

def wrapperFor[T](maybeWrapper: Any): Option[T] = {
  if (maybeWrapper == null)
    None
  else
    maybeWrapper match {
      case mixin: ScaladinMixin => Option(mixin.wrapper.asInstanceOf[T])
      case interfaceMixin: ScaladinInterfaceMixin => Option(interfaceMixin.wrapper.asInstanceOf[T])
    }
}

Nightly builds of version 2.0?

I would really like to test version 2.0 but could not find any nightly build. Since there is already a build server that builds the project automatically I wonder why you don't publish the snapshot builds. This would be very useful, especially since version 2.0 differs a lot from version 1.0.

ClassResource Wrapper

Massive scaladin fan, just noticed that the wrapper for ClassResource was missing.

object ClassResource {
def apply(sourceString: String): ClassResource = new ClassResource(sourceString)
}

class ClassResource(override val p: com.vaadin.server.ClassResource with ResourceMixin) extends Resource {

def this(sourceString: String) {
    this(new com.vaadin.server.ClassResource(sourceString) with ResourceMixin)
}

}

Keep up the great work.

Cheers
Ben

Form not present in 3.0

I'm attempting to build and install 3.0 locally so I can port my new project to Vaadin 7. One big piece which I'm missing, though, is the Form class.

I tried porting from 2.x to 3, but the architecture has changed somewhat, and it wasn't a straight port. I'm also not familiar enough with Scaladin internals, but since the class is only 47 lines, I imagine the port wouldn't be tough for someone who does understand the various mixins and traits.

Would it be possible to port the old Form class to 3.0?

Thanks.

Convert Vaadin validations to Scaladin

I have the following code:

implicit def abstractValidatorToValidator(v:com.vaadin.data.validator.AbstractValidator[_]):Validator = {
Validator({ value =>
try {
v.validate(value.orNull)
Valid
} catch {
case e:com.vaadin.data.Validator.InvalidValueException =>
Invalid(List(e.getMessage))
}
})
}

This lets me add Vaadin validators to Scaladin fields.

Where should I put this? I don't want to have to wrap each and every Vaadin validator, but it seems like this implicit should get picked up automatically with no extra work from the user. Perhaps it should go into the implicits object, but that feels wrong to me. Scaladin overrides the validation functionality, and its current implementation is less feature complete than Vaadin's in that it can't use any of the pre-existing validations without additional work. Seems like it should both add functionality and use Vaadin's validations with no modifications.

MatchError in Page.current

Getting the following partial exception when calling Page.current:

Caused by: scala.MatchError: com.vaadin.server.Page@57f4ea9d (of class com.vaadin.server.Page)
at vaadin.scala.internal.WrapperUtil$.wrapperFor(WrapperUtil.scala:12)
at vaadin.scala.Page$.current(Page.scala:20)
...

There's more, but the callstack isn't all that deep at Page.current.

Unable to convert value of type scala.math.BigDecimal to presentation type class java.lang.String

This happens starting from vaadin-7.2.0

Caused by: com.vaadin.data.util.converter.Converter$ConversionException: Unable to convert value of type scala.math.BigDecimal to presentation type class java.lang.String. No converter is set and the types are not compatible.
at com.vaadin.data.util.converter.ConverterUtil.convertFromModel(ConverterUtil.java:116)
at com.vaadin.ui.AbstractField.convertFromModel(AbstractField.java:708)
at com.vaadin.ui.AbstractField.convertFromModel(AbstractField.java:693)
at com.vaadin.ui.AbstractField.setPropertyDataSource(AbstractField.java:629)

TextField.addShortcutListener

It looks like v2.0 of Scaladin is using wrapped widgets instead of extending from original Vaadin widgets as in v1.0

Consequently, some functions that I was using are missing. For example, I could do :

new TextField {
  addShortcutListener( blah blah)
}

But I have to now use the wrapped object:

new TextField {
  p.addShortcutListener( blah blah)
}

Is this correct?

Also, is it planned to have a companion object for TextField and other widgets, just like for Button?

There is nowhere where I could ask a question or comment

I was going around scaladin's repo and I can't find a way to post a question anywhere. I'm going to post it here, please let me know if you have an official place for questions.

So for scaladin v2.0.0, I am trying to create a table with the ability to filter the items based on user input. I.e. if the user types [He] in a separate text box, I then need to filter the table so that I get only the rows that contain "He". So far I did this:

val table = new Table {
    width = (100 percent)
    height = (100 percent)
    selectionMode = SelectionMode.Single
    immediate = true
}
val filterable = Container.filterable(
    ("x", List(
        ("AA", "A1"),
        ("BB", "B1")
    )),
    ("y", List(
        ("AA", "A2"),
        ("BB", "B2")
    )
    )
)
table.container = filterable
add(
    new Button {
        caption = "Filter"
        clickListeners += { e =>
            ???? what do I do here to filter the table???
        }
    }
)

Publish source jar

Can you please publish proper source jar in vaadin maven repo? Currently Intellij's having troubles picking source from the published jar.

Thanks, Oleg.

NPE at com.vaadin.data.fieldgroup.FieldGroup.commit

When I click the submit button, I get

SEVERE: 
com.vaadin.server.ServerRpcManager$RpcInvocationException: Unable to invoke method click in com.vaadin.shared.ui.button.ButtonServerRpc
    at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:170)
    at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:118)
    at com.vaadin.server.communication.ServerRpcHandler.handleBurst(ServerRpcHandler.java:207)
    at com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:111)
    at com.vaadin.server.communication.UidlRequestHandler.synchronizedHandleRequest(UidlRequestHandler.java:91)
    at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:37)
    at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1390)
    at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:238)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:711)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:552)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:568)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1112)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:479)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1046)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:199)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    at org.eclipse.jetty.server.Server.handle(Server.java:462)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:281)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:232)
    at org.eclipse.jetty.io.AbstractConnection$1.run(AbstractConnection.java:505)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
    at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:168)
    ... 27 more
Caused by: com.vaadin.event.ListenerMethod$MethodException: Invocation of method buttonClick in vaadin.scala.internal.ButtonClickListener failed.
    at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:528)
    at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:198)
    at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:161)
    at com.vaadin.server.AbstractClientConnector.fireEvent(AbstractClientConnector.java:969)
    at com.vaadin.ui.Button.fireClick(Button.java:368)
    at com.vaadin.ui.Button$1.click(Button.java:57)
    ... 32 more
Caused by: java.lang.NullPointerException
    at com.vaadin.data.fieldgroup.FieldGroup.commit(FieldGroup.java:442)
    at vaadin.scala.FieldGroup$$anonfun$commit$1.apply$mcV$sp(FieldGroup.scala:100)
    at vaadin.scala.FieldGroup$$anonfun$commit$1.apply(FieldGroup.scala:100)
    at vaadin.scala.FieldGroup$$anonfun$commit$1.apply(FieldGroup.scala:100)
    at scala.util.control.Exception$Catch$$anonfun$either$1.apply(Exception.scala:124)
    at scala.util.control.Exception$Catch$$anonfun$either$1.apply(Exception.scala:124)
    at scala.util.control.Exception$Catch.apply(Exception.scala:102)
    at scala.util.control.Exception$Catch.either(Exception.scala:124)
    at vaadin.scala.FieldGroup.commit(FieldGroup.scala:100)
    at co.cleancode.scaladin.FieldGroup.commit(FieldGroup.scala:33)
    at co.cleancode.menu.views.product.ProductManageWindow$Form$$anon$11$$anonfun$10.apply(ProductManageWindow.scala:189)
    at co.cleancode.menu.views.product.ProductManageWindow$Form$$anon$11$$anonfun$10.apply(ProductManageWindow.scala:188)
    at vaadin.scala.internal.ButtonClickListener.buttonClick(listeners.scala:84)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:508)
    ... 37 more

Here is the code:
https://gist.github.com/thehappycoder/b697586fd89ea6b0cff2

After trial and error I figured that categoryId may be the cause but I don't understand why. And I cannot debug because of this issue henrikerola/sbt-vaadin-plugin#10

Should Navigator.ViewChangeEvent.parameters return None instead of an empty string?

When attempting to refactor to Navigator, I discovered that parameter checks were returning Some("") for empty strings.

This was rather surprising to me. I see that you're wrapping the property in Option which is good as it filters out null, but it makes sense to me that conceptually I would treat null and "" parameters the same.

The fix is easy--just add a .filterNot(_.isEmpty) to the line that assigns the property--but I wanted to ensure that we're on the same page before making it. As it stands, to check for empty properties, it looks like I have to check for both None and Some(""), which is annoying.

Thanks.

BUG: GridLayout.scala:22-24

    if (col >= 0 && row >= 0)
      p.addComponent(component.p, col, row)
    else if (col >= 0 && row >= 0 && col2 >= 0 && row2 >= 0)
      p.addComponent(component.p, col, row, col2, row2)
    else

2nd if condition is never reached.
Kind regards.

Add UI.refresh

Vaadin 7.2 contains UI.refresh method which can be used to update the UI when PreserveOnRefresh is enabled for the UI. Add the same method to the Scaladin UI wrapper.

VaadinServletConfiguration

There should be a corresponding annotation in Scaladin OR the configuration that's defined with the annotation could be done by using constructor arguments in ScaladinServlet.

Scaladin 3 with Vaadin 7.1.12

Hi,

I am trying to get a simple Hello World Vaadin webapp working, however I get a compilation error:

not enough arguments for constructor UI: (title: String, theme: String, widgetset: String, preserveOnRefresh: Boolean, pushMode: vaadin.scala.PushMode.Value, p: vaadin.scala.internal.WrappedVaadinUI)vaadin.scala.UI
class HelloUI extends UI(title = "Hello World") {
^

My UI class is

package com.test

import vaadin.scala._

class HelloUI extends UI(title = "Hello World") {

content = new Label("Hello World")

}

I think there is something very fundamentally wrong. My dependencies are as follows:

    <dependency>
        <groupId>com.vaadin</groupId>
        <artifactId>vaadin-server</artifactId>
        <version>${vaadin.version}</version>
    </dependency>
    <dependency>
        <groupId>com.vaadin</groupId>
        <artifactId>vaadin-client</artifactId>
        <version>${vaadin.version}</version>
    </dependency>
    <dependency>
        <groupId>com.vaadin</groupId>
        <artifactId>vaadin-client-compiled</artifactId>
        <version>${vaadin.version}</version>
    </dependency>
    <dependency>
        <groupId>com.vaadin</groupId>
        <artifactId>vaadin-themes</artifactId>
        <version>${vaadin.version}</version>
    </dependency>
    <dependency>
        <groupId>org.vaadin.addons</groupId>
        <artifactId>scaladin</artifactId>
        <version>3.0.0</version>
    </dependency>

Any help is very much appreciated.

NPE in VaadinSession.setErrorHandler

Caused by: java.lang.NullPointerException
    at com.vaadin.server.VaadinSession.hasLock(VaadinSession.java:719)
    at com.vaadin.server.VaadinSession.setErrorHandler(VaadinSession.java:527)
    at vaadin.scala.server.ScaladinSession.errorHandler_$eq(ScaladinSession.scala:69)
    at vaadin.scala.server.ScaladinSession.<init>(ScaladinSession.scala:46)
    at vaadin.scala.server.mixins.ScaladinServletServiceMixin$class.createVaadinSession(scaladinServices.scala:15)
    at vaadin.scala.server.ScaladinServlet$$anon$1.createVaadinSession(ScaladinServlet.scala:26)
    at com.vaadin.server.VaadinService.createAndRegisterSession(VaadinService.java:721)
    at com.vaadin.server.VaadinService.doFindOrCreateVaadinSession(VaadinService.java:690)
    at com.vaadin.server.VaadinService.findOrCreateVaadinSession(VaadinService.java:631)
    at com.vaadin.server.VaadinService.findVaadinSession(VaadinService.java:495)
    at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1365)
    ... 24 more

Support UI.setTheme

Now days Vaadin supports changing theme on-the-fly by using UI.setTheme. Add setter for that in vaadin.scala.UI

Set a default empty item on FieldGroup

I have a number of hand-coded forms which map fields to string names, and a for comprehension that unwraps all the Options on submit. I create the forms like so:

val fields = new FieldGroup
val email = new TextField {
  caption = "Email"; required = true
}
email.validators += emailValidator
components += email
fields.bind(email, "email")

Unfortunately, my first attempt at this threw an NPE because no item was set. This was fixed by doing this:

val fields = new FieldGroup { item = Item() }

Would it make sense to set a default, empty item on FieldGroups so you can just map fields without always assigning the item? It would seem to make the simplest case even simpler, to make the syntax cleaner, and to be consistent with the fact that Scala users might want to code up forms without using beans or other Java silliness.

Thanks.

Cannot specify vaadin.scala.UI locale

I can't find scaladin equivalent to com.vaadin.ui.UI.setLocale(..) method.

My UI locale depends on user settings, so I need to set it in init(..) method, depending on request.

Roadmap to 3.0 or snapshot builds

Developing with Scaladin is somewhat challenging because I have to build the library myself and ensure that it is present in all my projects. I use Gradle for my builds, and for some reason it has issues with the artefacts produced by SBT when published to my local repository. Of course, new complexities arise when performing automated builds on CI servers which must check out their own copy of Scaladin and build that as part of the build process.

7.0 has been out for a while now, and while there are certainly rough edges in Scaladin, it'd be nice to have a 3.0 release of some kind published such that build tools can pick it up. I'm successfully using it in several Vaadin projects, so I'd definitely call it ready for use.

Would it be possible to create a 3.0 roadmap for a public 7.0-compatible release? Or could 3.0.0-SNAPSHOT be automatically built and published somewhere so I can update all of my projects to use that?

Thanks.

Container.add(vaadin.ui.Component)

Please provide a way to add a normal vaadin Component directly. There are components provided by addons, that can be inserted directly into the container. For example the Refresher addon has a Refresher component that can be added to a container without further configuration.

Scaladin and Uncaught Exceptions, don't see expected ! mark

e.g.

class TestUI extends UI {
val run=Button("Run", {e=>
println("About to die")
throw new RuntimeException("Argh!!!")
})
content=new VerticalLayout{add(run)}
}

I click run, see big stack trace with

com.vaadin.server.ServerRpcManager$RpcInvocationException: Unable to invoke method click in com.vaadin.shared.ui.button.ButtonServerRpc

at the top

But was expecting an explanation mark in the run button. Don't see one.

​Thanks.

Scaladin 3.x Fails With Vaadin 7.1

What is required for Scaladin to work with Vaadin 7.1.0? Migrated from working setup with Vaadin 7.0.7 to Vaadin 7.1.0 and received the following exception.

Jul 19, 2013 9:17:16 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [sportzman-internet] in context with path [/sportzman] threw exception
java.lang.IllegalStateException: Can not process requests before init() has been called
at com.vaadin.server.VaadinService.requestStart(VaadinService.java:1239)
at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1318)
at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)

Scaladin was latest version built against Vaadin 7.0.7 libraries. Cannot build against Vaadin 7.1.0 libraries as I get compilation errors.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.