Bug 1069174
| Summary: | Cannot access task not assigned to any process via REST API | ||
|---|---|---|---|
| Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Tomas Livora <tlivora> |
| Component: | Business Central | Assignee: | Marco Rietveld <mrietvel> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Tomas Livora <tlivora> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.0.1 | CC: | kverlaen, mbiarnes, rrajasek, smcgowan, tlivora |
| Target Milestone: | CR1 | ||
| Target Release: | 6.0.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-08-06 20:03:41 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: | |
| Embargoed: | |||
|
Description
Tomas Livora
2014-02-24 12:06:41 UTC
Tomas, which operation produced the stack trace? Marco, I've already mentioned it in Steps to reproduce. This stack trace was produced by calling GET on http://localhost:8080/business-central/rest/task/2. It is not a problem when you call it on a task that is a part of any process but in this case it returns NullPointerException. The result is exactly the same when you call release or complete on such a task (assuming its status is InProgress for this example). Tomas, sorry for the dumb question: I've been juggling too many issues recently. :/ I've actually already "accidentally" fixed this issue with a recent "clean-up" commit. See these changes: https://github.com/droolsjbpm/droolsjbpm-integration/commit/2a2b2346#diff-0022a35b5ce02580334d2fa1140f3f3dL164 https://github.com/droolsjbpm/droolsjbpm-integration/commit/2a2b2346#diff-cbe41870ff97498cdd0a09351a2e5edbL123 Commits: 6.0.x: https://github.com/droolsjbpm/droolsjbpm-integration/commit/2a2b2346 master: https://github.com/droolsjbpm/droolsjbpm-integration/commit/eef36349 The bug is not fixed in BPMS 6.0.1 ER2. It is now possible to get task content but when you try to claim, start, complete or release the task there is still response with status code 500 (Internal Server Error) and NullPointerException. Fixed. Commits: 6.0.x: https://github.com/droolsjbpm/droolsjbpm-integration/commit/dad7e3d5 master: https://github.com/droolsjbpm/droolsjbpm-integration/commit/1dc1adc3 Ticket cherry-picked into 6.0.1.CR1. Commit: 4247cd07259f2e8355b08f7fd6f1d0db61332c80 Verified on BPMS 6.0.1 CR1 |