Mantis - Quercus
Viewing Issue Advanced Details
3541 major random 06-01-09 07:49 09-10-09 12:39
johnsavior  
nam  
normal  
closed 4.0.0  
fixed  
none    
none 4.0.2  
0003541: java.lang.NullPointerException running Yii
in clone() method ObjectExtValue.java, you pass Env as "null" but in AbstractFunction.java in CallMethod you have Value oldThis = env.getThis();
so everytime that clone method is called you get a nullpointerexception.

public Value clone()
  {
    ObjectExtValue newObject = new ObjectExtValue(_quercusClass);

    for (Map.Entry<Value,Value> entry : entrySet()) {
      newObject.putThisField(null,
                 (StringValue) entry.getKey(),
                 entry.getValue());
    }

    return newObject;
  }

Notes
(0004238)
nam   
09-10-09 12:39   
php/090r
php/390r