[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2906) Configuring a drools:rule-agent with files property throws NullPointerException

Martin Putz (JIRA) jira-events at lists.jboss.org
Thu Apr 17 04:00:44 EDT 2008


Configuring a drools:rule-agent with files property throws NullPointerException
-------------------------------------------------------------------------------

                 Key: JBSEAM-2906
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2906
             Project: Seam
          Issue Type: Bug
          Components: Drools
    Affects Versions: 2.1.0.A1, 2.0.2.CR1, 2.0.1.GA
            Reporter: Martin Putz
         Attachments: RuleAgent.patch

Setting up a rule-agent in components.xml to use a binary package located on the disk:

<drools:rule-agent name="userRules"
    files="/home/mputz/jboss/work/jboss-eap-4.3/jboss-as/server/drools/data/cache/org.seedco.crm.eb.rules.drl.pkg"   
    poll="30" />

leads to a NullPointerException:

Caused by: java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:396)
at java.util.Properties.setProperty(Properties.java:128)
at org.jboss.seam.drools.RuleAgent.setLocalProperties(RuleAgent.java:65)
at org.jboss.seam.drools.RuleAgent.createAgent(RuleAgent.java:41)




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list