Solved

Export EAR from Eclipse causing problem

Posted on 2010-11-08
2
2,056 Views
Last Modified: 2012-05-10
I very frequently keep generating EAR file from Eclipse too from Export --> EAR File. Now I need to deploy it on QA. As I try to do that I am getting the following error
org.eclipse.core.commands.ExecutionException: Error exportingH:/CustomerConnectWLS10.ear

	at org.eclipse.jst.j2ee.internal.archive.operations.ComponentExportOperation.execute(ComponentExportOperation.java:136)

	at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl$1.run(DataModelPausibleOperationImpl.java:385)

	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)

	at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:410)

	at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:360)

	at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.doExecute(DataModelPausibleOperationImpl.java:247)

	at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.executeImpl(DataModelPausibleOperationImpl.java:219)

	at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.cacheThreadAndContinue(DataModelPausibleOperationImpl.java:89)

	at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.execute(DataModelPausibleOperationImpl.java:207)

	at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizard$1CatchThrowableRunnableWithProgress.run(DataModelWizard.java:225)

	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

Caused by: org.eclipse.jst.jee.archive.ArchiveSaveFailureException: org.eclipse.jst.jee.archive.ArchiveSaveFailureException: org.eclipse.jst.jee.archive.ArchiveSaveFailureException: java.lang.NullPointerException

	at org.eclipse.jst.j2ee.internal.archive.operations.FlatComponentArchiver.saveArchive(FlatComponentArchiver.java:117)

	at org.eclipse.jst.j2ee.internal.archive.operations.ComponentExportOperation.export(ComponentExportOperation.java:178)

	at org.eclipse.jst.j2ee.internal.archive.operations.ComponentExportOperation.execute(ComponentExportOperation.java:134)

	... 10 more

Caused by: org.eclipse.jst.jee.archive.ArchiveSaveFailureException: org.eclipse.jst.jee.archive.ArchiveSaveFailureException: java.lang.NullPointerException

	at org.eclipse.jst.j2ee.internal.archive.operations.FlatComponentArchiver.saveArchive(FlatComponentArchiver.java:117)

	at org.eclipse.jst.j2ee.internal.archive.operations.FlatComponentArchiver.saveChildModules(FlatComponentArchiver.java:206)

	at org.eclipse.jst.j2ee.internal.archive.operations.FlatComponentArchiver.saveArchive(FlatComponentArchiver.java:105)

	... 12 more

Caused by: org.eclipse.jst.jee.archive.ArchiveSaveFailureException: java.lang.NullPointerException

	at org.eclipse.jst.j2ee.internal.archive.operations.FlatComponentArchiver.saveArchive(FlatComponentArchiver.java:117)

	at org.eclipse.jst.j2ee.internal.archive.operations.FlatComponentArchiver.saveChildModules(FlatComponentArchiver.java:206)

	at org.eclipse.jst.j2ee.internal.archive.operations.FlatComponentArchiver.saveArchive(FlatComponentArchiver.java:105)

	... 14 more

Caused by: java.lang.NullPointerException

	at org.eclipse.jst.jee.archive.internal.ArchiveUtil.copy(ArchiveUtil.java:216)

	at org.eclipse.jst.j2ee.internal.archive.operations.FlatComponentArchiver.addZipEntry(FlatComponentArchiver.java:241)

	at org.eclipse.jst.j2ee.internal.archive.operations.FlatComponentArchiver.saveFlatResources(FlatComponentArchiver.java:149)

	at org.eclipse.jst.j2ee.internal.archive.operations.FlatComponentArchiver.saveFlatResources(FlatComponentArchiver.java:156)

	at org.eclipse.jst.j2ee.internal.archive.operations.FlatComponentArchiver.saveFlatResources(FlatComponentArchiver.java:156)

	at org.eclipse.jst.j2ee.internal.archive.operations.FlatComponentArchiver.saveFlatResources(FlatComponentArchiver.java:156)

	at org.eclipse.jst.j2ee.internal.archive.operations.FlatComponentArchiver.saveFlatResources(FlatComponentArchiver.java:156)

	at org.eclipse.jst.j2ee.internal.archive.operations.FlatComponentArchiver.saveFlatResources(FlatComponentArchiver.java:156)

	at org.eclipse.jst.j2ee.internal.archive.operations.FlatComponentArchiver.saveFlatResources(FlatComponentArchiver.java:156)

	at org.eclipse.jst.j2ee.internal.archive.operations.FlatComponentArchiver.saveArchive(FlatComponentArchiver.java:106)

	... 16 more

Open in new window

0
Comment
Question by:prsubject
2 Comments
 

Author Comment

by:prsubject
ID: 34088518
Please Cancel this question as it is an Eclipse bug, which occurs due to some plugins.The details could be found on Google.
0
 
LVL 10

Accepted Solution

by:
Pramod Kumar earned 250 total points
ID: 34091174
May be below are cause of error:
> caused by any Maven dependencies from the use of the m2eclipse plug-in
> caused by icu4j-2.6.1.jar

You may do workaround using
> disable the Maven dependency management.
> deleting some metadata files in the project,
> removing invalid entries from the MANIFEST files


This bug has gone in eclipse 3.0.4. please try here once.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Conflicting setter definitions for property Exception 5 84
dividesSelf challange 15 111
Spring Controller - inheritance in request parameter 3 48
allswap challenge 6 75
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now