2010-08-31 30 views
0

Struts2中的調試標記不斷收到此錯誤。任何想法可能導致這種情況?Struts2調試標記認爲toString()是未定義的

FreeMarker template error! 

Expression stackObject.value.get(propertyName).toString() is undefined on line 58, column 122 in template/simple/debug.ftl. 
The problematic instruction: 
---------- 
==> ${stackObject.value.get(propertyName).toString()?html} [on line 58, column 120 in template/simple/debug.ftl] 
in include "/${parameters.templateDir}/simple/debug.ftl" [on line 23, column 1 in template/xhtml/debug.ftl] 
---------- 

回答

0

沒關係。值堆棧有一個重寫爲toString方法的對象,返回null。

相關問題