顯示學生信息時報錯
?ERROR org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler - Exception occurred during processing request: null
java.lang.NullPointerException
在點學生信息時出現(xiàn)了以上錯誤,請問這是什么原因?
?ERROR org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler - Exception occurred during processing request: null
java.lang.NullPointerException
在點學生信息時出現(xiàn)了以上錯誤,請問這是什么原因?
2015-12-16
舉報
2015-12-23
調(diào)用的對象為空了,DEBUG跟蹤看下哪個地方獲取的值不對
2015-12-16
NullPointerException說明對象沒得到為null,然后調(diào)用方法就會空指針,也就是NullPointerException