Created Jira:
https://issues.jboss.org/browse/GUVNOR-2057
manstis wrote
Can you please raise a JIRA for Guvnor and attach a XLS file
demonstrating
the bug.
Thanks
Sent on the move
On 23 Oct 2013 15:59, "gboro54" <
gboro54@
> wrote:
> In guvnor 5.5, when trying to convert an excel based decision table to a
> web
> based one, using the convert button, we get the following exception:
>
>
>
.drools.guvnor.client.rpc.AssetService.convertAsset(java.lang.String,java.lang.String)
> throws com.google.gwt.user.client.rpc.SerializationException' threw an
> unexpected exception: java.lang.IndexOutOfBoundsException: Index: 8,
> Size:
> 4
> at
> com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:385)
> [gwt-servlet-2.4.0.jar:]
> at
> com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:588)
> [gwt-servlet-2.4.0.jar:]
> at
>
>
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
> [gwt-servlet-2.4.0.jar:]
> at
>
>
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
> [gwt-servlet-2.4.0.jar:]
> at
>
>
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
> [gwt-servlet-2.4.0.jar:]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
> [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
> [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
> at
>
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
> [jbossweb-7.0.13.Final.jar:]
> at
>
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
> [jbossweb-7.0.13.Final.jar:]
> at
>
>
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
> [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
> at
>
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
> [jbossweb-7.0.13.Final.jar:]
> at
>
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
> [jbossweb-7.0.13.Final.jar:]
> at
>
>
org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)
> [solder-impl-3.1.1.Final.jar:3.1.1.Final]
> at
>
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
> [jbossweb-7.0.13.Final.jar:]
> at
>
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
> [jbossweb-7.0.13.Final.jar:]
> at
>
>
org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)
> [solder-impl-3.1.1.Final.jar:3.1.1.Final]
> at
>
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
> [jbossweb-7.0.13.Final.jar:]
> at
>
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
> [jbossweb-7.0.13.Final.jar:]
> at
>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
> [jbossweb-7.0.13.Final.jar:]
> at
>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
> [jbossweb-7.0.13.Final.jar:]
> at
>
>
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
> [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
> at
>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
> [jbossweb-7.0.13.Final.jar:]
> at
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> [jbossweb-7.0.13.Final.jar:]
> at
>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> [jbossweb-7.0.13.Final.jar:]
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
> [jbossweb-7.0.13.Final.jar:]
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
> [jbossweb-7.0.13.Final.jar:]
> at
>
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
> [jbossweb-7.0.13.Final.jar:]
> at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
> [jbossweb-7.0.13.Final.jar:]
> at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_31]
> Caused by: java.lang.IndexOutOfBoundsException: Index: 8, Size: 4
> at java.util.ArrayList.addAll(ArrayList.java:497)
> [rt.jar:1.6.0_31]
> at
>
>
org.drools.guvnor.server.converters.decisiontable.builders.GuidedDecisionTableLHSBuilder.addPatternColumn(GuidedDecisionTableLHSBuilder.java:293)
> [classes:]
> at
>
>
org.drools.guvnor.server.converters.decisiontable.builders.GuidedDecisionTableLHSBuilder.populateDecisionTable(GuidedDecisionTableLHSBuilder.java:168)
> [classes:]
> at
>
>
org.drools.guvnor.server.converters.decisiontable.GuidedDecisionTableGeneratorListener.populateDecisionTable(GuidedDecisionTableGeneratorListener.java:244)
> [classes:]
> at
>
>
org.drools.guvnor.server.converters.decisiontable.GuidedDecisionTableGeneratorListener.finishRuleTable(GuidedDecisionTableGeneratorListener.java:233)
> [classes:]
> at
>
>
org.drools.guvnor.server.converters.decisiontable.GuidedDecisionTableGeneratorListener.processRuleCell(GuidedDecisionTableGeneratorListener.java:301)
> [classes:]
> at
>
>
org.drools.guvnor.server.converters.decisiontable.GuidedDecisionTableGeneratorListener.newCell(GuidedDecisionTableGeneratorListener.java:181)
> [classes:]
> at
>
> org.drools.decisiontable.parser.xls.ExcelParser.newCell(ExcelParser.java:187)
> [drools-decisiontables-5.5.0.Final.jar:5.5.0.Final]
> at
>
> org.drools.decisiontable.parser.xls.ExcelParser.processSheet(ExcelParser.java:140)
> [drools-decisiontables-5.5.0.Final.jar:5.5.0.Final]
> at
>
> org.drools.decisiontable.parser.xls.ExcelParser.parseFile(ExcelParser.java:82)
> [drools-decisiontables-5.5.0.Final.jar:5.5.0.Final]
> at
>
>
org.drools.guvnor.server.converters.decisiontable.DecisionTableXLSToDecisionTableGuidedConverter.parseAssets(DecisionTableXLSToDecisionTableGuidedConverter.java:135)
> [classes:]
> at
>
>
org.drools.guvnor.server.converters.decisiontable.DecisionTableXLSToDecisionTableGuidedConverter.convert(DecisionTableXLSToDecisionTableGuidedConverter.java:94)
> [classes:]
> at
>
>
org.drools.guvnor.server.converters.decisiontable.DecisionTableXLSToDecisionTableGuidedConverter$Proxy$_$$_WeldClientProxy.convert(DecisionTableXLSToDecisionTableGuidedConverter$Proxy$_$$_WeldClientProxy.java)
> [classes:]
> at
>
>
org.drools.guvnor.server.converters.GuvnorDroolsConversionService.convert(GuvnorDroolsConversionService.java:74)
> [classes:]
> at
>
>
org.drools.guvnor.server.converters.GuvnorDroolsConversionService$Proxy$_$$_WeldClientProxy.convert(GuvnorDroolsConversionService$Proxy$_$$_WeldClientProxy.java)
> [classes:]
> at
>
>
org.drools.guvnor.server.RepositoryAssetService.convertAsset(RepositoryAssetService.java:638)
> [guvnor-webapp-core-5.5.0.Final.jar:5.5.0.Final]
> at
>
>
org.drools.guvnor.server.RepositoryAssetService$Proxy$_$$_WeldClientProxy.convertAsset(RepositoryAssetService$Proxy$_$$_WeldClientProxy.java)
> [guvnor-webapp-core-5.5.0.Final.jar:5.5.0.Final]
> at
>
>
org.drools.guvnor.server.AssetServiceServlet.convertAsset(AssetServiceServlet.java:215)
> [guvnor-webapp-core-5.5.0.Final.jar:5.5.0.Final]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [rt.jar:1.6.0_31]
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [rt.jar:1.6.0_31]
> at
>
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [rt.jar:1.6.0_31]
> at java.lang.reflect.Method.invoke(Method.java:597)
> [rt.jar:1.6.0_31]
> at
> com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
> [gwt-servlet-2.4.0.jar:]
>
>
> Any ideas what may be causing this?
>
>
>
> --
> View this message in context:
>
http://drools.46999.n3.nabble.com/Guvnor-5-5-convert-excel-decision-table...
> Sent from the Drools: User forum mailing list archive at
Nabble.com.
> _______________________________________________
> rules-users mailing list
>
rules-users@.jboss
>
_______________________________________________
rules-users mailing list
rules-users@.jboss
--
View this message in context:
http://drools.46999.n3.nabble.com/Guvnor-5-5-convert-excel-decision-table...
Sent from the Drools: User forum mailing list archive at
Nabble.com.