标签:pos 项目 查找 alt create ndt this http cat
添加PartyLocationRepository后,再次在Ubuntu中编译项目,再次报空指针异常。
直接在createDto处打断点,然后debug每个表达式的值,找出来到底是哪个为null。
经过分析,发现是this.getConverter()为null,而这个Converter是和PartyLocationEntity以及PartyLocationDto对应的。因此,这里还需要写个PartyLocationEntity和PartyLocationDto关联的PartyLocationConver类。
debug---null Pointer Exception--一步步查找(2)
标签:pos 项目 查找 alt create ndt this http cat
原文地址:http://www.cnblogs.com/lchzls/p/7068210.html