java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.lang.String

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 GitHub by random1167
, 1 year ago
java.util.LinkedHashMap cannot be cast to java.lang.String
via GitHub by KirjoZzZ
, 2 years ago
java.util.LinkedHashMap cannot be cast to java.lang.String
java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.lang.String
at net.md_5.bungee.util.CaseInsensitiveHashingStrategy.computeHashCode(CaseInsensitiveHashingStrategy.java:13)
at gnu.trove.impl.hash.TCustomObjectHash.hash(TCustomObjectHash.java:94)
at gnu.trove.impl.hash.TObjectHash.insertKey(TObjectHash.java:280)
at gnu.trove.set.hash.TCustomHashSet.add(TCustomHashSet.java:114)
at gnu.trove.set.hash.TCustomHashSet.addAll(TCustomHashSet.java:297)
at gnu.trove.set.hash.TCustomHashSet.(TCustomHashSet.java:103)
at net.md_5.bungee.util.CaseInsensitiveSet.(CaseInsensitiveSet.java:16)
at net.md_5.bungee.conf.Configuration.load(Configuration.java:88)
at net.md_5.bungee.BungeeCord.start(BungeeCord.java:259)
at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:55)
at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)

Users with the same issue

You are the first who have seen this exception.

Write tip

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