java.lang.IllegalArgumentException: No enum constant org.bukkit.ChatColor.red

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 Androkai
, 1 year ago
No enum constant org.bukkit.ChatColor.red
via GitHub by jddcef
, 2 years ago
REPORT_SENDER is not a constant in the enum type class org.acra.ReportField
via YouTrack by Unknown author, 1 year ago
No enum const class jetbrains.buildServer.buildTriggers.vcs.git.Settings$UserNameStyle.U
via Oracle Community by Kaial, 1 year ago
No enum constant oracle.security.am.pswdmgmt.plugin.ExecutionMode.AUTHONLY
via Stack Overflow by aNoviceGuy
, 2 years ago
Package is not a constant in org.acra.ReportField
via GitHub by ssorallen
, 2 years ago
No enum constant mesosphere.marathon.Protos.Constraint.Operator.OPERATOR
java.lang.IllegalArgumentException: No enum constant org.bukkit.ChatColor.red
at java.lang.Enum.valueOf(Enum.java:238)
at org.bukkit.ChatColor.valueOf(ChatColor.java:1)
at com.scarsz.discordsrv.hooks.chat.VentureChatHook.broadcastMessageToChannel(VentureChatHook.java:57)
at com.scarsz.discordsrv.DiscordSRV.broadcastMessageToMinecraftServer(DiscordSRV.java:692)
at com.scarsz.discordsrv.listeners.DiscordListener.handleChat(DiscordListener.java:85)
at com.scarsz.discordsrv.listeners.DiscordListener.onMessageReceived(DiscordListener.java:37)
at com.scarsz.discordsrv.jda.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:184)
at com.scarsz.discordsrv.jda.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:64)
at com.scarsz.discordsrv.jda.handle.MessageReceivedHandler.handleDefaultMessage(MessageReceivedHandler.java:94)
at com.scarsz.discordsrv.jda.handle.MessageReceivedHandler.handleInternally(MessageReceivedHandler.java:50)
at com.scarsz.discordsrv.jda.handle.SocketHandler.handle(SocketHandler.java:38)
at com.scarsz.discordsrv.jda.requests.WebSocketClient.handleEvent(WebSocketClient.java:596)
at com.scarsz.discordsrv.jda.requests.WebSocketClient.onTextMessage(WebSocketClient.java:324)
at com.neovisionaries.ws.client.ListenerManager.callOnTextMessage(ListenerManager.java:352)
at com.neovisionaries.ws.client.ReadingThread.callOnTextMessage(ReadingThread.java:233)
at com.neovisionaries.ws.client.ReadingThread.callOnTextMessage(ReadingThread.java:211)
at com.neovisionaries.ws.client.ReadingThread.handleTextFrame(ReadingThread.java:910)
at com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:693)
at com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:102)
at com.neovisionaries.ws.client.ReadingThread.run(ReadingThread.java:61)

Users with the same issue

2 times, 1 day ago
Once, 1 month ago
Once, 4 months ago
2 times, 4 months ago
11 times, 6 months ago

Write tip

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