Pat,

 In my app I redirect the Interpreter Output to my PrintStream as follows :

m_BeanShellInterpreter.setOut(m_OutputPrintStream);

If I use a Hashmap in my scripts that has an element with a null value I get a null pointer Exceptionin Reflect.java.

I have had to modify the source, adding a try/catch block,  as folows:

// unwrap any primitives
tmpArgs = Primitive.unwrap( tmpArgs );

if ( Interpreter.DEBUG )
{
        try{
                            Interpreter.debug("Invoking method (after massaging values): "
                                +method+" with tmpArgs:" );
                        for(int i=0; i<tmpArgs.length; i++)
                                Interpreter.debug(
                                        "tmpArgs["+i+"] = "+tmpArgs[i]
                                        +" type = "+tmpArgs[i].getClass() );
                 }catch(Exception e){}
}

could this be fixed in the next build?

thx,

mp