RAD 6.1 - DeploymentDescriptorLoadException - Websphere

This is a discussion on RAD 6.1 - DeploymentDescriptorLoadException - Websphere ; I am unable to deploy my ear to the server because of a problem generating the application.xml. The following is seen when trying to view the Manifest in my war. org.eclipse.jst.j2ee.commonarchivecore.internal.ex ception.DeploymentDescriptorL oadException: META-INF/application.xml Stack trace of nested exception: java.lang.NullPointerException ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: RAD 6.1 - DeploymentDescriptorLoadException

  1. RAD 6.1 - DeploymentDescriptorLoadException

    I am unable to deploy my ear to the server because of a problem generating the application.xml.



    The following is seen when trying to view the Manifest in my war.



    org.eclipse.jst.j2ee.commonarchivecore.internal.ex ception.DeploymentDescriptorL oadException: META-INF/application.xml

    Stack trace of nested exception:

    java.lang.NullPointerException

    at org.eclipse.emf.ecore.resource.impl.ResourceSetImp l.getResource(Unknown Source)

    at org.eclipse.jem.internal.util.emf.workbench.Projec tResourceSetImpl.getResource( Unknown Source)

    at org.eclipse.wst.common.internal.emfworkbench.Workb enchResourceHelper.getOrCreat eResource(Unknown Source)

    at org.eclipse.wst.common.internal.emfworkbench.integ ration.EditModel.getResource( Unknown Source)

    at org.eclipse.wst.common.componentcore.internal.Arti factEditModel.getResource(Unk nown Source)

    at org.eclipse.wst.common.componentcore.ArtifactEdit. getResource(Unknown Source)

    at org.eclipse.jst.j2ee.internal.archive.operations.C omponentLoadStrategyImpl.getM ofResource(Unknown Source)

    at org.eclipse.jst.j2ee.commonarchivecore.internal.im pl.ArchiveImpl.getMofResource (Unknown Source)

    at org.eclipse.jst.j2ee.commonarchivecore.internal.im pl.ModuleFileImpl.getDeployme ntDescriptorResource(Unknown Source)

    at org.eclipse.jst.j2ee.commonarchivecore.internal.st rategy.XmlBasedImportStrategy Impl.primLoadDeploymentDescriptor(Unknown Source)

    at org.eclipse.jst.j2ee.commonarchivecore.internal.st rategy.Ear12ImportStrategyImp l.loadDeploymentDescriptor(Unknown Source)

    at org.eclipse.jst.j2ee.commonarchivecore.internal.st rategy.Ear12ImportStrategyImp l.importMetaData(Unknown Source)

    at org.eclipse.jst.j2ee.commonarchivecore.internal.im pl.EARFileImpl.getDeploymentD escriptor(Unknown Source)

    at org.eclipse.jst.j2ee.commonarchivecore.internal.im pl.EARFileImpl.isNestedArchiv e(Unknown Source)

    at org.eclipse.jst.j2ee.commonarchivecore.internal.st rategy.LoadStrategyImpl.isArc hive(Unknown Source)

    at org.eclipse.jst.j2ee.commonarchivecore.internal.st rategy.LoadStrategyImpl.creat eFile(Unknown Source)

    at org.eclipse.jst.j2ee.internal.archive.operations.C omponentLoadStrategyImpl.aggr egateFiles(Unknown Source)

    at org.eclipse.jst.j2ee.internal.archive.operations.C omponentLoadStrategyImpl.aggr egateFiles(Unknown Source)

    at org.eclipse.jst.j2ee.internal.archive.operations.C omponentLoadStrategyImpl.aggr egateSourceFiles(Unknown Source)

    at org.eclipse.jst.j2ee.internal.archive.operations.E ARComponentLoadStrategyImpl.g etFiles(Unknown Source)

    at org.eclipse.jst.j2ee.commonarchivecore.internal.st rategy.LoadStrategyImpl.colle ctFiles(Unknown Source)

    at org.eclipse.jst.j2ee.commonarchivecore.internal.im pl.ContainerImpl.getFiles(Unk nown Source)

    at org.eclipse.jst.j2ee.commonarchivecore.internal.im pl.ContainerImpl.getFile(Unkn own Source)

    at org.eclipse.jst.j2ee.internal.common.ClasspathMode l.initializeArchive(Unknown Source)

    at org.eclipse.jst.j2ee.internal.common.ClasspathMode l.initializeSelection(Unknown Source)

    at org.eclipse.jst.j2ee.internal.common.ClasspathMode l.getClassPathSelection(Unkno wn Source)

    at com.ibm.etools.j2ee.common.ui.classpath.ClasspathT ableManager.initializeEJBClie ntDefaults(Unknown Source)

    at com.ibm.etools.j2ee.common.ui.classpath.ClasspathT ableManager.setModel(Unknown Source)

    at com.ibm.etools.j2ee.manifest.ui.SectionDependencie s.setModel(Unknown Source)

    at com.ibm.etools.j2ee.manifest.ui.DependenciesPage.s etModel(Unknown Source)

    at com.ibm.etools.j2ee.manifest.ui.JARDependencyEdito r.primCreatePages(Unknown Source)

    at com.ibm.etools.emf.workbench.ui.presentation.BaseM ultiPageEditorPart.createPage s(Unknown Source)

    at org.eclipse.ui.part.MultiPageEditorPart.createPart Control(Unknown Source)

    at org.eclipse.ui.internal.EditorReference.createPart Helper(Unknown Source)

    at org.eclipse.ui.internal.EditorReference.createPart (Unknown Source)

    at org.eclipse.ui.internal.WorkbenchPartReference.get Part(Unknown Source)

    at org.eclipse.ui.internal.EditorReference.getEditor( Unknown Source)

    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEdit orBatched(Unknown Source)

    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEdit or(Unknown Source)

    at org.eclipse.ui.internal.WorkbenchPage.access$10(Un known Source)



    Any ideas at what i should look at to troubleshoot?

  2. Re: RAD 6.1 - DeploymentDescriptorLoadException

    My apologies...i am using RAD 7 with websphere 6.1 server.

  3. Re: RAD 6.1 - DeploymentDescriptorLoadException

    Installing latest upgrades seems to have fixed this issue. I am now at rad 7.0.6.



    Cheers!

+ Reply to Thread