Bug 1200784
| Summary: | KIE-CI: NPE when POM of the artifact being updated not available | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Marek Winkler <mwinkler> | ||||
| Component: | BRE | Assignee: | Mario Fusco <mfusco> | ||||
| Status: | CLOSED EOL | QA Contact: | Marek Winkler <mwinkler> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 6.1.0 | CC: | mwinkler, rrajasek | ||||
| Target Milestone: | DR1 | ||||||
| Target Release: | 6.2.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-03-27 19:12:04 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: | |||||||
| Attachments: |
|
||||||
|
Description
Marek Winkler
2015-03-11 11:42:15 UTC
The problem appeared in test scenario made available by fixing BZ 1190903, but it is not limited to that. Pull request with reproducer: https://github.com/droolsjbpm/drools/pull/417 There is another NPE which I am trying to prepare a reliable reproducer for, Mario asked me to mention it here. If I succeed with isolating it, it is very likely there will be a new BZ for it. java.lang.NullPointerException: null at org.drools.compiler.kie.util.ChangeSetBuilder.build(ChangeSetBuilder.java:52) at org.drools.compiler.kie.builder.impl.KieContainerImpl.update(KieContainerImpl.java:129) at org.drools.compiler.kie.builder.impl.KieContainerImpl.updateDependencyToVersion(KieContainerImpl.java:117) at org.kie.scanner.KieRepositoryScannerImpl.updateKieModule(KieRepositoryScannerImpl.java:289) at org.kie.scanner.KieRepositoryScannerImpl.scanNow(KieRepositoryScannerImpl.java:270) at org.jboss.qa.brms.bre.functional.KieScannerTest.startScanTwoKieBasesTest(KieScannerTest.java:464) Created attachment 1000541 [details]
Standalone reproducer project
Attaching standalone reproducer project illustrating the NPE in case 2) from the description. Please unzip and run
mvn clean install -s settings.xml -Dkie.maven.settings.custom=settings.xml
The issue is not 100 % reproducible, though. I was able to get around 75 % probability of reproducing the NPE with OpenJDK 7.
Verified in BRMS 6.2.0 ER3. |