org.openxava.util.XavaException: Impossible to obtain the key associated to a POJO object     at org.openxava.model.impl.BasePOJOPersistenceProvider.getKey(BasePOJOPersistenceProvider.java:185)     at org.openxava.model.impl.BasePOJOPersistenceProvider.find(BasePOJOPersistenceProvider.java:73)     at org.openxava.model.impl.BasePOJOPersistenceProvider.create(BasePOJOPersistenceProvider.java:141)     at org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:695)     at org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:38)     at org.openxava.model.MapFacade.create(MapFacade.java:73)     at org.openxava.actions.SaveAction.execute(SaveAction.java:24)     at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:309)     at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:238)     at org.openxava.controller.ModuleManager.execute(ModuleManager.java:205)     at com.ibm.\_jsp.\_module.\_jspService(\_module.java:279)     at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1282)     at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:673)     at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:117)     at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:178)     at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:89)     at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1878)     at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:84)     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)     at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)     at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)     at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)     at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)     at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)     at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1462)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via openxava by javierpaniza
, 1 year ago
Impossible to obtain the key associated to a POJO object     at org.openxava.model.impl.BasePOJOPersistenceProvider.getKey(BasePOJOPersistenceProvider.java:185)     at org.openxava.model.impl.BasePOJOPersistenceProvider.find
org.openxava.util.XavaException: Impossible to obtain the key associated to a POJO object     at org.openxava.model.impl.BasePOJOPersistenceProvider.getKey(BasePOJOPersistenceProvider.java:185)     at org.openxava.model.impl.BasePOJOPersistenceProvider.find(BasePOJOPersistenceProvider.java:73)     at org.openxava.model.impl.BasePOJOPersistenceProvider.create(BasePOJOPersistenceProvider.java:141)     at org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:695)     at org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:38)     at org.openxava.model.MapFacade.create(MapFacade.java:73)     at org.openxava.actions.SaveAction.execute(SaveAction.java:24)     at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:309)     at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:238)     at org.openxava.controller.ModuleManager.execute(ModuleManager.java:205)     at com.ibm.\_jsp.\_module.\_jspService(\_module.java:279)     at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1282)     at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:673)     at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:117)     at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:178)     at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:89)     at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1878)     at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:84)     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)     at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)     at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)     at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)     at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)     at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)     at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1462)
at org.openxava.model.impl.BasePOJOPersistenceProvider.getKey(BasePOJOPersistenceProvider.java:185)
at org.openxava.model.impl.BasePOJOPersistenceProvider.find(BasePOJOPersistenceProvider.java:73)
at org.openxava.model.impl.BasePOJOPersistenceProvider.create(BasePOJOPersistenceProvider.java:141)
at org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:695)
at org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:38)
at org.openxava.model.MapFacade.create(MapFacade.java:73)
at org.openxava.actions.SaveAction.execute(SaveAction.java:24)
at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:309)
at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:238)
at org.openxava.controller.ModuleManager.execute(ModuleManager.java:205)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.