Re: [rules-users] Multiple Object Referencing problem

2010-06-08 Thread Fnu Mahalakshmi
m (Esteban Aliverti) 2. Re: Exception using persistence (alan.gai...@tessella.com) -- Message: 1 Date: Tue, 8 Jun 2010 09:25:47 -0300 From: Esteban Aliverti Subject: Re: [rules-users] Multiple Object Referencing problem To:

Re: [rules-users] Multiple Object Referencing problem

2010-06-08 Thread Esteban Aliverti
Look at the line 58 of RulesTest class and you will find the problem. Try to always analyse the stacktrace if there are no drools classes involved, then it is not a Drools error. And remember, the debugger is your friend ;) Best, 2010/6/7 David Sinclair > This has nothing to do with Drools. It

Re: [rules-users] Multiple Object Referencing problem

2010-06-07 Thread David Sinclair
This has nothing to do with Drools. It looks like you are giving Writer bad input perhaps?? Exception in thread "main" *java.lang.NullPointerException* at java.io.Writer.write(Unknown Source) at com.org.RulesTest.main(*RulesTest.java:58*) 2010/6/7 Fnu Mahalakshmi > Hi, > > > >

[rules-users] Multiple Object Referencing problem

2010-06-07 Thread Fnu Mahalakshmi
Hi, I am trying out this example from the book : public class Room { private String name // getter and setter methods here } public classs Sprinkler { private Room room; private boolean on; // getter and setter methods here } public class Fire { private Room room