[rules-users] Cannot instantiate PackageBuilder object

Edson Tirelli tirelli at post.com
Tue Jan 27 09:35:02 EST 2009


   All the spreadsheet compiler does is to convert your XLS into a DRL
source code. The actual "code compiler" is the PackageBuilder. It usually
fails like that if you are missing either JDT / Janino compiler (whichever
you are using for java dialect) or MVEL (for MVEL dialect).

   []s
   Edson

2009/1/27 Kiran Narasareddy <kiran.narasareddy at gmail.com>

> Hi,
>  Thanks for the reply..
> But , my decision table(excel sheet) is being complied properly  by
> spreadsheet compiler (while the code is being deployed as webservice)and the
> drl string is being formed. So ,I think classpath should not be an
> issue.....
> Kiran Narasareddy
> Computers make very fast, very accurate mistakes.
>
>
>
> On Mon, Jan 26, 2009 at 7:52 PM, Edson Tirelli <tirelli at post.com> wrote:
>
>>
>>    Classpath problem as mentioned on your other e-mail.
>>
>> 2009/1/24 Kiran Narasareddy <kiran.narasareddy at gmail.com>
>>
>>> Hi,
>>>     I am currently working on project which employs Drools 4.0.7 and
>>> webServices using Axis2 . My code works well when I run it as standalone app
>>> inside eclipse.
>>> But as soon as I deploy the same code as a web service inside Axis2, I
>>> get a  *java.lang.NullPointerException*.
>>> When I tried to debug it, I found that , When the service is deployed,
>>> the PackageBuilder object cannot be created.. donno why..
>>>        PackageBuilder builder1 = new PackageBuilder();
>>>
>>> Do I need to add sum thing else??
>>> Itz not like the necessary libraries are not found, because the
>>> spreadsheet compiler parsed the decision table(via excel sheet)...
>>>
>>>
>>> Can anyone help me out??
>>>
>>> Thanks in advance.
>>>
>>> Kiran Narasareddy
>>> Computers make very fast, very accurate mistakes.
>>>
>>>
>>> _______________________________________________
>>> rules-users mailing list
>>> rules-users at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/rules-users
>>>
>>>
>>
>>
>> --
>>  Edson Tirelli
>>  JBoss Drools Core Development
>>  JBoss, a division of Red Hat @ www.jboss.com
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>


-- 
 Edson Tirelli
 JBoss Drools Core Development
 JBoss, a division of Red Hat @ www.jboss.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090127/c5dc9623/attachment.html 


More information about the rules-users mailing list