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

CompletionException: java.lang.NullPointerException: Cannot invoke "net.dv8tion.jda.api.entities.Message.getId()" beca... #300

Closed
sentry-io bot opened this issue Mar 3, 2023 · 0 comments
Labels
bug Something isn't working p1 High priority.
Milestone

Comments

@sentry-io
Copy link

sentry-io bot commented Mar 3, 2023

Sentry Issue: REE6-JAVA-24

NullPointerException: Cannot invoke "net.dv8tion.jda.api.entities.Message.getId()" because the return value of "de.presti.ree6.commands.CommandEvent.getMessage()" is null
    at de.presti.ree6.commands.impl.fun.Cringe.onPerform(Cringe.java:23)
    at de.presti.ree6.commands.interfaces.ICommand.lambda$onASyncPerform$0(ICommand.java:28)
    at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
    at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796)
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
...
(4 additional frame(s) were not displayed)

CompletionException: java.lang.NullPointerException: Cannot invoke "net.dv8tion.jda.api.entities.Message.getId()" because the return value of "de.presti.ree6.commands.CommandEvent.getMessage()" is null
    at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
    at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
    at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1807)
    at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796)
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
...
(4 additional frame(s) were not displayed)
@DxsSucuk DxsSucuk added bug Something isn't working p1 High priority. labels Mar 3, 2023
@DxsSucuk DxsSucuk moved this to TODO in Roadmap/TODO List Mar 3, 2023
@DxsSucuk DxsSucuk added this to the 2.x.x milestone Mar 3, 2023
DxsSucuk added a commit that referenced this issue Mar 3, 2023
@DxsSucuk DxsSucuk closed this as completed Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p1 High priority.
Projects
Archived in project
Development

No branches or pull requests

1 participant