File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes EJB and Websphere error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB and Websphere error" Watch "EJB and Websphere error" New topic
Author

EJB and Websphere error

Marciano Tom
Greenhorn

Joined: Feb 19, 2008
Posts: 1
Dear all,

I have encountered teh following error while deploying an entity bean with WAS 5.0.

java.lang.NullPointerException
at com.ibm.etools.j2ee.xml.ejb.readers.ContainerManagedEntityXmlReadAdapter.reflectPrimaryKeyField(ContainerManagedEntityXmlReadAdapter.java:90)
at com.ibm.etools.j2ee.xml.ejb.readers.ContainerManagedEntityXmlReadAdapter.reflectElement(ContainerManagedEntityXmlReadAdapter.java:72)
at com.ibm.etools.j2ee.xml.common.readers.MofXmlReadAdapter.reflectElements(MofXmlReadAdapter.java(Compiled Code))
at com.ibm.etools.j2ee.xml.common.readers.MofXmlReadAdapter.reflectValues(MofXmlReadAdapter.java:261)
at com.ibm.etools.j2ee.xml.common.readers.MofXmlReadAdapter.<init>(MofXmlReadAdapter.java:53)
at com.ibm.etools.j2ee.xml.ejb.readers.EjbDeploymentDescriptorReadAdapter.<init>(EjbDeploymentDescriptorReadAdapter.java:23)
at com.ibm.etools.j2ee.xml.ejb.readers.EnterpriseBeanXmlReadAdapter.<init>(EnterpriseBeanXmlReadAdapter.java:27)
at com.ibm.etools.j2ee.xml.ejb.readers.EntityXmlReadAdapter.<init>(EntityXmlReadAdapter.java:25)
at com.ibm.etools.j2ee.xml.ejb.readers.ContainerManagedEntityXmlReadAdapter.<init>(ContainerManagedEntityXmlReadAdapter.java:32)
at com.ibm.etools.j2ee.xml.ejb.readers.EjbJarXmlReadAdapter.createContainerManagedEntity(EjbJarXmlReadAdapter.java:30)
at com.ibm.etools.j2ee.xml.ejb.readers.EjbJarXmlReadAdapter.reflectEnterpriseBeans(EjbJarXmlReadAdapter.java:105)
at com.ibm.etools.j2ee.xml.ejb.readers.EjbJarXmlReadAdapter.reflectElement(EjbJarXmlReadAdapter.java:85)
at com.ibm.etools.j2ee.xml.common.readers.MofXmlReadAdapter.reflectElements(MofXmlReadAdapter.java(Compiled Code))
at com.ibm.etools.j2ee.xml.common.readers.MofXmlReadAdapter.reflectValues(MofXmlReadAdapter.java:261)
at com.ibm.etools.j2ee.xml.common.readers.MofXmlReadAdapter.<init>(MofXmlReadAdapter.java:53)
at com.ibm.etools.j2ee.xml.ejb.readers.EjbDeploymentDescriptorReadAdapter.<init>(EjbDeploymentDescriptorReadAdapter.java:23)
at com.ibm.etools.j2ee.xml.ejb.readers.EjbJarXmlReadAdapter.<init>(EjbJarXmlReadAdapter.java:25)
at com.ibm.etools.j2ee.xml.EjbJarDeploymentDescriptorImportExport.createRootReadAdapter(EjbJarDeploymentDescriptorImportExport.java:42)
at com.ibm.etools.j2ee.xml.DeploymentDescriptorImportExport.createRootObject(DeploymentDescriptorImportExport.java:65)
at com.ibm.etools.j2ee.xml.DeploymentDescriptorImportExport.primImportFrom(DeploymentDescriptorImportExport.java:251)
at com.ibm.etools.j2ee.xml.DeploymentDescriptorImportExport.primImportFrom(DeploymentDescriptorImportExport.java:239)
at com.ibm.etools.j2ee.xml.EjbJarDeploymentDescriptorImportExport.importFrom(EjbJarDeploymentDescriptorImportExport.java:54)
at com.ibm.etools.ejb.impl.EJBJarResourceFactory.importXML(EJBJarResourceFactory.java:30)
at com.ibm.etools.j2ee.common.impl.XMLResourceFactory.load(XMLResourceFactory.java:68)
at com.ibm.etools.j2ee.common.impl.XMLResourceFactory.load(XMLResourceFactory.java:84)
at com.ibm.etools.emf.resource.impl.ResourceFactoryImpl.load(ResourceFactoryImpl.java:77)
at com.ibm.etools.emf.resource.impl.ResourceSetImpl.load(ResourceSetImpl.java:289)
at com.ibm.etools.archive.impl.LoadStrategyImpl.getMofResource(LoadStrategyImpl.java:222)
at com.ibm.etools.commonarchive.impl.ArchiveImpl.getMofResource(ArchiveImpl.java:528)
at com.ibm.etools.commonarchive.impl.ModuleFileImpl.getDeploymentDescriptorResource(ModuleFileImpl.java:65)
at com.ibm.etools.archive.impl.XmlBasedImportStrategyImpl.primLoadDeploymentDescriptor(XmlBasedImportStrategyImpl.java:35)
at com.ibm.etools.archive.impl.EjbJar11ImportStrategyImpl.loadDeploymentDescriptor(EjbJar11ImportStrategyImpl.java:73)
at com.ibm.etools.archive.impl.EjbJar11ImportStrategyImpl.importMetaData(EjbJar11ImportStrategyImpl.java:68)
at com.ibm.etools.commonarchive.impl.EJBJarFileImpl.getDeploymentDescriptor(EJBJarFileImpl.java:152)
at com.ibm.etools.commonarchive.impl.EJBJarFileImpl.getStandardDeploymentDescriptor(EJBJarFileImpl.java:212)
at com.ibm.etools.commonarchive.impl.ArchiveCopyUtility.copy(ArchiveCopyUtility.java:89)
at com.ibm.etools.commonarchive.impl.CommonarchiveFactoryImpl.copy(CommonarchiveFactoryImpl.java:126)
at com.ibm.etools.commonarchive.impl.EARFileImpl.primAddCopyRef(EARFileImpl.java:169)
at com.ibm.etools.commonarchive.impl.EARFileImpl.addCopyRef(EARFileImpl.java:186)
at com.ibm.ws.management.application.client.AppInstallHelper.createEarWrapper(AppInstallHelper.java:466)
at com.ibm.ws.console.appmanagement.action.UploadAction.formUpload(UploadAction.java:181)
at com.ibm.ws.console.appmanagement.action.UploadAction.perform(UploadAction.java:99)
at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1791)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:258)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:872)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:491)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:173)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:199)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:331)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:432)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:343)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)

Any help is apprecuable...

Thanks in advance...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB and Websphere error
 
Similar Threads
jms exception
App deployment Exception
Problem installing WAR file into WAS5.0
ant deploy with IBM Websphere5.0 application server
ServletException BeanUtils populate