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

java.lang.NullPointerException: 	at Commands.PingCommand.action(	at Bot1.handleCommand(	at BotListener.onMessageReceived(	at net.dv8tion.jda.hooks.ListenerAdapter.onEvent(	at net.dv8tion.jda.hooks.InterfacedEventManager.handle(	at net.dv8tion.jda.handle.MessageReceivedHandler.handleInternally(	at net.dv8tion.jda.handle.SocketHandler.handle(	at net.dv8tion.jda.requests.WebSocketClient.handleEvent(	at net.dv8tion.jda.requests.WebSocketClient.onTextMessage(	at	at	at	at	at	at