Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-346

Running workbench in GWT super dev mode should just work out of the box

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Optional Optional
    • None
    • None
    • optaplanner-wb
    • None
    • 1

      To reproduce:

      • git clone optaplanner-wb
      • open the pom.xml with intellij
      • Create run configuration GWT configuration for:
        • module optaplanner-wb-webapp
        • GWT modules to load: ...FastCompiledOptaPlannerWorkbench
        • VM options: doubled to -Xmx1G

      That should just work out of the box, if we want to attract contributors.

      Starting Jetty on port 8888
         [WARN] FAILED UI Security Filter: java.lang.NullPointerException
      java.lang.NullPointerException
      	at org.picketlink.authentication.web.AuthenticationFilter.resolveAuthenticationScheme(AuthenticationFilter.java:182)
      	at org.picketlink.authentication.web.AuthenticationFilter.init(AuthenticationFilter.java:83)
      	at org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:118)
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:763)
      	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
      	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242)
      	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)
      	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)
      	at com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:541)
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
      	at org.eclipse.jetty.server.handler.RequestLogHandler.doStart(RequestLogHandler.java:162)
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
      	at org.eclipse.jetty.server.Server.doStart(Server.java:282)
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      	at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:740)
      	at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:632)
      	at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1054)
      	at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:836)
      	at com.google.gwt.dev.DevMode.main(DevMode.java:413)
      	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.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
         [WARN] Failed startup of context c.g.g.d.s.j.WebAppContextWithReload{/,file:/home/gdesmet/.IntelliJIdea14/system/gwt/optaplanner-wb.e52356d2/optaplanner-wb-webapp.d72aedda/run/www/},/home/gdesmet/.IntelliJIdea14/system/gwt/optaplanner-wb.e52356d2/optaplanner-wb-webapp.d72aedda/run/www
      java.lang.NullPointerException
      	at org.picketlink.authentication.web.AuthenticationFilter.resolveAuthenticationScheme(AuthenticationFilter.java:182)
      	at org.picketlink.authentication.web.AuthenticationFilter.init(AuthenticationFilter.java:83)
      	at org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:118)
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:763)
      	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
      	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242)
      	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)
      	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)
      	at com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:541)
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
      	at org.eclipse.jetty.server.handler.RequestLogHandler.doStart(RequestLogHandler.java:162)
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
      	at org.eclipse.jetty.server.Server.doStart(Server.java:282)
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      	at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:740)
      	at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:632)
      	at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1054)
      	at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:836)
      	at com.google.gwt.dev.DevMode.main(DevMode.java:413)
      	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.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
         Ignored 2 units with compilation errors in first pass.
      

              jlocker Jiří Locker (Inactive)
              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: