Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-685

[Project Oriented] Maven rest commands do not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • REST API
    • 2017 Week 45-46, 2017 Week 47-48, 2017 Week 49-50, 2017 Week 51-52, 2018 Week 01-02, 2018 Week 03-04, 2018 Week 05-06, 2018 Week 07-08, 2018 Week 09-10
    • NEW
    • NEW

      Maven rest commands (deploy, test, compile) do not work. Server throws exception.

      Server log:
      12:28:26,677 ERROR [org.guvnor.rest.backend.cmd.AbstractJobCommand] (testadmin) DeployProjectRequest [1507631306676-10] failed because of thrown ContextNotActiveException: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped: org.jboss.weld.context.ContextNotActiveException: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped
      at org.jboss.weld.manager.BeanManagerImpl.getContext(BeanManagerImpl.java:689)
      at org.jboss.weld.bean.ContextualInstanceStrategy$DefaultContextualInstanceStrategy.getIfExists(ContextualInstanceStrategy.java:90)
      at org.jboss.weld.bean.ContextualInstanceStrategy$CachingContextualInstanceStrategy.getIfExists(ContextualInstanceStrategy.java:165)
      at org.jboss.weld.bean.ContextualInstance.getIfExists(ContextualInstance.java:63)
      at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:83)
      at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:99)
      at org.uberfire.rpc.SessionInfo$1143114360$Proxy$_$$_WeldClientProxy.getIdentity(Unknown Source)
      at org.guvnor.structure.backend.organizationalunit.OrganizationalUnitServiceImpl.getOrganizationalUnits(OrganizationalUnitServiceImpl.java:126)
      at org.guvnor.structure.backend.organizationalunit.OrganizationalUnitServiceImpl$Proxy$_$$_WeldClientProxy.getOrganizationalUnits(Unknown Source)
      at org.guvnor.common.services.project.backend.server.ProjectServiceImpl.getAllProjects(ProjectServiceImpl.java:77)
      at org.guvnor.common.services.project.backend.server.ProjectServiceImpl.resolveProject(ProjectServiceImpl.java:155)
      at org.guvnor.rest.backend.JobRequestHelper.deployProject(JobRequestHelper.java:381)
      at org.guvnor.rest.backend.JobRequestHelper$Proxy$_$$_WeldClientProxy.deployProject(Unknown Source)
      at org.guvnor.rest.backend.cmd.DeployProjectCmd.internalExecute(DeployProjectCmd.java:44)
      at org.guvnor.rest.backend.cmd.AbstractJobCommand.run(AbstractJobCommand.java:93)
      at org.uberfire.backend.server.cdi.workspace.WorkspaceExecutorService.lambda$generateRunnable$0(WorkspaceExecutorService.java:135)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)

              trikkola Toni Rikkola
              tdavid@redhat.com Tomas David
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: