Created attachment 909483 [details] error stacktrace Description of problem: CNFE being thrown by kie-ci when building a project on BRMS WAS distribution. This is probably caused by missing httpclient library in BRMS, although the library is present in BRMS WAS distro. For EAP, httpclient is a part of EAP modules.
Sorry for a mistake - the httpclient is present in BPMS WAS distribution, but is _NOT_ present in BRMS WAS distribution. So far we have tested with BRMS only. Also is worth to mention that only projects containing dependencies have described problem.
I think there are two things need to fix after checking the assembly code in kie-wb-distributions. 1) Not exclude httpclient and httpcore in [1] for it seeems that kie-drools-wb for WAS distribution requires the httpcore and httpclient. And they already have included in kie-wb for WAS distributions. 2) There is typo for: <exclude>WEB-INF/lib/httpcore_*.jar</exclude> It should be httpcore-* instead of httpcore_ in all assembly script in kie-wb-distributions [1]:https://github.com/jboss-integration/kie-wb-distributions/blob/6.0.x/kie-drools-wb/kie-drools-wb-distribution-wars/src/main/assembly/assembly-kie-drools-wb-websphere-as-8_5.xml#L203
All dependencies were reviewed and updated in kie-wb-distributions repository: (6.0.x) http://github.com/droolsjbpm/kie-wb-distributions/commit/364d0a713 (6.1.x) http://github.com/droolsjbpm/kie-wb-distributions/commit/014093d03 (master) http://github.com/droolsjbpm/kie-wb-distributions/commit/eda22a445
Cherry picked to 6.0.2ER3: commit 710dd5c4a79424958df6753429ff348666ef1d33
Adding back a dependency (errai-ui is needed): 6.0.x http://github.com/droolsjbpm/kie-wb-distributions/commit/89fc7b6ca 6.1.x http://github.com/droolsjbpm/kie-wb-distributions/commit/d2406b9f0 master http://github.com/droolsjbpm/kie-wb-distributions/commit/6d0705730
Verified with BRMS-6.0.2.CR2