On 14/03/2013, goforcrazy <goforcrazy(a)gmail.com> wrote:
Hello,
I have been having my Drools project up and running but all of a sudden get
this new exception. Could anyone help me figure this out.
Possibly a newly introduced error in your DRL which triggers a latent
bug in the parser. - What did you change?
-W
java.lang.IndexOutOfBoundsException: Index: 381, Size: 381
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at org.antlr.runtime.CommonTokenStream.LT(CommonTokenStream.java:103)
at org.drools.lang.ParserHelper.reportError(ParserHelper.java:391)
at org.drools.lang.DRLParser.compilationUnit(DRLParser.java:196)
at org.drools.lang.DRLParser.compilationUnit(DRLParser.java:157)
at org.drools.compiler.DrlParser.compile(DrlParser.java:240)
at org.drools.compiler.DrlParser.parse(DrlParser.java:157)
at org.drools.compiler.DrlParser.parse(DrlParser.java:139)
at
org.drools.compiler.PackageBuilder.drlToPackageDescr(PackageBuilder.java:478)
at
org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:467)
at
org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:673)
at
org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:45)
at
org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:34)
at cs441.eews.ServerApp.readKnowledgeBase(ServerApp.java:88)
at cs441.eews.ServerApp.main(ServerApp.java:36)
java.lang.RuntimeException: org.drools.compiler.DroolsParserException:
Unexpected exception raised while parsing. This is a bug. Please contact
the
Development team :
Index: 381, Size: 381
at
org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:705)
at
org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:45)
at
org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:34)
at cs441.eews.ServerApp.readKnowledgeBase(ServerApp.java:88)
at cs441.eews.ServerApp.main(ServerApp.java:36)
Caused by: org.drools.compiler.DroolsParserException: Unexpected exception
raised while parsing. This is a bug. Please contact the Development team :
Index: 381, Size: 381
at org.drools.compiler.DrlParser.compile(DrlParser.java:258)
at org.drools.compiler.DrlParser.parse(DrlParser.java:157)
at org.drools.compiler.DrlParser.parse(DrlParser.java:139)
at
org.drools.compiler.PackageBuilder.drlToPackageDescr(PackageBuilder.java:478)
at
org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:467)
at
org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:673)
... 4 more
Thanks,
Sam
--
View this message in context:
http://drools.46999.n3.nabble.com/Strange-exception-tp4022814.html
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users