No RuleTable cells in spreadsheet - Package jar with Maven Shade Plugin and Stateless session

572 views
Skip to first unread message

Ashish Soni

unread,
Jul 13, 2015, 5:20:40 PM7/13/15
to drools...@googlegroups.com
Hi All ,
Please help for the below error

I am creating a stateless session as below and packing my JAR using Maven Shade Plugin which is also including all the jars needed for my application and when i run the test inside eclipse everything works fine but when i run using the packaged Jar i get below error

org.drools.template.parser.DecisionTableParseException: No RuleTable cells in spreadsheet.
    at org.drools.decisiontable.parser.DefaultRuleSheetListener.getRuleSet(DefaultRuleSheetListener.java:139)
    at org.drools.decisiontable.SpreadsheetCompiler.compile(SpreadsheetCompiler.java:94)
    at org.drools.decisiontable.SpreadsheetCompiler.compile(SpreadsheetCompiler.java:72)

This is how create the stateless session

KieServices ks = KieServices.Factory.get();
KieContainer kContainer = ks.getKieClasspathContainer();   
kSession = kContainer.newStatelessKieSession();

Ashish Soni

unread,
Jul 13, 2015, 8:01:17 PM7/13/15
to drools...@googlegroups.com
Please help as i do not understand this behaviour when i do not have any spreadsheet  at all.

Ashish

Mario Fusco

unread,
Jul 14, 2015, 9:38:57 AM7/14/15
to drools...@googlegroups.com
Hi,

it is hard to say what it is going wrong there without a reproducer. Can you please provide one?

Thanks,
Mario

--
You received this message because you are subscribed to the Google Groups "Drools Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-usage...@googlegroups.com.
To post to this group, send email to drools...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/drools-usage/4e5931d2-8eca-4507-b336-b6e7a8703d69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages