java.lang.RuntimeException: Wrong number of settings: expected 4 to equal 6

JDK Bug System | Joseph Provino | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.RuntimeException

    Wrong number of settings: expected 4 to equal 6

    at jdk.testlibrary.Asserts.fail()
  2. jdk.testlibrary
    Asserts.assertEquals
    1. jdk.testlibrary.Asserts.fail(Asserts.java:540)
    2. jdk.testlibrary.Asserts.assertEquals(Asserts.java:209)
    2 frames
  3. com.oracle.jfr
    TestGetDefaultValues.main
    1. com.oracle.jfr.api.metadata.eventtype.TestGetDefaultValues.testCustomWithPeriod(TestGetDefaultValues.java:40)
    2. com.oracle.jfr.api.metadata.eventtype.TestGetDefaultValues.main(TestGetDefaultValues.java:26)
    2 frames