question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BETA: NumberFormatExeption.forInputString after trying command with " " spaces

See original GitHub issue
java.lang.NumberFormatException: For input string: "hmm"
        at java.lang.NumberFormatException.forInputString(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at net.dirtydeeds.discordsoundboard.ChatSoundBoardListener.onMessageReceived(ChatSoundBoardListener.java:241)
        at net.dv8tion.jda.core.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:326)
        at net.dv8tion.jda.core.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:84)
        at net.dv8tion.jda.core.handle.MessageCreateHandler.handleDefaultMessage(MessageCreateHandler.java:128)
        at net.dv8tion.jda.core.handle.MessageCreateHandler.handleInternally(MessageCreateHandler.java:50)
        at net.dv8tion.jda.core.handle.SocketHandler.handle(SocketHandler.java:38)
        at net.dv8tion.jda.core.requests.WebSocketClient.handleEvent(WebSocketClient.java:688)
        at net.dv8tion.jda.core.requests.WebSocketClient.onTextMessage(WebSocketClient.java:437)
        at com.neovisionaries.ws.client.ListenerManager.callOnTextMessage(ListenerManager.java:352)
        at com.neovisionaries.ws.client.ReadingThread.callOnTextMessage(ReadingThread.java:262)
        at com.neovisionaries.ws.client.ReadingThread.callOnTextMessage(ReadingThread.java:240)
        at com.neovisionaries.ws.client.ReadingThread.handleTextFrame(ReadingThread.java:965)
        at com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:748)
        at com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:110)
        at com.neovisionaries.ws.client.ReadingThread.run(ReadingThread.java:66)

Seems to be a problem with soundfiles that contain a " " Space in the filename.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
SarcevicAntoniocommented, Feb 18, 2017

Sorry for sharing a bug i found. No need to get pissed about it. Calm down.

z1g notifications@github.com schrieb am So., 19. Feb. 2017, 00:24:

@LinkPlay9 https://github.com/LinkPlay9 If it is so obvious why would you open a ticket? Grats on finding what you believe to be a bug and wasting others time.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/Darkside138/DiscordSoundboard/issues/54#issuecomment-280882880, or mute the thread https://github.com/notifications/unsubscribe-auth/AGYCEJeOEWYs6K0PEVY3GUXYwx2NkZ-pks5rd32ngaJpZM4ME4Vs .

0reactions
georgefrickcommented, Mar 31, 2017

@LinkPlay9 @z1g I’ve submitted a fix for this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

java.lang.NumberFormatException: For input string "v2.6.5.2"
I have little knowledge in JAVA, but the return I believe should come in String for him different types of characters, besides space....
Read more >
10 Reasons of java.lang.NumberFormatException in ... - Java67
This error comes when you try to convert a String into numeric data types e.g., int, float, double, long, short, char, or byte....
Read more >
[SOLVED] Error executing CLI commands (system failure: java ...
NumberFormatException: For input string: "3|") ... virtual machine on which deployed zimbra, when executing CLI commands, an error occurs:
Read more >
[Solved] java.lang.NumberFormatException: For input string
This exception occurs when someone tries to convert a String into primitive data types such as int, float, double, long, byte, short, etc....
Read more >
238139 – NumberFormatException: For input string: "0s."
This issue was reported manually by alexvsimon. It already has 2 duplicates Build: NetBeans IDE 7.4 Beta (Build 201307092200) VM: Java ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found