Details
-
Bug
-
Resolution: Fixed
-
P2
-
11
-
b16
-
Verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8212674 | 11.0.2 | Mandy Chung | P2 | Closed | Fixed | b02 |
Description
See http://mail.openjdk.java.net/pipermail/jdk-dev/2018-October/002107.html
javax.management.openmbean.OpenDataException: Argument value of wrong type for item lineNumber: value java.lang.ref.Reference, type javax.management.openmbean.SimpleType(name=java.lang.Integer)
at java.management/javax.management.openmbean.CompositeDataSupport.<init>(CompositeDataSupport.java:235)
at java.management/javax.management.openmbean.CompositeDataSupport.<init>(CompositeDataSupport.java:118)
at java.management/sun.management.StackTraceElementCompositeData.getCompositeData(StackTraceElementCompositeData.java:91)
Caused: java.lang.AssertionError
at java.management/sun.management.StackTraceElementCompositeData.getCompositeData(StackTraceElementCompositeData.java:96)
at java.management/sun.management.StackTraceElementCompositeData.toCompositeData(StackTraceElementCompositeData.java:74)
at java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:82)
at java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
Caused: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
Caused: java.lang.RuntimeException
at org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:184)
at org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
at org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
at org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
at org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
[catch] at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
at org.netbeans.modules.sampler.Sampler.stop(Sampler.java:207)
at org.netbeans.core.ui.sampler.SelfSamplerAction$1.doInBackground(SelfSamplerAction.java:90)
at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
javax.management.openmbean.OpenDataException: Argument value of wrong type for item lineNumber: value java.lang.ref.Reference, type javax.management.openmbean.SimpleType(name=java.lang.Integer)
at java.management/javax.management.openmbean.CompositeDataSupport.<init>(CompositeDataSupport.java:235)
at java.management/javax.management.openmbean.CompositeDataSupport.<init>(CompositeDataSupport.java:118)
at java.management/sun.management.StackTraceElementCompositeData.getCompositeData(StackTraceElementCompositeData.java:91)
Caused: java.lang.AssertionError
at java.management/sun.management.StackTraceElementCompositeData.getCompositeData(StackTraceElementCompositeData.java:96)
at java.management/sun.management.StackTraceElementCompositeData.toCompositeData(StackTraceElementCompositeData.java:74)
at java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:82)
at java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
Caused: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
Caused: java.lang.RuntimeException
at org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:184)
at org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
at org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
at org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
at org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
[catch] at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
at org.netbeans.modules.sampler.Sampler.stop(Sampler.java:207)
at org.netbeans.core.ui.sampler.SelfSamplerAction$1.doInBackground(SelfSamplerAction.java:90)
at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Attachments
Issue Links
- backported by
-
JDK-8212674 OpenDataException thrown when constructing CompositeData for StackTraceElement
-
- Closed
-
- relates to
-
JDK-8212795 ThreadInfoCompositeData.toCompositeData fails to map ThreadInfo to CompositeData
-
- Closed
-
-
JDK-8198253 ThreadInfo.from(CompositeData) incorrectly accepts CompositeData with missing JDK 6 attributes
-
- Resolved
-