Created attachment 802103 [details] server.log Description of problem: If you create new project and GUI try to open Project Screen then Error alert is shown Version-Release number of selected component (if applicable): 6.0.0 ER3, BPMS How reproducible: Steps to Reproduce: 1. run BPMS server on ibm distribution of java (1.6 or 1.7) 2. open business-central on your browser 3. create new repository "myRepo" 4. create new project "myProject" Actual results: --------------- Error alert: Unable to complete your request. The following exception occurred: org.kie.scanner.embedder.MavenEmbedderException: java.util.NoSuchElementException role: org.apache.maven.execution.MavenExecutionRequestPopulator roleHint: Exception in server.log (is attached) Loading of Project screen freeze Expected results: Open Project Screen without any problem. Additional info:
Mario, the stack trace suggests this could be a general problem with building Kie Projects with an IBM JRE. Would you mind confirming your KieBuilder tests work with such a JRE (before we look at BPMS/BRMS specifically)? Thanks.
Yes it's a general problem because I get the same exception via REST API when I install a project. Here is part of my stacktrace: [2013-09-26 20:27:07,896] INFO - Installing project 'integration' from repo 'bpms-assets' [2013-09-26 20:27:08,198] ERROR- Bad entity: [<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <response> <status>FAILURE</status> <url>/business-central/rest/repositories/bpms-assets/projects/integration/maven/install</url> <error>org.kie.scanner.embedder.MavenEmbedderException: java.util.NoSuchElementException role: org.apache.maven.execution.MavenExecutionRequestPopulator roleHint: </error> <stackTrace>org.guvnor.common.services.shared.exceptions.GenericPortableException: org.kie.scanner.embedder.MavenEmbedderException: java.util.NoSuchElementException role: org.apache.maven.execution.MavenExecutionRequestPopulator roleHint: at org.guvnor.common.services.backend.exceptions.ExceptionUtilities.handleException(ExceptionUtilities.java:24) at org.guvnor.common.services.builder.BuildServiceImpl.buildAndDeploy(BuildServiceImpl.java:114) at org.guvnor.common.services.builder.BuildServiceImpl$Proxy$_$$_WeldClientProxy.buildAndDeploy(BuildServiceImpl$Proxy$_$$_WeldClientProxy.java) at org.kie.workbench.common.services.rest.ProjectResourceDispatcher.installProject(ProjectResourceDispatcher.java:274)
This is a nice-to-have for community, but required for product.
Created attachment 807493 [details] Error screenshot This screenshot illustrates how the issue manifests in UI.
Increasing priority of 'TestBlocker' to 'high'
Fixed by https://github.com/droolsjbpm/drools/commit/ff7e0c620
I have still the same problem on BPMS 6.0.0.ER7. I got the NoSuchElementException just after I logged in but also I got it after I created a new project as I followed the reproduce steps. I will attach server log and screenshot.
Created attachment 849931 [details] server log on BPMS 6.0.0.ER7 I will not attach my screenshot because it is the same as the Error screenshot already there.
Fixed by https://github.com/droolsjbpm/drools/commit/298b3eb17
Cherry-picked into 6.0.0.GA.x for the 6.0.0.CR2 release: (6.0.0.GA.x) : https://github.com/droolsjbpm/drools/commit/4b3b175 For completeness, here is the link to 6.0.x commit: (6.0.x) : https://github.com/droolsjbpm/drools/commit/e34bcc1
Business Central UI tests are no longer blocked by this and are passing on Jenkins with both Java 6 and 7.
In which case, VERIFIED with CR2.