• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home
  • Public Forums
  • Application Monitoring & UEM
  • AppMon & UEM Open Q&A
avatar image
Question by Richard M. · Mar 28, 2014 at 10:59 AM ·

Weblogic 12 JDK 1.7 "jvmtiStringPrimitiveCallback should not be invoked when string value is null"

HI,

 

One of our clients is experiencing the following error "jvmtiStringPrimitiveCallback" before the JVM crashes with a Fatal Java Error.

 

This has been reported before on the openjdk forum (http://comments.gmane.org/gmane.comp.java.openjdk.hotspot.devel/12363) and Dynatrace has been identified as a possible cause for this.

JVM Information:

Weblogic 12 64 bit (Linux)

JDK 1.7

 

I will raise a support ticket for this but just curious if anyone else has experienced this problem?

 

Thanks

Richard

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

5 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image
Best Answer

Answer by Richard M. · Oct 16, 2014 at 06:25 PM

My apologies we did actually raise a support ticket for this and It appears to have been caused by the automatic memory dumps that include string capturing by default. We disabled automatic memory dumps on the agent group configuration which resolved the issue. Also in the longer term the issue was resolved by increasing the heap memory for the JVM's as they were having memory issues so maybe check if you aren't having memory problems on the jvm's?

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Kevin H. · Nov 13, 2014 at 10:16 AM

Hi Richard,

We are also experiencing the same issue, Weblogic 12c and JDK 7. Our logs show:

# Problematic frame:

# V  [libjvm.so+0x708d5b]  invoke_string_value_callback(int (*)(long, long, long*, unsigned short const*, int, void*), CallbackWrapper*, oopDesc*, void*)+0x11b

How is dynaTrace progressing on finding a permanent fix? We have disabled automated memory dumps temporarily

Thanks,

Kevin

 

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by phillip r. · Oct 17, 2014 at 12:50 AM

Thank you so much for your quick replies! I am fairly certain we are having Memory issues on this JVM, however, we have increased heap size previously- only to have the OutOfMemory condition return. So, it's vital that we get a heap dump to analyze. One thing I found while researching this is a "bug" caused by a method invocation common among profiling tools:

"# Problematic frame:

# V  [libjvm.so+0x708d0b]  invoke_string_value_callback(int (*)(long, long, long*, unsigned short const*, int, void*), CallbackWrapper*, oopDesc*, void*)+0x11b

https://bugs.openjdk.java.net/browse/JDK-6584008

One of the profiler vendors reports a crash when they enable the jvmtiStringPrimitiveCallback implementation. From the description it appears that the heap iteration (IterateThroughHeap) encounters a partially constructed java.lang.String. That is, the value field is null. The invoke_string_value_callback function doesn't check for this case and so will crash."

 

So, I want to see if this is something known in dynatrace- and if it's been addressed specifically.

 

We are opening a case today-

 

Thanks again!

 

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Richard M. · Oct 16, 2014 at 05:45 PM

Hi Philip, we didn't raise a support ticket for it the client rather removed dynatrace for a while to rule it out. However they did find the cause and fixed it I will find out what they did and get back to you.

Richard

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by phillip r. · Oct 16, 2014 at 05:56 AM

Hi Richard, we are suspecting that this issue happened in our Jetty Environment- did you open a case and get any feedback?

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A