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

Explosion Game rewrite requires #33

Open
qsef1256 opened this issue Feb 9, 2024 · 1 comment · Fixed by #39 · May be fixed by #40
Open

Explosion Game rewrite requires #33

qsef1256 opened this issue Feb 9, 2024 · 1 comment · Fixed by #39 · May be fixed by #40
Assignees
Labels
bug Something isn't working refactor Refactoring

Comments

@qsef1256
Copy link
Owner

qsef1256 commented Feb 9, 2024

java.lang.NullPointerException: Cannot invoke "net.qsef1256.dacobot.game.explosion.domain.itemtype.ItemTypeEntity.getItemIcon()" because "itemType" is null
	at net.qsef1256.dacobot.game.explosion.domain.inventory.InventoryService.lambda$getInventoryEmbed$0(InventoryService.java:51)
	at java.base/java.util.Map.forEach(Map.java:713)
	at net.qsef1256.dacobot.game.explosion.domain.inventory.InventoryService.getInventoryEmbed(InventoryService.java:47)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:351)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:765)
	at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:385)
	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:765)
	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:717)
	at net.qsef1256.dacobot.game.explosion.domain.inventory.InventoryService$$SpringCGLIB$$0.getInventoryEmbed(<generated>)
	at net.qsef1256.dacobot.game.explosion.command.InventoryCommand$SeeCommand.execute(InventoryCommand.java:66)
	at com.jagrosh.jdautilities.command.SlashCommand.run(SlashCommand.java:322)
	at com.jagrosh.jdautilities.command.impl.CommandClientImpl.onSlashCommand(CommandClientImpl.java:936)
	at com.jagrosh.jdautilities.command.impl.CommandClientImpl.onEvent(CommandClientImpl.java:626)
	at net.dv8tion.jda.api.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:96)
	at net.dv8tion.jda.internal.hooks.EventManagerProxy.handleInternally(EventManagerProxy.java:88)
	at net.dv8tion.jda.internal.hooks.EventManagerProxy.handle(EventManagerProxy.java:70)
	at net.dv8tion.jda.internal.JDAImpl.handleEvent(JDAImpl.java:173)
	at net.dv8tion.jda.internal.handle.InteractionCreateHandler.handleCommand(InteractionCreateHandler.java:112)
	at net.dv8tion.jda.internal.handle.InteractionCreateHandler.handleInternally(InteractionCreateHandler.java:83)
	at net.dv8tion.jda.internal.handle.SocketHandler.handle(SocketHandler.java:39)
	at net.dv8tion.jda.internal.requests.WebSocketClient.onDispatch(WebSocketClient.java:1007)
	at net.dv8tion.jda.internal.requests.WebSocketClient.onEvent(WebSocketClient.java:893)
	at net.dv8tion.jda.internal.requests.WebSocketClient.handleEvent(WebSocketClient.java:871)
	at net.dv8tion.jda.internal.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:1046)
	at com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:385)
	at com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:276)
	at com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:996)
	at com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:755)
	at com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:108)
	at com.neovisionaries.ws.client.ReadingThread.runMain(ReadingThread.java:64)
	at com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45)
	```
@qsef1256 qsef1256 added the bug Something isn't working label Feb 9, 2024
@qsef1256 qsef1256 self-assigned this Feb 9, 2024
@qsef1256 qsef1256 changed the title Failed to add item to user Explosion Game rewrite requires Feb 17, 2024
@qsef1256
Copy link
Owner Author

Cash 등의 부분에서도 문제가 발생하고 있으며, 별개의 issue로 다루는 것이 아니라 미완성인 부분을 완성시켜야 한다고 판단됨

@qsef1256 qsef1256 reopened this Feb 20, 2024
@qsef1256 qsef1256 linked a pull request Feb 20, 2024 that will close this issue
@qsef1256 qsef1256 added the refactor Refactoring label Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working refactor Refactoring
Projects
None yet
1 participant