-
Notifications
You must be signed in to change notification settings - Fork 285
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
预编译插件,一个实体被多个实体依赖时预编译中断 #208
Comments
164行的 return 应该处理没有问题。但是 195行的return 不合理,应该是continue |
fix at 2.2.11 |
Caused by: jodd.io.findfile.FindFileException: Scan entry error: EntryData{com.*.ApiAccountUnit'}; <--- java.lang.NullPointerException |
收到,我分析一下 |
npe是因为生成的Proto内容为null, 用 2.4.22 版本可以测试一下 |
compileDependencies为true时,某个实体被多个实体依赖,在第二次检测依赖时由于预编译文件已生成而直接退出,输出以下日志:
no modify class 'xxx', will skip precompile.
看代码这里是不是应该把return改为continue呢
jprotobuf/jprotobuf-precompile-plugin/src/main/java/com/baidu/jprotobuf/mojo/JprotobufPreCompileMain.java
Line 164 in 0e326bf
The text was updated successfully, but these errors were encountered: