MVEL appeared to be null pointer protected when it evaluated our rules ...
at least until it got to a Boolean attribute. In every other instance when
an value is null Drools skips over the rule ... however, I get the null
pointer exception listed above when Drools goes to execute this rule and
I am just trying to learn DSL and have immediately run into issues.
I have a simple DSL in the file named XEasyApp.dsl :
*[condition][]{value} is an invalid Boolean={value} not
in(T,t,1,F,f,0)*
and then a simple DSLR in the file named Test.dslr:
*package com.onfs.easyapp.rules
import
I found a way to get Guvnor to make Version 3 the active version. I
shut-down and restart Tomcat.
Surely this can't be the 'standard' way ... and it makes me think that I've
tripped over a bug hiding in there somewhere.
Thoughts?
___
rules-users
I have always thought of Drools-like systems being server-side engines -
and we have many server-side-only uses for rules. However, for a good user
experience you should do checking as close to data entry as possible, and
there is a subset of our server rules that are redundant with the rules
JBoss Developer Studio 4.1.1.GA
Guvnor 5.2.0.Final
Tomcat 7.0.23
Guvnor: Created categories and packages. Imported Pojo jar file
Eclipse: Created drl rules. Added to Guvnor via plug-in
Guvnor: Confirmed drl rules showed up. Everything validated and verified
Eclipse: Modified drl rule.
Guvnor hated me at home on Linux.
I had to install/config everything again at work - only on Windows-7
Things are behaving much differently here at work ... in a good way
I will wipe and reinstall at home and see if it all gets better there
Thanks for your help and for your patience.
Ron
Davide
Thanks - you hit the nail on the head.
Ron
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Thanks Michael ... you've been very helpful.
Yes, I am considering helping out on the documentation (my undergrad is in
Instructional Technology) ... if I can ever figure out how all of this
works. I have also read thru some of the 3rd party books on the subject,
and I find them quite lacking
I guess I need to learn how to submit bugs. Any help is appreciated.
If you forget the name of the rule, instead of a clear error (like Rule
name missing) you get a NullPointerException with no indication why.
Thanks
___
rules-users mailing list
Is there a simple way for me to be able to access the rule name in the
'then' clause?
When rules fail I want to pass the rule name into my internal error handler.
Thanks in advance
___
rules-users mailing list
rules-users@lists.jboss.org
Let me clarify in advance ... my rules are detecting errors in input data
... so when a rule fires it accesses my internal error handler. I realize
that rules fire when they succeed, not when they fail.
On Mon, Nov 28, 2011 at 4:56 PM, Ronald Albury ronalb...@gmail.com wrote:
Is there a simple
First - I'd like to thank everyone for their help. I am finding Guvnor
less intuitive than I had hoped and I will need your continued patience and
assistance to understand it.
Problem 1:
I added Sample.drl (which contains two rules) from inside Eclipse, and
Guvnor split it into two rules
Newbie issue:
I created a package, com.scs.test
I added a model to that package (a java Jar file with POJOs in it). The
jar contains com.scs.test.Message and com.scs.test.Person.
I edited the package's Configuration: Imported Types to include the two
objects from the model (com.scs.test.Message
I found it.
It is not enough to import the Jar file - you must also hit File-Save.
On Fri, Nov 25, 2011 at 1:37 PM, Ronald Albury ronalb...@gmail.com wrote:
Newbie issue:
I created a package, com.scs.test
I added a model to that package (a java Jar file with POJOs in it). The
jar contains
New Issue:
My Message class has an int field (status) and several public static final
int values representing possibile statuses. I am trying to use the
directed rules editor to create a rule when clause: There is a Message with
status equal to Message.SOME_STATUS.
I don't see any way to do
Hi - I am a Drools newbie and I apologize in advance if the answer to my
question is intuitively obvious to the casual user.
I have an object that has two fields: location(there are more than 50
locations) and age. I am having difficulty building clean rules for the
following pseudo-code
//
Armand
I don't think that works if location=='B' and age=68
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
17 matches
Mail list logo