-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution:
Out of Date
-
Affects Version/s: 5.1.0.ER2
-
Fix Version/s: 5.2.0 GA
-
Component/s: Documentation, JBoss Rules
-
Labels:None
-
Affects:Release Notes
-
Affects Testing:Regression
-
Release Notes Text:
-
Release Notes Docs Status:Documented as Known Issue
The attached XLS decision table, when used in a knowledge base, produces the following exception:
java.lang.StringIndexOutOfBoundsException: String index out of range: 78
at java.lang.String.checkBounds(String.java:409)
at java.lang.String.<init>(String.java:450)
at jxl.biff.StringHelper.getString(StringHelper.java:164)
at jxl.read.biff.WriteAccessRecord.<init>(WriteAccessRecord.java:56)
at jxl.read.biff.WorkbookParser.parse(WorkbookParser.java:821)
at jxl.Workbook.getWorkbook(Workbook.java:271)
at jxl.Workbook.getWorkbook(Workbook.java:253)
at org.drools.decisiontable.parser.xls.ExcelParser.parseFile(ExcelParser.java:74)
at org.drools.decisiontable.SpreadsheetCompiler.compile(SpreadsheetCompiler.java:90)
at org.drools.decisiontable.SpreadsheetCompiler.compile(SpreadsheetCompiler.java:69)
at org.drools.decisiontable.DecisionTableProviderImpl.compileStream(DecisionTableProviderImpl.java:29)
at org.drools.decisiontable.DecisionTableProviderImpl.loadFromInputStream(DecisionTableProviderImpl.java:19)
at org.drools.compiler.DecisionTableFactory.loadFromInputStream(DecisionTableFactory.java:18)
at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:482)
at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:34)
... (Rest of the stack trace omitted, because it originally came from the ESB BRP action.)
I intended to create a reproducer for the issue, but then I found out that simply putting the XLS in a Drools project in JBDS results in the very same error. (See attached screenshot.)
This is a regression compared to SOA 5.0.