-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
使用mc功能就是为了简化替换class耗时过程,现在mc命令总数报错,请官方及时修复一下。 #2854
Comments
重新部署是最好的操作,不要太依赖这个! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
环境信息
最新版3.7.2
arthas-boot.jar
或者as.sh
的版本: 3.7.2arthas-boot
的版本: 3.7.2重现问题的步骤
线上代码,不做修改直接编译就报错。其他版本也试了不行。
[arthas@1]$ jad --source-only com.suninfo.siem.service.impl.SyslogServiceImpl > /tmp/SyslogServiceImpl.java [arthas@1]$ mc -c 33909752 /tmp/SyslogServiceImpl.java -d /tmp Memory compiler error, exception message: Compilation Error message: incompatible types: invalid method reference method getControlAdderss in class com.suninfo.userasset.entity.siem.SiemLogSource cannot be applied to given types required: no arguments found: java.lang.Object reason: actual and formal argument lists differ in length , line: 116 , message: incompatible types: java.lang.String[] cannot be converted to com.suninfo.siem.entity.siem.IteViewAlarmEventInfo , line: 312 , message: for-each not applicable to expression type required: array or java.lang.Iterable found: com.suninfo.siem.entity.siem.IteViewAlarmEventInfo , line: 312 , message: cannot find symbol symbol: method split(java.lang.String) location: variable messageStr of type com.suninfo.siem.entity.siem.IteViewAlarmEventInfo , line: 313 , , please check $HOME/logs/arthas/arthas.log for more details.
期望的结果
线上紧急问题,一遍遍替换class文件太麻烦了,如果能mc准确编译,支持线上修改代码就完美了,能有和动态语言一样的解决办法。期待及时修复该问题。谢谢
What do you expected from the above steps?
实际运行的结果
实际运行结果,最好有详细的日志,异常栈。尽量贴文本。
The text was updated successfully, but these errors were encountered: