[rules-users] Problem in accessing change-set.xml for decision table entry

Jaroslaw Kijanowski kijanowski at gmail.com
Sun Oct 4 05:40:14 EDT 2009


Hi,
  your change-set xml file looks good - can you please make sure you 
have a sheet called 'Tables' in your abc.xls spreadsheet?

Cheers,
  Jarek

Nikhil S. Kulkarni wrote:
> Hi,
> 
>  
> 
> I am using Drools 5
> 
> I am facing following issue :-
> 
>  
> 
> While trying to access change-set.xml with decision table entry, I am 
> getting NULLPOINTEREXCEPTION
> 
>  
> 
> Following code is change-set.xml :-
> 
> e.g.
> 
>  
> 
> <?xml version="1.0" encoding="UTF-8"?>
> 
> <change-set xmlns='http://drools.org/drools-5.0/change-set'
> 
> xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'
> 
> xs:schemaLocation='http://drools.org/drools-5.0/change-set.xsd'>
> 
>  
> 
> <add>
> 
> <resource source='classpath:data/abc.xls' type="DTABLE">
> 
>                   <decisiontable-conf input-type="XLS" 
> worksheet-name="Tables" />
> 
>            </resource>
> 
> </add>
> 
> </change-set>
> 
>  
> 
> Please Reply If anybody is able to access decision table in this way.
> 
>  
> 
> Waiting for Reply.
> 
>  
> 
> Thanks & Regards,
> 
> Nikhil S. Kulkarni
> 
>  
> 
> 
> 
> 
> MASTEK LTD.
> Mastek is in NASSCOM's 'India Top 20' Software Service Exporters List.
> In the US, we're called MAJESCOMASTEK
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop and server.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users



More information about the rules-users mailing list