-
Notifications
You must be signed in to change notification settings - Fork 324
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
The agent is unable to instrument ManagedExecutorService and crashes the thread #589
Comments
Our guard against Lines 95 to 100 in 2ca66d6
This only guards against queues which don't accept a certain implementation. However, the A workaround is to add |
I have drafted a fix for this. Could you try out the attached snapshot build to see if it works for you? #596 (comment) |
Thanks for the quick response. Unfortunately it behaves the same way. |
Hmm, that's strange. Is there a full stack trace available for this message?
|
Well not in logs. But I've caught the stacktrace on exception breakpoint:
|
Oh, right. It's not enough to exclude A temporary workaround is to disable context propagation for thread pools altogether by setting I'll think about a proper solution. |
@felixbarny
|
he i had a problem with java agent in JBOSS, the log show error |
The APM agent is unable to instrument the
ManagedExecutorService
.Whenever a
Callable
is submitted invocation crashes with:Environment
OpenJDK 1.8.0_191 (build 1.8.0_191-8u191-b12-2ubuntu0.18.04.1-b12)
Wildfly 9.0.2.Final
APM agent 1.5.0, 1.6.0-SNAPSHOT at fb3c7cd
Default Wildfly EE configuration:
Click to expand
Nothing to see in debug logs, except for loads of these:
The text was updated successfully, but these errors were encountered: