Lol, I guess I need a cup of coffee.

   Yes, that was what I meant.

   Edson

2011/10/7 Michael Anstis <michael.anstis@gmail.com>

Edson, you mean 5.3.Final?

sent on the move

On 7 Oct 2011 21:08, "Edson Tirelli" <ed.tirelli@gmail.com> wrote:


   This is fixed in master. Will be in 3.1 final release.

   Edson

2011/10/7 mike9322 <michael.melton.ctr@navy.mil>

laune wrote:
>
> There's a bug in the incremental build as done by the KnowledgeAgent. If
> the
> KA configuration property drools.agent.newInstance is set to false, some
> type information is not put into the new KBase.
>

I added the following comment to the JIRA related to this issue
(https://issues.jboss.org/browse/JBRULES-3145).  Cross-posting here in case
anyone else is having the issue and arrives here via Google like I did.

"I am seeing the same behavior with my KA newInstance = true. I was able to
workaround it by ensuring that my event POJOs are defined in the same
package as my rules.

In other words, this DOES NOT work:
Rule package: com.example.rules
POJO package: com.example.rules.model (import statements included in DRL)

This DOES work:
Rule package: com.example.rules
POJO package: com.example.rules (no import statements required)

I did not have to move my event declaration to my DRL; they are still POJOs.
I would prefer to have my POJOs in their own package but I can live with
this workaround for now."

Mike


--
View this message in context: http://drools.46999.n3.nabble.com/NPE-on-fact-insertion-if-rule-has-sliding-window-tp3163261p3403934.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



--
  Edson Tirelli
  JBoss Drools Core Development
  JBoss by Red Hat @ www.jboss.com

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users




--
  Edson Tirelli
  JBoss Drools Core Development
  JBoss by Red Hat @ www.jboss.com