[rules-users] NullPointerException when load file rules

Mauricio Salatino salaboy at gmail.com
Mon Mar 26 12:10:21 EDT 2012


So, probably there is something related on how those resources are loaded
or how the jar files are scanned when they are loaded.
This doesn't means that drools doesn't work.. probably is a bug and you
should report it if you can create an isolated test with the error inside
Jira.
Cheers

2012/3/26 elMateo <soyelmateo at gmail.com>

> With Java 7, when I run a bundle with Drools (in Apache Felix), I get this
> exception:
>
> *org.drools.RuntimeDroolsException: Unable to load dialect*
> *
> 'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java:org.drools.rule.builder.dialect.java.JavaDialectConfiguration'
> *
>
> I had this problem before because I need to add inside my project that is
> loading the rules the file META-INF/drools.packagebuilder.conf. I did it
> when you helped me. A few days ago I installed Java 7, but I don't run my
> project with Drools. Until this morning. I uninstall it and my project work
> ok again :)
>
>
>
> On Mon, Mar 26, 2012 at 5:41 PM, Mauricio Salatino <salaboy at gmail.com>wrote:
>
>> What do you mean with "doesn't work well"? which problem are you
>> experiencing?
>>
>> 2012/3/26 elMateo <soyelmateo at gmail.com>
>>
>>> Hi all,
>>>
>>> the problem is that Drools doesn't work well with Java 1.7.0
>>>
>>> On Mon, Mar 26, 2012 at 2:21 PM, jjmartinez <soyelmateo at gmail.com>wrote:
>>>
>>>> Hello all,
>>>>
>>>> I have, again, this exception:
>>>>
>>>> org.drools.RuntimeDroolsException: Unable to load dialect
>>>> 'org.drools.rule.build
>>>>
>>>> er.dialect.java.JavaDialectConfiguration:java:org.drools.rule.builder.dialect.ja
>>>> va.JavaDialectConfiguration'
>>>>
>>>> but I have a file in META-INFcalled drools.packagebuilder.conf, with the
>>>> information above.
>>>>
>>>> Of course, I have all drools bundles in my Apache Felix running. And I'm
>>>> using Drools 5.4.0-SNAPSHOT version.
>>>>
>>>> Could anybody help me??
>>>>
>>>> Thanks in advance, Jesus.
>>>>
>>>> --
>>>> View this message in context:
>>>> http://drools.46999.n3.nabble.com/NullPointerException-when-load-file-rules-tp3645021p3857996.html
>>>> Sent from the Drools: User forum mailing list archive at Nabble.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
>>>
>>>
>>
>>
>> --
>>  - MyJourney @ http://salaboy.wordpress.com
>>  - Co-Founder @ http://www.jugargentina.org
>>  - Co-Founder @ http://www.jbug.com.ar
>>
>>  - Salatino "Salaboy" Mauricio -
>>
>>
>> _______________________________________________
>> 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
>
>


-- 
 - MyJourney @ http://salaboy.wordpress.com
 - Co-Founder @ http://www.jugargentina.org
 - Co-Founder @ http://www.jbug.com.ar

 - Salatino "Salaboy" Mauricio -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120326/856e8d9e/attachment.html 


More information about the rules-users mailing list