Bug 1322045

Summary: jcr2vfs: NPE when migrating guided dtable with legacy NUMERIC type
Product: [Retired] JBoss BRMS Platform 6 Reporter: Petr Široký <psiroky>
Component: Migration ToolAssignee: Edson Tirelli <etirelli>
Status: CLOSED EOL QA Contact: Marek Winkler <mwinkler>
Severity: high Docs Contact:
Priority: high    
Version: 6.2.0CC: kverlaen
Target Milestone: ER3   
Target Release: 6.3.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 20:01:45 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:
Description Flags
Exception stacktrace none

Description Petr Široký 2016-03-29 15:55:03 UTC
Description of problem:
When migrating legacy (e.g. the BRMS 5.x) guided decision tables using the jcr2vfs migration tool, the migration sometimes ends with NPE, coming from org.drools.workbench.models.guided.dtable.backend.util.GuidedDecisionTableUpgradeHelper2.upgrade:68 (see the attachment for full exception).


Version-Release number of selected component (if applicable):
6.3.0.ER2


How reproducible:



Steps to Reproduce:
1. Download the attached JCR repository and run the migration tool.
2. See the standard output (or log). NPE is logged.

Comment 2 Petr Široký 2016-03-29 15:58:49 UTC
Created attachment 1141331 [details]
Exception stacktrace

Comment 4 Petr Široký 2016-03-30 14:05:52 UTC
Fixed directly in drools repo.

6.4.x: https://github.com/droolsjbpm/drools/commit/8709d05cc16f

master: https://github.com/droolsjbpm/drools/commit/bb0ebf232bae0

Comment 5 Marek Winkler 2016-04-14 15:05:26 UTC
Verified in BRMS 6.3.0 ER3.