java.lang.ClassCastException: [Ljavax.management.openmbean.CompositeData; cannot be cast to javax.management.openmbean.CompositeData

Coderanch | Peter van Nes | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How to return non openType in MXBean

    Coderanch | 2 years ago | Peter van Nes
    java.lang.ClassCastException: [Ljavax.management.openmbean.CompositeData; cannot be cast to javax.management.openmbean.CompositeData

    Root Cause Analysis

    1. java.lang.ClassCastException

      [Ljavax.management.openmbean.CompositeData; cannot be cast to javax.management.openmbean.CompositeData

      at com.reddipped.sysstats.model.SystemInfoCollector.run()
    2. com.reddipped.sysstats
      SystemInfoCollector.run
      1. com.reddipped.sysstats.model.SystemInfoCollector.run(SystemInfoCollector.java:81)
      1 frame
    3. Java RT
      ScheduledThreadPoolExecutor$ScheduledFutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      4 frames