请问应该怎么改
tempUser是不是null?getAccount()和getPassword()是不是返回了空?queryLogin怎么实现的,尤其是遇到报错,或者登录失败,是怎么返回的,是不是返回的null
Login 类的 57 行看看是什么代码,在对象的 . 操作之前,先做一些判空。有可能 userloginDao 为空,也可能是 tempUser 为空了。