Well, be sure to call printStackTrace() on the exception object. If
you're running with JIT turned off (java -nojit for JDK 1.1.7,
set JAVA_COMPILER=NONE for JDK 1.2) the stack trace should show you
line numbers. Generally from the line numbers, it's pretty easy to
find out where the exception originates. Then fix it :) Seriously, if
the stack trace doesn't make it obvious, you could share it with us.
I think Ji Lu wrote:
>
> Hi Ernest,
>
> I'm trying to route Jess's output to a TextArea on my GUI using the class
> jess.TextAreaOutputStream. I followed jess/ConsoleDisplay.java,
> jess/Console.java and your jess manual. I have one class which implements
> ReteDisplay and returns a wrapped TestAreaOutputStream from the stdout(). Then
> I construct a jess.Rete object with an instance of this class.
>
> But when I execute the program, I always get an java.lang.NullPointerException.
> Could you kindly help solve this problem?
>
> Thanks a lot.
>
> Ji
>
> ---------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
> in the BODY of a message to [EMAIL PROTECTED], NOT to the
> list. List problems? Notify [EMAIL PROTECTED]
> ---------------------------------------------------------------------
>
>
---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
Org. 8920, MS 9214 [EMAIL PROTECTED]
PO Box 969 http://herzberg.ca.sandia.gov
Livermore, CA 94550
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------