Skip to content
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

[Bug]: #1951

Open
3 tasks done
olddriver-1 opened this issue Nov 29, 2024 · 0 comments
Open
3 tasks done

[Bug]: #1951

olddriver-1 opened this issue Nov 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@olddriver-1
Copy link

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.
  • I am not looking for support or already pursued the available support channels without success.

Version

1.15.0

Installation Type

Official Docker Compose

Service Name

DongTai-agent-java

Describe the details of the bug and the steps to reproduce it

安装java agent时,agent没有看到上线。在/tmp/dongtai-root/v1.12.0/logs/dongtai_javaagent-0.log看到这个报错。帮忙看下问题。

2024-11-29 10:59:14 [io.dongtai.iast.agent] [ERROR] [10214] agent parse https://xxxx/openapi register response failed, Exception: java.lang.NullPointerException: Cannot invoke "io.dongtai.iast.thirdparty.com.alibaba.fastjson2.JSONObject.get(String)" because "responseObj" is null, StackTrace: java.lang.NullPointerException: Cannot invoke "io.dongtai.iast.thirdparty.com.alibaba.fastjson2.JSONObject.get(String)" because "responseObj" is null
at io.dongtai.iast.agent.report.AgentRegisterReport.setAgentData(AgentRegisterReport.java:263)
at io.dongtai.iast.agent.report.AgentRegisterReport.register(AgentRegisterReport.java:233)
at io.dongtai.iast.agent.report.AgentRegisterReport.send(AgentRegisterReport.java:251)
at io.dongtai.iast.agent.AgentLauncher.install(AgentLauncher.java:162)
at io.dongtai.iast.agent.AgentLauncher.agentmain(AgentLauncher.java:137)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:560)
at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(InstrumentationImpl.java:582)

2024-11-29 10:59:14 [io.dongtai.iast.agent] [ERROR] [10215] agent register info invalid, start without DongTai IAST

Additional Information

No response

Logs

No response

@olddriver-1 olddriver-1 added the bug Something isn't working label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant