[rules-users] NPE for any @role( event )

Wolfgang Laun wolfgang.laun at gmail.com
Tue Jan 24 15:06:10 EST 2012


This is indeed very confusing.

The methods

public static KnowledgeBuilder newKnowledgeBuilder(KnowledgeBase kbase)
public static KnowledgeBuilder newKnowledgeBuilder(KnowledgeBase kbase,

KnowledgeBuilderConfiguration conf)

are - although in the stable API - without any documentation.
Apparently it is an alternative way for populating a KBase, but who
knows?

Why just a
   @role(event)
is disregarded when these forms of builder creation is used looks like
a bug to me.

-W



More information about the rules-users mailing list