Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3541 | major | random | 06-01-09 07:49 | 09-10-09 12:39 | |
|
|||||
Reporter: | johnsavior | Platform: | |||
Assigned To: | nam | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.0 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.2 | ||
|
|||||
Summary: | 0003541: java.lang.NullPointerException running Yii | ||||
Description: |
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; } |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|