Bug 1035849

Summary: SwitchYardTestKit throws NPE when it depends on BPEL component
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Andrej Podhradsky <apodhrad>
Component: SwitchYardAssignee: tcunning
Status: MODIFIED --- QA Contact: Matej Melko <mmelko>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: rcernich, soa-p-jira, tcunning
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
If you add the switchyard-component-bpel dependency to a service, the SwitchYardTestKit throws a null-pointer exception. To work around this, you need to add bpel.properties.
Story Points: ---
Clone Of: Environment:
Last Closed: 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:
Attachments:
Description Flags
Project example none

Description Andrej Podhradsky 2013-11-28 15:58:55 UTC
Description of problem:
When I add a switchyard-component-bpel dependency, the SwitchYardTestKit throws NPE. By removing this dependency everything works fine.

Now, I see that I need bpel.properties. But this fact should be mentioned in exception message. Btw why bpel settings are needed if I don't test bpel? (in my case, the bpel dependency was added by mistake)

Version-Release number of selected component (if applicable):
ER6

How reproducible:
always

Comment 1 Andrej Podhradsky 2014-10-30 11:57:29 UTC
Created attachment 952069 [details]
Project example

Comment 2 Andrej Podhradsky 2014-10-30 11:58:28 UTC
In the attached project example try to remove (or rename) bpel.properties

Comment 3 tcunning 2015-06-15 20:40:25 UTC
Should be in first 6.2.1 build.