[rules-users] ERR 101 & 102 When parsing Decision Table xls

Sleepyhead dorlandroy at gmail.com
Fri Jun 10 09:13:11 EDT 2011


Thx man!
Was getting pretty pissed ... :P

Only now I have a different problem when actually using the decision table:

	public RuleBase readDecisionTable() throws Exception 
	{
		SpreadsheetCompiler converter = new SpreadsheetCompiler();
		String drl = converter.compile("CheckAccepted.xls", InputType.XLS );
		System.out.println(drl);
		PackageBuilder builder = new PackageBuilder();
		builder.addPackageFromDrl( new StringReader( drl ) );
		Package pkg = builder.getPackage();
		RuleBase ruleBase = RuleBaseFactory.newRuleBase();
		ruleBase.addPackage( pkg );
		return ruleBase;
	}

I get this error:

http://drools.46999.n3.nabble.com/file/n3048581/Java_-_DroolzBeslissrcmainjavacomsampleTester.java_-_Eclipse_2011-06-10_15-09-27.png 


--
View this message in context: http://drools.46999.n3.nabble.com/ERR-101-102-When-parsing-Decision-Table-xls-tp3048185p3048581.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list