to do that.. in the middle.
> For that you will need to run the WSHT service. Take a look at the Drools
> Flow documentation.
>
>
> On Tue, Sep 22, 2009 at 6:20 AM, Olaf Raether wrote:
>
>>
>> Hey,
>>
>> i have a simple ruleflow with some split and r
Hey,
i have a simple ruleflow with some split and ruleflowgroup components.
Now i want some user interaction while the ruleflow is runing.
For example : a ruleflowgroup is executed, than check a global or what ever
and
fire an event, so i can interact with the user. After the answer modify
a g
Now i found my fault !
What i did wrong was writting every single drl -file into seperate pkg -
file
instead of writing them in one single pkg - file.
I find my error in reasoning with the follow code (modified hello world
example from drools
project wizzard). Adding the two drl - files result
now i found out, that my problems are in relation to my serialized
KnowledgePackages.
When i use the following code and load the drl files everything is fine !
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add(ResourceFactory.newClassPathResource(rules[i] +
now i found out, that my problems are in relation to my serialized
KnowledgePackages.
When i use the following code and load the drl files everything is fine !
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add(ResourceFactory.newClassPathResource(rules[i] +
The rules and the facts are the same.
So i add the source to the project and (try to) debug into the code.
The NPE occurs in the "getIndex" method (see source fragment below)
and the reader member is NULL. And the only point where "reader" is set is
in
the "setReadAccessor" method, but the meth
Mmmh,
i still get an NPE but from a different function within
ClassFieldReader.java
with the 4.07 Api calls it was
at org.drools.base.ClassFieldReader.isNullValue(ClassFieldReader.java:183)
now its
java.lang.NullPointerException
at org.drools.base.ClassFieldReader.getIndex(ClassFiel
Thanks so far - i will change the api calls and post my results.
--
View this message in context:
http://www.nabble.com/Problem-when-using-multiple-rule-files-%28Drools-5%29-tp24623347p24626080.html
Sent from the drools - user mailing list archive at Nabble.com.
___
System.out.println("NPE bei Fact:"+fact);
npe.printStackTrace();
}
}
workingMemory.fireAllRules();
log.debug("END: runRules()");
}
---
Hope this helps - to help me !
Wolfgang Laun-2 wrote:
>
&
Hey,
i have a drl file with round about 100 rules. when i run this single file
everything fine !
When i splip the file into two files and add them seperate into the ruleBase
i get the following Exception
during the inserting of the facts:
java.lang.NullPointerException
at org.drools.base.Clas
After upgrading to drools 5 everythink works as expected
Olaf Raether
--
View this message in context:
http://www.nabble.com/update-fact-problem-tp24476277p24481596.html
Sent from the drools - user mailing list archive at Nabble.com.
___
rules
i think i ran into this bug with drools 4.07
http://jira.jboss.com/jira/browse/JBRULES-966
Ans - as mentioned in jira the jira entry, this bug still exists !
Does anyone know if this is solved with Drools 5.0
Thanks
Olaf Raether
--
View this message in context:
http://www.nabble.com
particular problem more efficiently.
>
> -W
>
>
> On Fri, May 8, 2009 at 9:59 AM, Olaf Raether wrote:
>
>>
>> Rectangles within a Rectangle
>>
>> OR
>>
>>
>> Wolfgang Laun-2 wrote:
>> >
>> > Rectangles or simple poly
Rectangles within a Rectangle
OR
Wolfgang Laun-2 wrote:
>
> Rectangles or simple polygons or worse?
> -W
>
> On Fri, May 8, 2009 at 9:02 AM, Olaf Raether wrote:
>
>> Hey , i would like to use drools solver for a 2d knapsack problem.
>> Has anyone expirience w
Hey , i would like to use drools solver for a 2d knapsack problem.
Has anyone expirience with that ?
Is drools solver made for such a task ?
Thank for hints
Olaf Raether
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org
15 matches
Mail list logo