Bug 780942 (SOA-3409)
Summary: | StringIndexOutOfBounds while parsing XLS based decision table | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Enterprise SOA Platform 5 | Reporter: | Martin Vecera <mvecera> | ||||||
Component: | JBoss Rules | Assignee: | Julian Coleman <jcoleman> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | |||||||
Severity: | urgent | Docs Contact: | |||||||
Priority: | urgent | ||||||||
Version: | 5.2.0.ER4 | CC: | atangrin, ldimaggi, mvecera, no-reply, rzhang | ||||||
Target Milestone: | --- | ||||||||
Target Release: | 5.2.0 GA | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
URL: | http://jira.jboss.org/jira/browse/SOA-3409 | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2011-11-08 00:50:05 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
Martin Vecera
2011-09-22 13:52:49 UTC
Attachment: Added: business_ruleservice_jbqa1847.tar.bz2 2011-09-22 15:44:32,421 DEBUG [org.jboss.soa.esb.listeners.message.ActionProcessingPipeline] (pool-44-thread-1) Unexpected exception caught while processing the action pipeline java.lang.StringIndexOutOfBoundsException: String index out of range: 68 at java.lang.String.checkBounds(String.java:401) at java.lang.String.<init>(String.java:442) 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 org.drools.decisiontable.parser.xls.ExcelParser.parseFile(ExcelParser.java:75) at org.drools.decisiontable.SpreadsheetCompiler.compile(SpreadsheetCompiler.java:89) at org.drools.decisiontable.SpreadsheetCompiler.compile(SpreadsheetCompiler.java:68) at org.drools.decisiontable.DecisionTableProviderImpl.compileStream(DecisionTableProviderImpl.java:38) at org.drools.decisiontable.DecisionTableProviderImpl.loadFromInputStream(DecisionTableProviderImpl.java:21) at org.drools.compiler.DecisionTableFactory.loadFromInputStream(DecisionTableFactory.java:18) at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:590) at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:34) at org.jboss.internal.soa.esb.services.rules.DroolsRuleBaseHelper.createRuleBaseFromDecisionTable(DroolsRuleBaseHelper.java:205) at org.jboss.internal.soa.esb.services.rules.DroolsRuleService.getRuleBaseStateForDecisionTable(DroolsRuleService.java:294) at org.jboss.internal.soa.esb.services.rules.DroolsRuleService.executeStatelessRulesFromDecisionTable(DroolsRuleService.java:106) at org.jboss.internal.soa.esb.services.rules.RuleServiceCallHelper.executeStateless(RuleServiceCallHelper.java:286) at org.jboss.internal.soa.esb.services.rules.RuleServiceCallHelper.executeRulesService(RuleServiceCallHelper.java:274) at org.jboss.soa.esb.actions.BusinessRulesProcessor.executeRulesService(BusinessRulesProcessor.java:144) at org.jboss.soa.esb.actions.BusinessRulesProcessor.process(BusinessRulesProcessor.java:125) at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:649) at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:603) at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:433) at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:550) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Attached server log where I tried the example twice. Remove quickstart if it's out of date. Bugzilla References: Added: https://bugzilla.redhat.com/show_bug.cgi?id=741726 Len DiMaggio <ldimaggi> made a comment on [bug 741726|https://bugzilla.redhat.com/show_bug.cgi?id=741726] See: https://issues.jboss.org/browse/SOA-3409 The same code is in BRMS 5.2 - we will want the fix for SOA-3409in BRMS 5.2 too. This is the same issue as https://issues.jboss.org/browse/BRMS-388 The DistCountDT.xls format is a bit old. Ryan Zhang <rzhang> made a comment on [bug 741726|https://bugzilla.redhat.com/show_bug.cgi?id=741726] This issue should be the same as Bug 724443 - (BRMS-388) Decision Table: String Index Out Of Range Bugzilla References: Removed: https://bugzilla.redhat.com/show_bug.cgi?id=741726 Added: https://bugzilla.redhat.com/show_bug.cgi?id=741726 Lukáš Petrovický <lpetrovi> changed the Status of [bug 741726|https://bugzilla.redhat.com/show_bug.cgi?id=741726] from NEW to CLOSED Lukáš Petrovický <lpetrovi> made a comment on [bug 741726|https://bugzilla.redhat.com/show_bug.cgi?id=741726] Is this the same issue as: https://issues.jboss.org/browse/SOA-2426 Link: Added: This issue is related to SOA-2426 Bugzilla References: Removed: https://bugzilla.redhat.com/show_bug.cgi?id=741726 Added: https://bugzilla.redhat.com/show_bug.cgi?id=741726 Duplicate of SOA-2426 Temporarily reopening for release note status. Release Notes Docs Status: Added: Not Required Writer: Added: dlesage Bugzilla References: Removed: https://bugzilla.redhat.com/show_bug.cgi?id=741726 Added: https://bugzilla.redhat.com/show_bug.cgi?id=741726 |