Menu

#3 Object of type "net.yura.lobby.database.User" was not detached correctly

1.0
open
nobody
None
2023-02-15
2023-02-15
Yura
No

2023-02-15 18:43:47 WARNING: endTransaction close error JPAInteraction 1676486627216 org.datanucleus.api.jpa.JPAEntityManager@64f73f84 org.datanucleus.api.jpa.JPAEntityTransaction@b046fd
1
javax.persistence.PersistenceException: Object of type "net.yura.lobby.database.User" and identity "513113" was not detached correctly. Please consult the log for any possible informatio
n.
at org.datanucleus.api.jpa.NucleusJPAHelper.getJPAExceptionForNucleusException(NucleusJPAHelper.java:341)
at org.datanucleus.api.jpa.JPAEntityManager.close(JPAEntityManager.java:200)
at net.yura.lobby.database.impl.JPADatabase.endTransaction(JPADatabase.java:114)
at net.yura.lobby.server.GameLobby.playOrWatch(GameLobby.java:1321)
at net.yura.lobby.server.LobbyController.handleMessage(LobbyController.java:339)
at net.yura.lobby.netty.MessageHandler.channelRead(MessageHandler.java:28)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:719)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:655)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:581)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:750)
Caused by: org.datanucleus.exceptions.NucleusUserException: Object of type "net.yura.lobby.database.User" and identity "513113" was not detached correctly. Please consult the log for any possible information.
at org.datanucleus.state.StateManagerImpl.detach(StateManagerImpl.java:3620)
at org.datanucleus.ExecutionContextImpl.close(ExecutionContextImpl.java:457)
at org.datanucleus.api.jpa.JPAEntityManager.close(JPAEntityManager.java:196)
... 25 more

2023-02-15 18:43:47 INFO: sending alert DB ERR=1 int=1 con=0 - close error: javax.persistence.PersistenceException: Object of type "net.yura.lobby.database.User" and identity "513113" was not detached correctly. Please consult the log for any possible information.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.