Re: [rules-users] NullPointerException when load file rules

2012-03-27 Thread elMateo
Hello Mauricio, I don't know how to do this :(, and I'm not very sure that what it's happening Sorry :( On Mon, Mar 26, 2012 at 6:10 PM, Mauricio Salatino wrote: > So, probably there is something related on how those resources are loaded > or how the jar files are scanned when they are loaded.

Re: [rules-users] NullPointerException when load file rules

2012-03-26 Thread Mauricio Salatino
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

Re: [rules-users] NullPointerException when load file rules

2012-03-26 Thread elMateo
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 probl

Re: [rules-users] NullPointerException when load file rules

2012-03-26 Thread Mauricio Salatino
What do you mean with "doesn't work well"? which problem are you experiencing? 2012/3/26 elMateo > 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 wrote: > >> Hello all, >> >> I have, again, this exception: >> >> org.drool

Re: [rules-users] NullPointerException when load file rules

2012-03-26 Thread elMateo
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 wrote: > Hello all, > > I have, again, this exception: > > org.drools.RuntimeDroolsException: Unable to load dialect > 'org.drools.rule.build > > er.dialect.java.JavaDialectConfigura

Re: [rules-users] NullPointerException when load file rules

2012-03-26 Thread jjmartinez
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

Re: [rules-users] NullPointerException when load file rules

2012-01-10 Thread Mauricio Salatino
t; >> drools.evaluator.soundslike = >> >> >> org.drools.base.evaluators.SoundslikeEvaluatorsDefinition >> >> >> >> >> >> That is provided by drools-compiler.jar or drools-core.jar (I don't >> >> >> have the code here) but it's no

Re: [rules-users] NullPointerException when load file rules

2012-01-10 Thread elMateo
t; have the code here) but it's not being picked up by the OSGI > >> >> container. > >> >> > >> >> Cheers > >> >> > >> >> > >> >> 2012/1/10 elMateo : > >> >> > I'm using Drools 5.4.0 B

Re: [rules-users] NullPointerException when load file rules

2012-01-10 Thread Mauricio Salatino
; >> > (all my application is the Hello World of Drools, because I'm trying >> >> > to >> >> > do a >> >> > OSGi bundle with this application). >> >> > >> >> > In my OSGi framework is running drools.core, droo

Re: [rules-users] NullPointerException when load file rules

2012-01-10 Thread elMateo
gt; On Tue, Jan 10, 2012 at 6:15 PM, Swindells, Thomas < > tswinde...@nds.com> > >> > wrote: > >> >> > >> >> Looking at the stack trace, if you are on the same version as drools > as > >> >> me > >> >> it lo

Re: [rules-users] NullPointerException when load file rules

2012-01-10 Thread Mauricio Salatino
gt; wrote: >> >> >> >> Looking at the stack trace, if you are on the same version as drools as >> >> me >> >> it looks like it is this line >> >> this.rule.setDialect( getDialect().getId() ); >> >> >> >> The most like

Re: [rules-users] NullPointerException when load file rules

2012-01-10 Thread elMateo
ave you tried reducing your DRL > >> file to the minimum that generates the error - then post that DRL if you > >> need further help. > >> > >> Thomas > >> > >> > -Original Message- > >> > From: rules-users-boun...@lists.jboss.org [mailt

Re: [rules-users] NullPointerException when load file rules

2012-01-10 Thread Mauricio Salatino
ur DRL >> file to the minimum that generates the error - then post that DRL if you >> need further help. >> >> Thomas >> >> > -Original Message- >> > From: rules-users-boun...@lists.jboss.org [mailto:rules-users- >> > boun...@lists.jbos

Re: [rules-users] NullPointerException when load file rules

2012-01-10 Thread elMateo
rther help. > > Thomas > > > -Original Message- > > From: rules-users-boun...@lists.jboss.org [mailto:rules-users- > > boun...@lists.jboss.org] On Behalf Of jjmartinez > > Sent: 10 January 2012 17:05 > > To: rules-users@lists.jboss.org > > Subj

Re: [rules-users] NullPointerException when load file rules

2012-01-10 Thread Swindells, Thomas
es-users- > boun...@lists.jboss.org] On Behalf Of jjmartinez > Sent: 10 January 2012 17:05 > To: rules-users@lists.jboss.org > Subject: Re: [rules-users] NullPointerException when load file rules > > Anybody can help me? I don't know why my application show these errors. > > Thanks i

Re: [rules-users] NullPointerException when load file rules

2012-01-10 Thread jjmartinez
Anybody can help me? I don't know why my application show these errors. Thanks in advance! -- View this message in context: http://drools.46999.n3.nabble.com/NullPointerException-when-load-file-rules-tp3645021p3648159.html Sent from the Drools: User forum mailing list archive at Nabble.com.