Bug 1322045 - jcr2vfs: NPE when migrating guided dtable with legacy NUMERIC type
Summary: jcr2vfs: NPE when migrating guided dtable with legacy NUMERIC type
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Migration Tool
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER3
: 6.3.0
Assignee: Edson Tirelli
QA Contact: Marek Winkler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-29 15:55 UTC by Petr Široký
Modified: 2020-03-27 20:01 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 20:01:45 UTC
Type: Bug


Attachments (Terms of Use)
Exception stacktrace (2.35 KB, text/plain)
2016-03-29 15:58 UTC, Petr Široký
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.