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

Alpha7中,频道收消息会出现NPE #20

Closed
qfys521 opened this issue Dec 13, 2023 · 0 comments
Closed

Alpha7中,频道收消息会出现NPE #20

qfys521 opened this issue Dec 13, 2023 · 0 comments

Comments

@qfys521
Copy link

qfys521 commented Dec 13, 2023

java.lang.NullPointerException: Cannot invoke "io.github.kloping.qqbot.entities.
qqpd.Guild.setMember(io.github.kloping.qqbot.entities.qqpd.Member)" because the
return value of "io.github.kloping.qqbot.impl.BaseMemberUpdateEvent.getGuild()"
is null
        at io.github.kloping.qqbot.impl.BaseMemberUpdateEvent.<init>(BaseMemberU
pdateEvent.java:21)
        at io.github.kloping.qqbot.impl.registers.MemberEventRegisters.handle(Me
mberEventRegisters.java:43)
        at io.github.kloping.qqbot.network.Events.onEvent(Events.java:78)
        at io.github.kloping.qqbot.network.Events.lambda$onReceive$0(Events.java
:47)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executo
rs.java:539)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoo
lExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPo
olExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:833)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant