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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via java.net by Unknown author, 2 years ago
The line '79360 -Dmultiple.lines=line 1 line 2 line 3 -Dopen.quote=Open quote to EOL -Dcontinue.with.leadingWS=Continue with leading WS. -Dcontinue.without.leadingWS=Continue without leading WS. -Descape.seq=escaped chars: "abc\u000c v96238228377477278287 ' does not match pattern '^\d+\s+.*': expected true, was false
via JDK Bug System by Alejandro Murillo, 1 year ago
No or invalid headline found, expected: [S0 S1 E O M CCS YGC YGCT FGC FGCT GCT]: expected true, was false
via JDK Bug System by Gerard Ziemski, 1 year ago
The ouput should contain all content of /scratch/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/rt_baseline/JT_JDK/test/sun/tools/jcmd/usage.out: expected true, was false
java.lang.RuntimeException: Wrong number of settings: expected 4 to equal 6
at jdk.testlibrary.Asserts.fail(Asserts.java:540)
at jdk.testlibrary.Asserts.assertEquals(Asserts.java:209)
at com.oracle.jfr.api.metadata.eventtype.TestGetDefaultValues.testCustomWithPeriod(TestGetDefaultValues.java:40)
at com.oracle.jfr.api.metadata.eventtype.TestGetDefaultValues.main(TestGetDefaultValues.java:26)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.