[jboss-jira] [JBoss JIRA] (JBRULES-3703) Error parsing negative numbers in decision table

Lubos Pechac (JIRA) jira-events at lists.jboss.org
Tue Dec 11 02:31:17 EST 2012


     [ https://issues.jboss.org/browse/JBRULES-3703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lubos Pechac updated JBRULES-3703:
----------------------------------

    Attachment: testcase.xls

    
> Error parsing negative numbers in decision table
> ------------------------------------------------
>
>                 Key: JBRULES-3703
>                 URL: https://issues.jboss.org/browse/JBRULES-3703
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-decisiontables
>    Affects Versions: 5.5.0.Final
>         Environment: Windows 7, using Drools 5.5 final and jbpm 5.4 final
>            Reporter: Lubos Pechac
>            Assignee: Mark Proctor
>         Attachments: testcase.xls
>
>
> Compiling attached .xls table results in exception, K12 column contains "-1". This worked in drools 5.0.1
> org.drools.template.parser.DecisionTableParseException: Priority is not an integer literal, in cell K12
>         at org.drools.decisiontable.parser.DefaultRuleSheetListener.nextDataCell(DefaultRuleSheetListener.java:607)
>         at org.drools.decisiontable.parser.DefaultRuleSheetListener.processRuleCell(DefaultRuleSheetListener.java:456)
>         at org.drools.decisiontable.parser.DefaultRuleSheetListener.newCell(DefaultRuleSheetListener.java:327)
>         at org.drools.decisiontable.parser.xls.ExcelParser.newCell(ExcelParser.java:187)
>         at org.drools.decisiontable.parser.xls.ExcelParser.processSheet(ExcelParser.java:138)
>         at org.drools.decisiontable.parser.xls.ExcelParser.parseFile(ExcelParser.java:82)
>         at org.drools.decisiontable.SpreadsheetCompiler.compile(SpreadsheetCompiler.java:93)
>         at org.drools.decisiontable.SpreadsheetCompiler.compile(SpreadsheetCompiler.java:72)
>         at com.piag.Bundler.buildPackage(Bundler.java:106)
>         at com.piag.Bundler.main(Bundler.java:69)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list