1 Reply Latest reply on Oct 27, 2013 6:31 PM by Tim McClure

    JBPM Form Builder GWT:Run Issue

    Tim McClure Apprentice

      Using the latest SNAPSHOT the jbpm form builder builds without any errors but I receive the error below when I try to start the showcase with GWT:Run.  I am developing on Windows 7 - not sure this is an issue with the code or my environment.

       

              0:00:06.239 [WARN] Failed startup of context org.jboss.errai.cdi.server.gwt.JettyLauncher$WebAppContextWithReload@2a371188{/,C:\jbpm-form-modeler-master\jbpm-form-modeler-showcase\target\jbpm-form-modeler-showcase-6.1.0-SNAPSHOT} 

      org.jboss.weld.exceptions.DeploymentException: Exception List with 1 exceptions:
      Exception 0 :
      org.jboss.weld.exceptions.WeldException: WELD-000049 Unable to invoke [method] @PostConstruct public org.jbpm.formModeler.server.impl.AppSetup.onStartup() on org.jbpm.formModeler.server.impl.AppSetup@6c41d224
           at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:404)
           at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.postConstruct(ManagedBean.java:178)
           at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:298)
           at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:103)
           at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:90)
           at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:79)
           at org.jbpm.formModeler.server.impl.AppSetup$Proxy$_$$_WeldClientProxy.toString(AppSetup$Proxy$_$$_WeldClientProxy.java)
           at org.uberfire.commons.services.cdi.StartupBeanExtension.runPostConstruct(StartupBeanExtension.java:83)
           at org.uberfire.commons.services.cdi.StartupBeanExtension.afterDeploymentValidation(StartupBeanExtension.java:67)
           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 org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267)
           at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)
           at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137)
           at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263)
           at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:170)
           at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:51)
           at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:154)
           at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:245)
           at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:233)
           at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:213)
           at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:75)
           at org.jboss.weld.bootstrap.events.AbstractDeploymentContainerEvent.fire(AbstractDeploymentContainerEvent.java:46)
           at org.jboss.weld.bootstrap.events.AfterDeploymentValidationImpl.fire(AfterDeploymentValidationImpl.java:31)
           at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:382)
           at org.jboss.weld.environment.servlet.Listener.contextInitialized(Listener.java:182)
           at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:543)
           at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
           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:525)
           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:738)
           at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)
           at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1093)
           at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:836)
           at com.google.gwt.dev.DevMode.main(DevMode.java:311)
      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 org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267)
           at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)
           at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137)
           at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263)
           at org.jboss.weld.introspector.jlr.WeldMethodImpl.invoke(WeldMethodImpl.java:174)
           at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:402)
           ... 45 more
      Caused by: java.lang.RuntimeException: Error when starting Form Modeler WELD-000049 Unable to invoke [method] @PostConstruct public org.uberfire.backend.server.repositories.RepositoryServiceImpl.loadRepositories() on org.uberfire.backend.server.repositories.RepositoryServiceImpl@cd195de
           at org.jbpm.formModeler.server.impl.AppSetup.onStartup(AppSetup.java:99)
           ... 55 more
      Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049 Unable to invoke [method] @PostConstruct public org.uberfire.backend.server.repositories.RepositoryServiceImpl.loadRepositories() on org.uberfire.backend.server.repositories.RepositoryServiceImpl@cd195de
           at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:404)
           at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.postConstruct(ManagedBean.java:178)
           at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:298)
           at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:103)
           at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:90)
           at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:79)
           at org.uberfire.backend.server.repositories.RepositoryServiceImpl$Proxy$_$$_WeldClientProxy.getRepository(RepositoryServiceImpl$Proxy$_$$_WeldClientProxy.java)
           at org.jbpm.formModeler.server.impl.AppSetup.onStartup(AppSetup.java:59)
           ... 55 more
      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 org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267)
           at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)
           at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137)
           at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263)
           at org.jboss.weld.introspector.jlr.WeldMethodImpl.invoke(WeldMethodImpl.java:174)
           at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:402)
           ... 62 more
      Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049 Unable to invoke [method] @PostConstruct public org.uberfire.backend.server.config.ConfigurationServiceImpl.setup() on org.uberfire.backend.server.config.ConfigurationServiceImpl@2d68174c
           at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:404)
           at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.postConstruct(ManagedBean.java:178)
           at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:298)
           at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:103)
           at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:90)
           at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:79)
           at org.uberfire.backend.server.config.ConfigurationServiceImpl$Proxy$_$$_WeldClientProxy.getConfiguration(ConfigurationServiceImpl$Proxy$_$$_WeldClientProxy.java)
           at org.uberfire.backend.server.repositories.RepositoryServiceImpl.loadRepositories(RepositoryServiceImpl.java:63)
           ... 72 more
      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 org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267)
           at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)
           at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137)
           at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263)
           at org.jboss.weld.introspector.jlr.WeldMethodImpl.invoke(WeldMethodImpl.java:174)
           at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:402)
           ... 79 more
      Caused by: java.util.ServiceConfigurationError: org.uberfire.java.nio.file.spi.FileSystemProvider: Provider org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider could not be instantiated: org.uberfire.java.nio.IOException: java.net.BindException: Address already in use: JVM_Bind
           at java.util.ServiceLoader.fail(ServiceLoader.java:224)
           at java.util.ServiceLoader.access$100(ServiceLoader.java:181)
           at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:377)
           at java.util.ServiceLoader$1.next(ServiceLoader.java:445)
           at org.uberfire.java.nio.file.api.FileSystemProviders$FileSystemProvidersHolder.buildProviders(FileSystemProviders.java:52)
           at org.uberfire.java.nio.file.api.FileSystemProviders$FileSystemProvidersHolder.<clinit>(FileSystemProviders.java:42)
           at org.uberfire.java.nio.file.api.FileSystemProviders.getProvider(FileSystemProviders.java:99)
           at org.uberfire.java.nio.file.api.FileSystemProviders.resolveProvider(FileSystemProviders.java:92)
           at org.uberfire.java.nio.file.FileSystems.newFileSystem(FileSystems.java:117)
           at org.uberfire.java.nio.file.FileSystems.newFileSystem(FileSystems.java:83)
           at org.uberfire.io.impl.AbstractIOService.newFileSystem(AbstractIOService.java:232)
           at org.uberfire.backend.server.config.ConfigurationServiceImpl.setup(ConfigurationServiceImpl.java:75)
           ... 89 more
      Caused by: org.uberfire.java.nio.IOException: java.net.BindException: Address already in use: JVM_Bind
           at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.buildAndStartDaemon(JGitFileSystemProvider.java:345)
           at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.<init>(JGitFileSystemProvider.java:275)
           at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
           at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
           at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
           at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
           at java.lang.Class.newInstance(Class.java:374)
           at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:373)
           ... 98 more
      Caused by: java.net.BindException: Address already in use: JVM_Bind
           at java.net.DualStackPlainSocketImpl.bind0(Native Method)
           at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106)
           at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)
           at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:190)
           at java.net.ServerSocket.bind(ServerSocket.java:376)
           at java.net.ServerSocket.<init>(ServerSocket.java:237)
           at org.uberfire.java.nio.fs.jgit.util.Daemon.start(Daemon.java:249)
           at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.buildAndStartDaemon(JGitFileSystemProvider.java:343)
           ... 105 more

           at org.jboss.weld.bootstrap.events.AbstractDeploymentContainerEvent.fire(AbstractDeploymentContainerEvent.java:48)
           at org.jboss.weld.bootstrap.events.AfterDeploymentValidationImpl.fire(AfterDeploymentValidationImpl.java:31)
           at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:382)
           at org.jboss.weld.environment.servlet.Listener.contextInitialized(Listener.java:182)
           at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:543)
           at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
           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:525)
           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:738)
           at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)
           at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1093)
           at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:836)
           at com.google.gwt.dev.DevMode.main(DevMode.java:311)