My Oracle Support Banner

The jmap Tool Fails with an "AssertionFailure: can not get class data for sun/net/ExtendedOptionsImpl$$Lambda" Error (Doc ID 1994232.1)

Last updated on OCTOBER 12, 2018

Applies to:

Java SE JDK and JRE - Version 8 and later
Information in this document applies to any platform.


On Java SE 8 update 20 or later, 64-bit, on Solaris/Linux, jmap -F fails to dump the heap with the following error:

jmap -F -dump:live,format=b,file=/temp.hprof 15241
Attaching to process ID 15241, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 25.31-b07
Dumping heap to /temp.hprof ...
Exception in thread "main" java.lang.reflect.InvocationTargetException
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(
  at java.lang.reflect.Method.invoke(
Caused by: sun.jvm.hotspot.utilities.AssertionFailure: can not get class data for sun/net/ExtendedOptionsImpl$$Lambda$10xfffffd7f49a9a428
  at sun.jvm.hotspot.utilities.Assert.that(
  at sun.jvm.hotspot.utilities.HeapHprofBinWriter.writeInstance(
  at sun.jvm.hotspot.utilities.AbstractHeapGraphWriter$1.doObj(
  at sun.jvm.hotspot.oops.ObjectHeap.iterateLiveRegions(
  at sun.jvm.hotspot.oops.ObjectHeap.iterate(
  at sun.jvm.hotspot.utilities.AbstractHeapGraphWriter.write(
  at sun.jvm.hotspot.utilities.HeapHprofBinWriter.write(




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.