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)

openxava | javierpaniza | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    New Wizard for reversing engineering from DB

    openxava | 1 decade ago | javierpaniza
    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)
  2. 0

    Displaying error message not show on UI

    openxava | 9 months ago | shankarcs1967
    org.openxava.util.XavaException: Impossible to create ApartmentResident

    Root Cause Analysis

    1. 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()
    2. org.openxava.model
      MapFacade.create
      1. org.openxava.model.impl.BasePOJOPersistenceProvider.getKey(BasePOJOPersistenceProvider.java:185)
      2. org.openxava.model.impl.BasePOJOPersistenceProvider.find(BasePOJOPersistenceProvider.java:73)
      3. org.openxava.model.impl.BasePOJOPersistenceProvider.create(BasePOJOPersistenceProvider.java:141)
      4. org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:695)
      5. org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:38)
      6. org.openxava.model.MapFacade.create(MapFacade.java:73)
      6 frames
    3. org.openxava.actions
      SaveAction.execute
      1. org.openxava.actions.SaveAction.execute(SaveAction.java:24)
      1 frame
    4. org.openxava.controller
      ModuleManager.execute
      1. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:309)
      2. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:238)
      3. org.openxava.controller.ModuleManager.execute(ModuleManager.java:205)
      3 frames