0 Replies Latest reply on Nov 29, 2018 2:30 AM by Futoshi YOSHIZAKI

    BusinessCentral JGit's branch name can't contain "/"(slash)

    Futoshi YOSHIZAKI Newbie

      I create feature branch in Git Hosting Service's repository.

      The branch's name is feature/brnchtest01.

       

      Then I push the branch to Business Central's JGit repository as follows.

      --------------------------------------------------------------------------------------------------------------

      1) git branch feature/brnchtest01 origin/feature/brnchtest01

      2) git checkout feature/brnchtest01

      3) git push originBCPD

      Password authentication

      Password:

      Total 0 (delta 0), reused 0 (delta 0)

      remote: Updating references: 100% (1/1)

      To ssh://localhost:8001/TrialSpace/kie-mod-repotest2

        * [new branch]      feature/brnchtest01 -> feature/brnchtest01

      -------------------------------------------------------------------------------------------------------------

       

      However, the branch's name in BusinessCentral JGit is feature(removed right characters from "/").

      And, When I checkouted the branch at Business Central, the follow error occured.

       

      An unexpected error happenend,

       

       

      {"ToSubject":"org.kie.workbench.common.screens.projecteditor.service.ProjectScreenService:RPC",
      CommandType:"load:org.uberfire.backend.vfs.Path:",
      Qualifiers:{"^EncodedType":"java.util.ArrayList",
      ^ObjectID:"1",
      ^Value:[]},
      ReplyTo:"org.kie.workbench.common.screens.projecteditor.service.ProjectScreenService:RPC.load:org.uberfire.backend.vfs.Path::201:RespondTo:RPC",
      ErrorTo:"org.kie.workbench.common.screens.projecteditor.service.ProjectScreenService:RPC.load:org.uberfire.backend.vfs.Path::201:Errors:RPC",
      AdditionalDetails:"<tt><br\/>
      org.jboss.errai.bus.client.api.base.MessageDeliveryFailure: error invoking RPC endpoint public abstract org.kie.workbench.common.screens.projecteditor.model.ProjectScreenModel org.kie.workbench.common.screens.projecteditor.service.ProjectScreenService.load(org.uberfire.backend.vfs.Path)<br\/>
          at org.jboss.errai.bus.server.io.AbstractRPCMethodCallback.invokeMethodFromMessage(AbstractRPCMethodCallback.java:75)<br\/>
          at org.jboss.errai.bus.server.io.ValueReplyRPCEndpointCallback.callback(ValueReplyRPCEndpointCallback.java:40)<br\/>
          at org.jboss.errai.bus.server.io.RemoteServiceCallback.callback(RemoteServiceCallback.java:54)<br\/>
          at org.jboss.errai.cdi.server.CDIExtensionPoints$2.callback(CDIExtensionPoints.java:448)<br\/>
          at org.jboss.errai.bus.server.DeliveryPlan.deliver(DeliveryPlan.java:47)<br\/>
          at org.jboss.errai.bus.server.ServerMessageBusImpl.sendGlobal(ServerMessageBusImpl.java:297)<br\/>
          at org.jboss.errai.bus.server.SimpleDispatcher.dispatchGlobal(SimpleDispatcher.java:46)<br\/>
          at org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:96)<br\/>
          at org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:113)<br\/>
          at org.jboss.errai.bus.server.servlet.DefaultBlockingServlet.doPost(DefaultBlockingServlet.java:144)<br\/>
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)<br\/>
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)<br\/>
          at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)<br\/>
          at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)<br\/>
          at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:130)<br\/>
          at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)<br\/>
          at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)<br\/>
          at org.uberfire.ext.security.server.SecureHeadersFilter.doFilter(SecureHeadersFilter.java:110)<br\/>
          at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)<br\/>
          at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)<br\/>
          at org.uberfire.ext.security.server.SecurityIntegrationFilter.doFilter(SecurityIntegrationFilter.java:70)<br\/>
          at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)<br\/>
          at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)<br\/>
          at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)<br\/>
          at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)<br\/>
          at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:65)<br\/>
          at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)<br\/>
          at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)<br\/>
          at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br\/>
          at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)<br\/>
          at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)<br\/>
          at io.undertow.server.handlers.DisableCacheHandler.handleRequest(DisableCacheHandler.java:33)<br\/>
          at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br\/>
          at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:53)<br\/>
          at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)<br\/>
          at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)<br\/>
          at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:59)<br\/>
          at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)<br\/>
          at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)<br\/>
          at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)<br\/>
          at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)<br\/>
          at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br\/>
          at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)<br\/>
          at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br\/>
          at org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68)<br\/>
          at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br\/>
          at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)<br\/>
          at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)<br\/>
          at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)<br\/>
          at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)<br\/>
          at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)<br\/>
          at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)<br\/>
          at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)<br\/>
          at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1501)<br\/>
          at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1501)<br\/>
          at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1501)<br\/>
          at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1501)<br\/>
          at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)<br\/>
          at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)<br\/>
          at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)<br\/>
          at io.undertow.server.Connectors.executeRootHandler(Connectors.java:330)<br\/>
          at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:812)<br\/>
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)<br\/>
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)<br\/>
          at java.lang.Thread.run(Thread.java:748)<br\/>
      Caused by: java.lang.NullPointerException: <No Message><br\/>
          at org.guvnor.common.services.project.backend.server.WorkspaceProjectServiceImpl.resolveBranch(WorkspaceProjectServiceImpl.java:272)<br\/>
          at org.guvnor.common.services.project.backend.server.WorkspaceProjectServiceImpl.resolveProject(WorkspaceProjectServiceImpl.java:251)<br\/>
          at org.guvnor.common.services.project.backend.server.WorkspaceProjectServiceImpl.lambda$resolveProject$1(WorkspaceProjectServiceImpl.java:264)<br\/>
          at java.util.Optional.map(Optional.java:215)<br\/>
          at org.guvnor.common.services.project.backend.server.WorkspaceProjectServiceImpl.resolveProject(WorkspaceProjectServiceImpl.java:264)<br\/>
          at org.kie.workbench.common.screens.projecteditor.backend.server.ProjectScreenModelLoader$Loader.loadGitURLs(ProjectScreenModelLoader.java:117)<br\/>
          at org.kie.workbench.common.screens.projecteditor.backend.server.ProjectScreenModelLoader$Loader.load(ProjectScreenModelLoader.java:96)<br\/>
          at org.kie.workbench.common.screens.projecteditor.backend.server.ProjectScreenModelLoader.load(ProjectScreenModelLoader.java:74)<br\/>
          at org.kie.workbench.common.screens.projecteditor.backend.server.ProjectScreenServiceImpl.load(ProjectScreenServiceImpl.java:76)<br\/>
          at org.kie.workbench.common.screens.projecteditor.backend.server.ProjectScreenServiceImpl$Proxy$_$$_WeldClientProxy.load(Unknown Source)<br\/>
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br\/>
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br\/>
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br\/>
          at java.lang.reflect.Method.invoke(Method.java:498)<br\/>
          at org.jboss.errai.bus.server.io.AbstractRPCMethodCallback.invokeMethodFromMessage(AbstractRPCMethodCallback.java:65)<br\/>
          at org.jboss.errai.bus.server.io.ValueReplyRPCEndpointCallback.callback(ValueReplyRPCEndpointCallback.java:40)<br\/>
          at org.jboss.errai.bus.server.io.RemoteServiceCallback.callback(RemoteServiceCallback.java:54)<br\/>
          at org.jboss.errai.cdi.server.CDIExtensionPoints$2.callback(CDIExtensionPoints.java:448)<br\/>
          at org.jboss.errai.bus.server.DeliveryPlan.deliver(DeliveryPlan.java:47)<br\/>
          at org.jboss.errai.bus.server.ServerMessageBusImpl.sendGlobal(ServerMessageBusImpl.java:297)<br\/>
          at org.jboss.errai.bus.server.SimpleDispatcher.dispatchGlobal(SimpleDispatcher.java:46)<br\/>
          at org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:96)<br\/>
          at org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:113)<br\/>
          at org.jboss.errai.bus.server.servlet.DefaultBlockingServlet.doPost(DefaultBlockingServlet.java:144)<br\/>
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)<br\/>
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)<br\/>
          at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)<br\/>
          at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)<br\/>
          at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:130)<br\/>
          at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)<br\/>
          at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)<br\/>
          at org.uberfire.ext.security.server.SecureHeadersFilter.doFilter(SecureHeadersFilter.java:110)<br\/>
          at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)<br\/>
          at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)<br\/>
          at org.uberfire.ext.security.server.SecurityIntegrationFilter.doFilter(SecurityIntegrationFilter.java:70)<br\/>
          at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)<br\/>
          at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)<br\/>
          at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)<br\/>
          at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)<br\/>
          at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:65)<br\/>
          at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)<br\/>
          at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)<br\/>
          at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br\/>
          at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)<br\/>
          at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)<br\/>
          at io.undertow.server.handlers.DisableCacheHandler.handleRequest(DisableCacheHandler.java:33)<br\/>
          at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br\/>
          at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:53)<br\/>
          at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)<br\/>
          at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)<br\/>
          at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:59)<br\/>
          at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)<br\/>
          at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)<br\/>
          at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)<br\/>
          at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)<br\/>
          at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br\/>
          at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)<br\/>
          at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br\/>
          at org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68)<br\/>
          at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)<br\/>
          at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)<br\/>
          at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)<br\/>
          at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)<br\/>
          at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)<br\/>
          at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)<br\/>
          at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)<br\/>
          at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)<br\/>
          at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1501)<br\/>
          at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1501)<br\/>
          at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1501)<br\/>
          at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1501)<br\/>
          at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)<br\/>
          at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)<br\/>
          at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)<br\/>
          at io.undertow.server.Connectors.executeRootHandler(Connectors.java:330)<br\/>
          at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:812)<br\/>
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)<br\/>
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)<br\/>
          at java.lang.Thread.run(Thread.java:748)<br\/>
      <\/tt>"} | Uncaught exception: null

       

      The branch name(branchType/branch Name) is usual in Git Hosting Service(e.g. GitHub or BitBucket ... and so on).

      I guess that error is bug in RedHat Process Automation Manager/jBPM.