Two Laptop Bag*
The moose likes EJB and other Java EE Technologies and the fly likes EJB Exception in websphere commerce Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB Exception in websphere commerce" Watch "EJB Exception in websphere commerce" New topic
Author

EJB Exception in websphere commerce

suja changanam
Greenhorn

Joined: Sep 27, 2007
Posts: 12
I am getting this exception
Please let me know what is wrong

[1/11/12 22:48:37:100 GMT-05:00] 00000044 ExceptionUtil E CNTR0019E: EJB threw an unexpected (non-declared) exception during invocation of method "findByPrimaryKey". Exception data: java.lang.NullPointerException
at com.ibm.commerce.catalog.objects.CatalogGroupKey.hashCode(CatalogGroupKey.java:57)
at com.ibm.ejs.container.BeanId.computeHashValue(BeanId.java:1225)
at com.ibm.ejs.container.BeanIdCache.find(BeanIdCache.java:119)
at com.ibm.ejs.container.EJSHome.activateBean_Common(EJSHome.java:1847)
at com.ibm.ejs.container.EJSHome.activateBean(EJSHome.java:1701)
at com.ibm.commerce.catalog.objects.EJSJDBCPersisterCMPCatalogGroupBean_8e5bb4d3.findByPrimaryKey(EJSJDBCPersisterCMPCatalogGroupBean_8e5bb4d3.java:362)
at com.ibm.commerce.catalog.objects.EJSCMPCatalogGroupHomeBean_8e5bb4d3.findByPrimaryKey(EJSCMPCatalogGroupHomeBean_8e5bb4d3.java:30)
at com.ibm.commerce.catalog.objects.EJSRemoteCMPCatalogGroupHome_8e5bb4d3.findByPrimaryKey(EJSRemoteCMPCatalogGroupHome_8e5bb4d3.java:355)
at com.ibm.commerce.catalog.objects._CatalogGroupHome_Stub.findByPrimaryKey(_CatalogGroupHome_Stub.java:616)
at com.ibm.commerce.catalog.objects.CatalogGroupAccessBean.instantiateEJB(CatalogGroupAccessBean.java:316)
at com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean._instantiate(AbstractEntityAccessBean.java:170)
at com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean.refreshCopyHelper(AbstractEntityAccessBean.java:305)
at com.ibm.commerce.catalog.objects.CatalogGroupAccessBean.refreshCopyHelper(CatalogGroupAccessBean.java:386)
at com.ibm.commerce.catalog.objsrc.CachedCatalogGroupAccessBean.refreshCopyHelper(CachedCatalogGroupAccessBean.java:193)
at com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean.__getCache(AbstractEntityAccessBean.java:97)
at com.ibm.commerce.catalog.objects.CatalogGroupAccessBean.getIdentifier(CatalogGroupAccessBean.java:477)
at com.ibm.commerce.catalog.beans.CategoryDataBean.populate(CategoryDataBean.java:846)
at com.jab.commerce.catalog.beans.JABCategoryDataBean.populate(JABCategoryDataBean.java:93)
at com.ibm.commerce.beans.DataBeanManager.directActivate(DataBeanManager.java:456)
at com.ibm.commerce.beans.DataBeanManager.activate(DataBeanManager.java:201)
at com.ibm.commerce.beans.DataBeanManager.activate(DataBeanManager.java:387)
at com.ibm.commerce.taglibs.base.tag.UseBean.doEndTag(UseBean.java:99)
at com.ibm._jsp._SEOCategoryMetaTags._jspService(_SEOCategoryMetaTags.java:100)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:93)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java:262)
at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:438)
at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:239)
at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java:244)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1694)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1643)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:113)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:82)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:819)
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:216)
at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.handleRequest(JSPExtensionProcessor.java:255)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:670)
at org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(Unknown Source)
at org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(Unknown Source)
at com.ibm._jsp._layout._jspx_meth_c_import_1(_layout.java:3086)
at com.ibm._jsp._layout._jspService(_layout.java:666)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:93)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java:262)
at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:438)
at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:239)
at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java:244)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1694)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1643)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:113)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:82)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:819)
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:216)
at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.handleRequest(JSPExtensionProcessor.java:255)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:347)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:254)
at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:309)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at com.ibm.commerce.struts.ECActionServlet.processRequest(ECActionServlet.java:237)
at com.ibm.commerce.struts.ECActionServlet.doGet(ECActionServlet.java:179)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java:262)
at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:438)
at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:239)
at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java:244)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1694)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1643)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:136)
at com.ibm.commerce.campaigns.filter.CampaignsFilter.doFilter(CampaignsFilter.java:131)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
at com.ibm.commerce.likeminds.filter.LikeMindsFilter.doFilter(LikeMindsFilter.java:183)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
at com.ibm.commerce.dynacache.filter.CacheFilter$2.run(CacheFilter.java:376)
at com.ibm.commerce.dynacache.filter.CacheFilter.doFilter(CacheFilter.java:507)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
at com.rosetta.commerce.filters.StoreFilter.doFilter(StoreFilter.java:140)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
at com.ibm.commerce.webcontroller.RuntimeServletFilter.doFilterAction(RuntimeServletFilter.java:269)
at com.ibm.commerce.webcontroller.RuntimeServletFilter.access$000(RuntimeServletFilter.java:65)
at com.ibm.commerce.webcontroller.RuntimeServletFilter$1.run(RuntimeServletFilter.java:191)
at com.ibm.commerce.webcontroller.RuntimeServletFilter.doFilter(RuntimeServletFilter.java:212)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:82)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:819)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3189)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:253)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:229)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1970)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:116)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:434)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:373)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:253)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)
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:1475)
md khadar
Greenhorn

Joined: May 03, 2013
Posts: 1
Anie rafael
Greenhorn

Joined: Aug 03, 2013
Posts: 1
you have not provided the primary key value...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB Exception in websphere commerce
 
Similar Threads
Not able to do a lookup for a Stateless EJB
JSF Tiles Error
Unable to create EJBObject. Root Exception:CORBA NO_PERMISSION
Portal Access Problem
Composer: Command not found