2 Replies Latest reply on Jul 13, 2012 9:44 AM by Michael Anstis

    2.1-SNAPSHOT: ErraiMarshalling initialisation RTE

    Michael Anstis Newbie

      Hi,

       

      I don't know if my setup is material, but I'll mention it:-

       

      I have two projects A and B, both use Errai for CDI.

       

      Project A contains "core" stuff, Project B is dependent on Project A for the core stuff.

       

      Both Project A and Project B use Java Annotation Processing to generate some source files (that themselves contain CDI annotations).

       

      Our multi-project POM compiles A and B without problem however at runtime we receive the below trace (I include it all so as not to miss anything that might be of interest).

       

      The problem appears to be when we try to run in an IDE (I use Eclipse, Rikkola - see below - uses InteliJ) with both Project A and B in the workspace.

       

      1) If I have Project B reference Project A and Project A's generated-sources folder is not in the build path I get a GWT exception (source code for projecta.aclass.etc not found. Did you forget to inherit a required module)

       

      2) If I have Project B reference Project A and Project A's generated-sources folder is in the build path I get the stack trace below.

       

      3) If I have Project B reference Project A JAR (i.e. delete Project A from the workspace), delete .errai folder and re-compile it's OK.

       

      4) If I delete the .errai folder, build from CLI (mven clean install) and run with mvn gwt:run it's also OK.

       

      It was first noticed here - https://gist.github.com/3089843 - and after rebasing our project myself today notice the same

       

      Any pointers?

       

      Cheers,

       

      Mike

       

      Loading modules

         org.drools.guvnor.FastCompiledGuvnorNGShowcase

            Validating <servlet> tags for module 'org.drools.guvnor.GuvnorNGShowcase'

            For additional info see: file:/home/manstis/libraries/gwt/gwt-2.4.0/doc/helpInfo/servletMappings.html

               [WARN] Module declares a servlet class 'com.google.gwt.junit.server.JUnitHostImpl', but the web.xml has no corresponding declaration; please add the following lines to your web.xml:

      <servlet>

        <servlet-name>jUnitHostImpl</servlet-name>

        <servlet-class>com.google.gwt.junit.server.JUnitHostImpl</servlet-class>

      </servlet>

      <servlet-mapping>

        <servlet-name>jUnitHostImpl</servlet-name>

        <url-pattern>/org.drools.guvnor.GuvnorNGShowcase/junithost/*</url-pattern>

      </servlet-mapping>

      SLF4J: Class path contains multiple SLF4J bindings.

      SLF4J: Found binding in [jar:file:/home/manstis/workspaces/git/guvnorng/guvnorng-showcase/target/guvnorng-showcase-5.5.0-SNAPSHOT/WEB-INF/lib/slf4j-simple-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]

      SLF4J: Found binding in [jar:file:/home/manstis/workspaces/git/guvnorng/guvnorng-showcase/target/guvnorng-showcase-5.5.0-SNAPSHOT/WEB-INF/lib/weld-servlet-1.1.6.Final.jar!/org/slf4j/impl/StaticLoggerBinder.class]

      SLF4J: Found binding in [jar:file:/home/manstis/workspaces/git/guvnorng/guvnorng-showcase/target/guvnorng-showcase-5.5.0-SNAPSHOT/WEB-INF/lib/slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]

      SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

      SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory]

      63 [main] INFO org.jboss.weld.Version - WELD-000900 1.1.6 (Final)

      184 [main] INFO org.jboss.weld.Bootstrap - WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.

      [WARN] Server class 'javax.ejb.EJB' could not be found in the web app, but was found on the system classpath

         [WARN] Adding classpath entry 'file:/home/manstis/.m2/repository/org/jboss/ejb3/jboss-ejb3-api/3.1.0/jboss-ejb3-api-3.1.0.jar' to the web app classpath for this session

         For additional info see: file:/home/manstis/libraries/gwt/gwt-2.4.0/doc/helpInfo/webAppClassPath.html

      [WARN] Server resource 'log4j.xml' could not be found in the web app, but was found on the system classpath

         [WARN] Adding classpath entry 'file:/home/manstis/workspaces/git/guvnorng/guvnorng-showcase/src/main/resources/' to the web app classpath for this session

         For additional info see: file:/home/manstis/libraries/gwt/gwt-2.4.0/doc/helpInfo/webAppClassPath.html

      448 [main] INFO org.jboss.errai.cdi.server.CDIExtensionPoints - starting errai cdi ...

      478 [main] INFO org.jboss.errai.container.CDIServletStateListener - Jetty detected, JSR-299 injection will be available in Servlets and Filters. Injection into Listeners is not supported.

      [WARN] Server class 'org.drools.guvnor.client.editors.repositorieseditor.RepositoriesEditorPresenter' could not be found in the web app, but was found on the system classpath

         [WARN] Adding classpath entry 'file:/home/manstis/workspaces/git/guvnorng/guvnorng-showcase/src/main/webapp/WEB-INF/classes/' to the web app classpath for this session

         For additional info see: file:/home/manstis/libraries/gwt/gwt-2.4.0/doc/helpInfo/webAppClassPath.html

      1570 [Thread-15] INFO org.jboss.errai.reflections.Reflections - Reflections took 902 ms to scan 11 urls, producing 437 keys and 1915 values

      2036 [Thread-15] INFO org.jboss.errai.reflections.Reflections - Reflections took 465 ms to scan 11 urls, producing 437 keys and 1915 values

      2187 [pool-2-thread-1] INFO org.jboss.errai.cdi.server.CDIExtensionPoints - all services registered successfully

      [WARN] Server class 'org.apache.xalan.processor.TransformerFactoryImpl' could not be found in the web app, but was found on the system classpath

         [WARN] Adding classpath entry 'file:/home/manstis/libraries/gwt/gwt-2.4.0/gwt-dev.jar' to the web app classpath for this session

         For additional info see: file:/home/manstis/libraries/gwt/gwt-2.4.0/doc/helpInfo/webAppClassPath.html

      4357 [main] WARN ErraiMarshalling - could not locate marshaller class.

      4357 [main] WARN ErraiMarshalling - using dynamic marshallers. dynamic marshallers are designed for development mode testing, and ideally should not be used in production. *

      java.lang.String has no registered marshaller; marshCls=class org.jboss.errai.marshalling.client.marshallers.StringMarshaller

      4564 [main] WARN ErraiMarshalling - static marshallers were not found.

      4564 [main] WARN ErraiMarshalling - using dynamic marshallers. dynamic marshallers are designed for development mode testing, and ideally should not be used in production. *

      java.lang.String has no registered marshaller; marshCls=class org.jboss.errai.marshalling.client.marshallers.StringMarshaller

      Starting Jetty on port 8888

         [WARN] failed Resteasy

      java.lang.ExceptionInInitializerError

          at org.jboss.errai.jaxrs.ErraiProvider.<clinit>(ErraiProvider.java:49)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

          at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

          at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:132)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.getProviderInstance(ResteasyProviderFactory.java:1084)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.addMessageBodyReader(ResteasyProviderFactory.java:478)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:802)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:788)

          at org.jboss.resteasy.spi.ResteasyDeployment.registerProvider(ResteasyDeployment.java:505)

          at org.jboss.resteasy.spi.ResteasyDeployment.registration(ResteasyDeployment.java:305)

          at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:225)

          at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:67)

          at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.init(FilterDispatcher.java:39)

          at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:593)

          at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)

          at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)

          at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513)

          at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)

          at org.jboss.errai.cdi.server.gwt.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:486)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)

          at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:115)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)

          at org.mortbay.jetty.Server.doStart(Server.java:222)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.jboss.errai.cdi.server.gwt.JettyLauncher.start(JettyLauncher.java:692)

          at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)

          at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1068)

          at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:811)

          at com.google.gwt.dev.DevMode.main(DevMode.java:311)

      Caused by: java.lang.RuntimeException: critical problem loading the marshallers

          at org.jboss.errai.marshalling.server.MappingContextSingleton.<clinit>(MappingContextSingleton.java:78)

          ... 35 more

      Caused by: java.lang.NullPointerException: no outer marshaller specified for: java.lang.String

          at org.jboss.errai.common.client.framework.Assert.notNull(Assert.java:41)

          at org.jboss.errai.marshalling.server.marshallers.DefaultArrayMarshaller.<init>(DefaultArrayMarshaller.java:38)

          at org.jboss.errai.marshalling.server.MappingContextSingleton$3.addArrayMarshaller(MappingContextSingleton.java:228)

          at org.jboss.errai.marshalling.server.MappingContextSingleton$3.<init>(MappingContextSingleton.java:203)

          at org.jboss.errai.marshalling.server.MappingContextSingleton.loadDynamicMarshallers(MappingContextSingleton.java:152)

          at org.jboss.errai.marshalling.server.MappingContextSingleton.<clinit>(MappingContextSingleton.java:73)

          ... 35 more

         [WARN] Nested in java.lang.ExceptionInInitializerError:

      java.lang.RuntimeException: critical problem loading the marshallers

          at org.jboss.errai.marshalling.server.MappingContextSingleton.<clinit>(MappingContextSingleton.java:78)

          at org.jboss.errai.jaxrs.ErraiProvider.<clinit>(ErraiProvider.java:49)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

          at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

          at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:132)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.getProviderInstance(ResteasyProviderFactory.java:1084)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.addMessageBodyReader(ResteasyProviderFactory.java:478)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:802)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:788)

          at org.jboss.resteasy.spi.ResteasyDeployment.registerProvider(ResteasyDeployment.java:505)

          at org.jboss.resteasy.spi.ResteasyDeployment.registration(ResteasyDeployment.java:305)

          at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:225)

          at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:67)

          at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.init(FilterDispatcher.java:39)

          at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:593)

          at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)

          at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)

          at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513)

          at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)

          at org.jboss.errai.cdi.server.gwt.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:486)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)

          at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:115)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)

          at org.mortbay.jetty.Server.doStart(Server.java:222)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.jboss.errai.cdi.server.gwt.JettyLauncher.start(JettyLauncher.java:692)

          at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)

          at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1068)

          at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:811)

          at com.google.gwt.dev.DevMode.main(DevMode.java:311)

      Caused by: java.lang.NullPointerException: no outer marshaller specified for: java.lang.String

          at org.jboss.errai.common.client.framework.Assert.notNull(Assert.java:41)

          at org.jboss.errai.marshalling.server.marshallers.DefaultArrayMarshaller.<init>(DefaultArrayMarshaller.java:38)

          at org.jboss.errai.marshalling.server.MappingContextSingleton$3.addArrayMarshaller(MappingContextSingleton.java:228)

          at org.jboss.errai.marshalling.server.MappingContextSingleton$3.<init>(MappingContextSingleton.java:203)

          at org.jboss.errai.marshalling.server.MappingContextSingleton.loadDynamicMarshallers(MappingContextSingleton.java:152)

          at org.jboss.errai.marshalling.server.MappingContextSingleton.<clinit>(MappingContextSingleton.java:73)

          ... 35 more

         [WARN] failed org.jboss.errai.cdi.server.gwt.JettyLauncher$WebAppContextWithReload@8916f9{/,/home/manstis/workspaces/git/guvnorng/guvnorng-showcase/target/guvnorng-showcase-5.5.0-SNAPSHOT}

      java.lang.ExceptionInInitializerError

          at org.jboss.errai.jaxrs.ErraiProvider.<clinit>(ErraiProvider.java:49)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

          at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

          at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:132)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.getProviderInstance(ResteasyProviderFactory.java:1084)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.addMessageBodyReader(ResteasyProviderFactory.java:478)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:802)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:788)

          at org.jboss.resteasy.spi.ResteasyDeployment.registerProvider(ResteasyDeployment.java:505)

          at org.jboss.resteasy.spi.ResteasyDeployment.registration(ResteasyDeployment.java:305)

          at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:225)

          at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:67)

          at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.init(FilterDispatcher.java:39)

          at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:593)

          at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)

          at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)

          at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513)

          at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)

          at org.jboss.errai.cdi.server.gwt.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:486)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)

          at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:115)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)

          at org.mortbay.jetty.Server.doStart(Server.java:222)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.jboss.errai.cdi.server.gwt.JettyLauncher.start(JettyLauncher.java:692)

          at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)

          at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1068)

          at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:811)

          at com.google.gwt.dev.DevMode.main(DevMode.java:311)

      Caused by: java.lang.RuntimeException: critical problem loading the marshallers

          at org.jboss.errai.marshalling.server.MappingContextSingleton.<clinit>(MappingContextSingleton.java:78)

          ... 35 more

      Caused by: java.lang.NullPointerException: no outer marshaller specified for: java.lang.String

          at org.jboss.errai.common.client.framework.Assert.notNull(Assert.java:41)

          at org.jboss.errai.marshalling.server.marshallers.DefaultArrayMarshaller.<init>(DefaultArrayMarshaller.java:38)

          at org.jboss.errai.marshalling.server.MappingContextSingleton$3.addArrayMarshaller(MappingContextSingleton.java:228)

          at org.jboss.errai.marshalling.server.MappingContextSingleton$3.<init>(MappingContextSingleton.java:203)

          at org.jboss.errai.marshalling.server.MappingContextSingleton.loadDynamicMarshallers(MappingContextSingleton.java:152)

          at org.jboss.errai.marshalling.server.MappingContextSingleton.<clinit>(MappingContextSingleton.java:73)

          ... 35 more

         [WARN] Nested in java.lang.ExceptionInInitializerError:

      java.lang.RuntimeException: critical problem loading the marshallers

          at org.jboss.errai.marshalling.server.MappingContextSingleton.<clinit>(MappingContextSingleton.java:78)

          at org.jboss.errai.jaxrs.ErraiProvider.<clinit>(ErraiProvider.java:49)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

          at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

          at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:132)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.getProviderInstance(ResteasyProviderFactory.java:1084)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.addMessageBodyReader(ResteasyProviderFactory.java:478)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:802)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:788)

          at org.jboss.resteasy.spi.ResteasyDeployment.registerProvider(ResteasyDeployment.java:505)

          at org.jboss.resteasy.spi.ResteasyDeployment.registration(ResteasyDeployment.java:305)

          at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:225)

          at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:67)

          at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.init(FilterDispatcher.java:39)

          at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:593)

          at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)

          at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)

          at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513)

          at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)

          at org.jboss.errai.cdi.server.gwt.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:486)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)

          at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:115)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)

          at org.mortbay.jetty.Server.doStart(Server.java:222)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.jboss.errai.cdi.server.gwt.JettyLauncher.start(JettyLauncher.java:692)

          at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)

          at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1068)

          at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:811)

          at com.google.gwt.dev.DevMode.main(DevMode.java:311)

      Caused by: java.lang.NullPointerException: no outer marshaller specified for: java.lang.String

          at org.jboss.errai.common.client.framework.Assert.notNull(Assert.java:41)

          at org.jboss.errai.marshalling.server.marshallers.DefaultArrayMarshaller.<init>(DefaultArrayMarshaller.java:38)

          at org.jboss.errai.marshalling.server.MappingContextSingleton$3.addArrayMarshaller(MappingContextSingleton.java:228)

          at org.jboss.errai.marshalling.server.MappingContextSingleton$3.<init>(MappingContextSingleton.java:203)

          at org.jboss.errai.marshalling.server.MappingContextSingleton.loadDynamicMarshallers(MappingContextSingleton.java:152)

          at org.jboss.errai.marshalling.server.MappingContextSingleton.<clinit>(MappingContextSingleton.java:73)

          ... 35 more

         [WARN] failed RequestLogHandler@18f38f7

      java.lang.ExceptionInInitializerError

          at org.jboss.errai.jaxrs.ErraiProvider.<clinit>(ErraiProvider.java:49)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

          at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

          at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:132)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.getProviderInstance(ResteasyProviderFactory.java:1084)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.addMessageBodyReader(ResteasyProviderFactory.java:478)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:802)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:788)

          at org.jboss.resteasy.spi.ResteasyDeployment.registerProvider(ResteasyDeployment.java:505)

          at org.jboss.resteasy.spi.ResteasyDeployment.registration(ResteasyDeployment.java:305)

          at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:225)

          at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:67)

          at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.init(FilterDispatcher.java:39)

          at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:593)

          at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)

          at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)

          at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513)

          at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)

          at org.jboss.errai.cdi.server.gwt.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:486)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)

          at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:115)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)

          at org.mortbay.jetty.Server.doStart(Server.java:222)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.jboss.errai.cdi.server.gwt.JettyLauncher.start(JettyLauncher.java:692)

          at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)

          at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1068)

          at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:811)

          at com.google.gwt.dev.DevMode.main(DevMode.java:311)

      Caused by: java.lang.RuntimeException: critical problem loading the marshallers

          at org.jboss.errai.marshalling.server.MappingContextSingleton.<clinit>(MappingContextSingleton.java:78)

          ... 35 more

      Caused by: java.lang.NullPointerException: no outer marshaller specified for: java.lang.String

          at org.jboss.errai.common.client.framework.Assert.notNull(Assert.java:41)

          at org.jboss.errai.marshalling.server.marshallers.DefaultArrayMarshaller.<init>(DefaultArrayMarshaller.java:38)

          at org.jboss.errai.marshalling.server.MappingContextSingleton$3.addArrayMarshaller(MappingContextSingleton.java:228)

          at org.jboss.errai.marshalling.server.MappingContextSingleton$3.<init>(MappingContextSingleton.java:203)

          at org.jboss.errai.marshalling.server.MappingContextSingleton.loadDynamicMarshallers(MappingContextSingleton.java:152)

          at org.jboss.errai.marshalling.server.MappingContextSingleton.<clinit>(MappingContextSingleton.java:73)

          ... 35 more

         [WARN] Nested in java.lang.ExceptionInInitializerError:

      java.lang.RuntimeException: critical problem loading the marshallers

          at org.jboss.errai.marshalling.server.MappingContextSingleton.<clinit>(MappingContextSingleton.java:78)

          at org.jboss.errai.jaxrs.ErraiProvider.<clinit>(ErraiProvider.java:49)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

          at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

          at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:132)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.getProviderInstance(ResteasyProviderFactory.java:1084)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.addMessageBodyReader(ResteasyProviderFactory.java:478)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:802)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:788)

          at org.jboss.resteasy.spi.ResteasyDeployment.registerProvider(ResteasyDeployment.java:505)

          at org.jboss.resteasy.spi.ResteasyDeployment.registration(ResteasyDeployment.java:305)

          at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:225)

          at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:67)

          at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.init(FilterDispatcher.java:39)

          at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:593)

          at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)

          at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)

          at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513)

          at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)

          at org.jboss.errai.cdi.server.gwt.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:486)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)

          at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:115)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)

          at org.mortbay.jetty.Server.doStart(Server.java:222)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.jboss.errai.cdi.server.gwt.JettyLauncher.start(JettyLauncher.java:692)

          at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)

          at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1068)

          at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:811)

          at com.google.gwt.dev.DevMode.main(DevMode.java:311)

      Caused by: java.lang.NullPointerException: no outer marshaller specified for: java.lang.String

          at org.jboss.errai.common.client.framework.Assert.notNull(Assert.java:41)

          at org.jboss.errai.marshalling.server.marshallers.DefaultArrayMarshaller.<init>(DefaultArrayMarshaller.java:38)

          at org.jboss.errai.marshalling.server.MappingContextSingleton$3.addArrayMarshaller(MappingContextSingleton.java:228)

          at org.jboss.errai.marshalling.server.MappingContextSingleton$3.<init>(MappingContextSingleton.java:203)

          at org.jboss.errai.marshalling.server.MappingContextSingleton.loadDynamicMarshallers(MappingContextSingleton.java:152)

          at org.jboss.errai.marshalling.server.MappingContextSingleton.<clinit>(MappingContextSingleton.java:73)

          ... 35 more

         [WARN] Error starting handlers

      java.lang.ExceptionInInitializerError

          at org.jboss.errai.jaxrs.ErraiProvider.<clinit>(ErraiProvider.java:49)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

          at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

          at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:132)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.getProviderInstance(ResteasyProviderFactory.java:1084)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.addMessageBodyReader(ResteasyProviderFactory.java:478)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:802)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:788)

          at org.jboss.resteasy.spi.ResteasyDeployment.registerProvider(ResteasyDeployment.java:505)

          at org.jboss.resteasy.spi.ResteasyDeployment.registration(ResteasyDeployment.java:305)

          at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:225)

          at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:67)

          at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.init(FilterDispatcher.java:39)

          at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:593)

          at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)

          at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)

          at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513)

          at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)

          at org.jboss.errai.cdi.server.gwt.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:486)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)

          at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:115)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)

          at org.mortbay.jetty.Server.doStart(Server.java:222)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.jboss.errai.cdi.server.gwt.JettyLauncher.start(JettyLauncher.java:692)

          at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)

          at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1068)

          at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:811)

          at com.google.gwt.dev.DevMode.main(DevMode.java:311)

      Caused by: java.lang.RuntimeException: critical problem loading the marshallers

          at org.jboss.errai.marshalling.server.MappingContextSingleton.<clinit>(MappingContextSingleton.java:78)

          ... 35 more

      Caused by: java.lang.NullPointerException: no outer marshaller specified for: java.lang.String

          at org.jboss.errai.common.client.framework.Assert.notNull(Assert.java:41)

          at org.jboss.errai.marshalling.server.marshallers.DefaultArrayMarshaller.<init>(DefaultArrayMarshaller.java:38)

          at org.jboss.errai.marshalling.server.MappingContextSingleton$3.addArrayMarshaller(MappingContextSingleton.java:228)

          at org.jboss.errai.marshalling.server.MappingContextSingleton$3.<init>(MappingContextSingleton.java:203)

          at org.jboss.errai.marshalling.server.MappingContextSingleton.loadDynamicMarshallers(MappingContextSingleton.java:152)

          at org.jboss.errai.marshalling.server.MappingContextSingleton.<clinit>(MappingContextSingleton.java:73)

          ... 35 more

         [WARN] Nested in java.lang.ExceptionInInitializerError:

      java.lang.RuntimeException: critical problem loading the marshallers

          at org.jboss.errai.marshalling.server.MappingContextSingleton.<clinit>(MappingContextSingleton.java:78)

          at org.jboss.errai.jaxrs.ErraiProvider.<clinit>(ErraiProvider.java:49)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

          at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

          at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:132)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.getProviderInstance(ResteasyProviderFactory.java:1084)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.addMessageBodyReader(ResteasyProviderFactory.java:478)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:802)

          at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:788)

          at org.jboss.resteasy.spi.ResteasyDeployment.registerProvider(ResteasyDeployment.java:505)

          at org.jboss.resteasy.spi.ResteasyDeployment.registration(ResteasyDeployment.java:305)

          at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:225)

          at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:67)

          at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.init(FilterDispatcher.java:39)

          at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:593)

          at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)

          at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)

          at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513)

          at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)

          at org.jboss.errai.cdi.server.gwt.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:486)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)

          at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:115)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)

          at org.mortbay.jetty.Server.doStart(Server.java:222)

          at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)

          at org.jboss.errai.cdi.server.gwt.JettyLauncher.start(JettyLauncher.java:692)

          at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)

          at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1068)

          at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:811)

          at com.google.gwt.dev.DevMode.main(DevMode.java:311)

      Caused by: java.lang.NullPointerException: no outer marshaller specified for: java.lang.String

          at org.jboss.errai.common.client.framework.Assert.notNull(Assert.java:41)

          at org.jboss.errai.marshalling.server.marshallers.DefaultArrayMarshaller.<init>(DefaultArrayMarshaller.java:38)

          at org.jboss.errai.marshalling.server.MappingContextSingleton$3.addArrayMarshaller(MappingContextSingleton.java:228)

          at org.jboss.errai.marshalling.server.MappingContextSingleton$3.<init>(MappingContextSingleton.java:203)

          at org.jboss.errai.marshalling.server.MappingContextSingleton.loadDynamicMarshallers(MappingContextSingleton.java:152)

          at org.jboss.errai.marshalling.server.MappingContextSingleton.<clinit>(MappingContextSingleton.java:73)

          ... 35 more