-
Notifications
You must be signed in to change notification settings - Fork 942
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.b.45转换为json时,报空指针 (getter方法调用失败) #343
Comments
把完整的堆栈贴出来,怎么我觉得不是id字段的错误 而是某个getXXX方法的问题 |
完整的错误: |
由此引发另一个错误: |
呵呵 兽兽麻烦你了! |
getLeft()的返回值是什么呢? so, 你可以试试最新的代码 |
我们是用的 lombok来实现的自动产生get和set |
你用了 @JsonField(getBy) ?? 贴出来? |
没有用啊,我就是定义了一个那样的实体
} |
最后发现是Record.toString()过程中的异常 |
lombz ... |
额? 没事了吧?我关掉了 |
错误信息
错误产生:
这个idEntity只有进行json序列化就产生该异常。
The text was updated successfully, but these errors were encountered: