| Summary: | HR process build failing | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Roger Martínez <romartin> | ||||
| Component: | Business Central | Assignee: | manstis | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Tomas David <tdavid> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 6.0.0 | CC: | etirelli, rrajasek | ||||
| Target Milestone: | ER5 | ||||||
| Target Release: | 6.0.0 | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-08-06 20:19:06 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
A number of questions. (1) What steps are you actually completing? You state you clicked "Build & Deploy" however the log shows an incremental compilation that happens when you save a file; not "Build & Deploy" a project. What did you actually do? (2) I tried to open the "hiring" process with jBPM Designer however it complained the process file was invalid. I also noticed a number for additional log entries for "non-viable character '/'" (or similar). Could relate to an invalid process file? Thanks, Mike I can replicate the error with kie-wb:- 09:36:50,523 INFO [org.guvnor.common.services.builder.ResourceChangeIncrementalBuilder] (pool-29-thread-2) Incremental build request being processed: default://master@jbpm/HR/project.imports (updated). 09:36:50,659 ERROR [org.guvnor.common.services.builder.ResourceChangeIncrementalBuilder] (pool-29-thread-2) String index out of range: -3: org.guvnor.common.services.shared.exceptions.GenericPortableException: String index out of range: -3 at org.guvnor.common.services.backend.exceptions.ExceptionUtilities.handleException(ExceptionUtilities.java:24) [guvnor-services-api-6.1.0-SNAPSHOT.jar:6.1.0-SNAPSHOT] at org.guvnor.common.services.builder.BuildServiceImpl.updatePackageResource(BuildServiceImpl.java:192) [guvnor-project-builder-6.1.0-SNAPSHOT.jar:6.1.0-SNAPSHOT] at org.guvnor.common.services.builder.BuildServiceImpl$Proxy$_$$_WeldClientProxy.updatePackageResource(BuildServiceImpl$Proxy$_$$_WeldClientProxy.java) [guvnor-project-builder-6.1.0-SNAPSHOT.jar:6.1.0-SNAPSHOT] at org.guvnor.common.services.builder.ResourceChangeIncrementalBuilder$4.run(ResourceChangeIncrementalBuilder.java:242) [guvnor-project-builder-6.1.0-SNAPSHOT.jar:6.1.0-SNAPSHOT] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [rt.jar:1.6.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [rt.jar:1.6.0_45] at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_45] Looks like project.imports is causing the problem... investigating. Hi Mike, About (1): I just clicked "Build&Deploy" and then a popup appears. This popup allows to save the project, and I saved it... so it's probably that the problem can be on save operation rather than build. About (2): I don't remember right now if the process open without error, but I'm quite sure that it opened as well. Anyway, the additional log entries (non-viable character '/') always appear... it's not a new issue. So I might not be the problem... See you on IRC ;) This was a problem within KieBuilderImpl for resources that were not inside a package (i.e. "<project-root>/project.imports" in this case). Mario made KieBuilderImpl more robust and we filter non-package resources from incremental builds. The project was successfully building, so the message remained correct; but incremental build failed. Anyway.. fixed now. Verified on BPMS 6.0.0.ER5. |
Created attachment 816932 [details] HR Process definition Description of problem: Build&deploy operation for HR process fails and the user feedback message diplays "Build&deploy successfull" (incorrect). Version-Release number of selected component (if applicable): 6.1.0-SNAPSHOT (build 28oct 2013) How reproducible: Steps to Reproduce: 1. Select jbpm-playground repo and HR process in project explorer 2. Click on Build&Deploy 3. An exception is thrown (see log) but user message says it's correct. Actual results: Expected results: Additional info: The exception is: 22:45:14,760 ERROR [org.guvnor.common.services.builder.ResourceChangeIncrementalBuilder] (pool-13-thread-2) String index out of range: -3: org.guvnor.common.services.shared.exceptions.GenericPortableException: String index out of range: -3 at org.guvnor.common.services.backend.exceptions.ExceptionUtilities.handleException(ExceptionUtilities.java:24) [guvnor-services-api-6.1.0-SNAPSHOT.jar:6.1.0-SNAPSHOT] at org.guvnor.common.services.builder.BuildServiceImpl.updatePackageResource(BuildServiceImpl.java:190) [guvnor-project-builder-6.1.0-SNAPSHOT.jar:6.1.0-SNAPSHOT] at org.guvnor.common.services.builder.BuildServiceImpl$Proxy$_$$_WeldClientProxy.updatePackageResource(BuildServiceImpl$Proxy$_$$_WeldClientProxy.java) [guvnor-project-builder-6.1.0-SNAPSHOT.jar:6.1.0-SNAPSHOT] at org.guvnor.common.services.builder.ResourceChangeIncrementalBuilder$4.run(ResourceChangeIncrementalBuilder.java:237) [guvnor-project-builder-6.1.0-SNAPSHOT.jar:6.1.0-SNAPSHOT] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_40] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_40] at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_40]