Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Analyzer - NumberFormatException: Cannot parse null string #234

Closed
sentry-io bot opened this issue Jun 9, 2022 · 4 comments · Fixed by #265
Closed

Error Analyzer - NumberFormatException: Cannot parse null string #234

sentry-io bot opened this issue Jun 9, 2022 · 4 comments · Fixed by #265
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@sentry-io
Copy link

sentry-io bot commented Jun 9, 2022

Sentry Issue: GEYSERDISCORDBOT-3A

NumberFormatException: Cannot parse null string
    at java.lang.Integer.parseInt(Integer.java:630)
    at java.lang.Integer.parseInt(Integer.java:786)
    at org.geysermc.discordbot.listeners.ErrorAnalyzer.errorHandler(ErrorAnalyzer.java:233)
    at org.geysermc.discordbot.listeners.ErrorAnalyzer.handleLog(ErrorAnalyzer.java:177)
    at org.geysermc.discordbot.listeners.ErrorAnalyzer.onMessageReceived(ErrorAnalyzer.java:123)
...
(19 additional frame(s) were not displayed)

One of the EventListeners had an uncaught exception

From: proxy.log

@Konicai
Copy link
Member

Konicai commented Jun 23, 2022

Check for null getLine() here:

String lineUrl = fileFinder.getFileUrl(line.getSource(), Integer.parseInt(line.getLine()));

@Konicai Konicai added bug Something isn't working good first issue Good for newcomers labels Jun 23, 2022
@DhwanishShah
Copy link
Contributor

DhwanishShah commented Nov 28, 2022

Hi, I want to work on this issue. Can you please assign me this issue? @Konicai

@DhwanishShah
Copy link
Contributor

I have raised the PR for this issue.

@Chew Chew linked a pull request Nov 29, 2022 that will close this issue
@surendranaik123

This comment was marked as spam.

@GeyserMC GeyserMC locked as resolved and limited conversation to collaborators Jun 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants