Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Error when clicked on Deployment Assembly item(Deployment Assembly plugin)
Error when clicked on Deployment Assembly item [message #884493] Mon, 11 June 2012 03:33
eclipse walker  dsf23sdfasdf eclipse walker is currently offline eclipse walker dsf23sdfasdf eclipse walker
Messages: 1
Registered: June 2012
Junior Member
I would share an experience on resolving on eclipse to avoid you spend 2 precious working days like me.

Symptom:
When you are working on Properties tab of a Project and click on Deployment Assembly item, it always show the error "The currently displayed page contains invalid values.".

Cause:
Probably you have installed some other plugins before that caused some conflict.

If you would like to investigate the exact cause, you can add a -debug flag in your eclipse start up option. You can then find the debug log in <workspace>/.metadata/.log file.

In my case, my error is:
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NoSuchMethodError: org/eclipse/jst/j2ee/componentcore/J2EEModuleVirtualComponent.getDefaultDeploymentDescriptorFolder(Lorg/eclipse/wst/common/componentcore/resources/IVirtualFolder;)Lorg/eclipse/core/runtime/IPath;
at org.eclipse.jst.j2ee.internal.ui.JavaEEDeploymentAssemblyAdvancedSectionBuilder.<init>(Unknown Source)
at org.eclipse.jst.j2ee.internal.ui.J2EEModuleDependenciesPropertyPage.getAdvancedSectionBuilder(Unknown Source)
at org.eclipse.jst.j2ee.internal.ui.J2EEModuleDependenciesPropertyPage.<init>(Unknown Source)
at org.eclipse.jst.servlet.ui.internal.WebDependencyPropertyPage.<init>(Unknown Source)
at org.eclipse.jst.servlet.ui.internal.WebModuleDependencyPageProvider.createPages(Unknown Source)
at org.eclipse.wst.common.componentcore.ui.propertypage.ModuleAssemblyRootPage.createContents(Unknown Source)
at org.eclipse.jface.preference.PreferencePage.createControl(Unknown Source)
at org.eclipse.wst.common.componentcore.ui.propertypage.ModuleAssemblyRootPage.createControl(Unknown Source)
at org.eclipse.jface.preference.PreferenceDialog.createPageControl(Unknown Source)
at org.eclipse.jface.preference.PreferenceDialog$14.run(Unknown Source)
at org.eclipse.core.runtime.SafeRunner.run(Unknown Source)
at org.eclipse.ui.internal.JFaceUtil$1.run(Unknown Source)
at org.eclipse.jface.util.SafeRunnable.run(Unknown Source)
at org.eclipse.jface.preference.PreferenceDialog.showPage(Unknown Source)
at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(Unknown Source)
at org.eclipse.jface.preference.PreferenceDialog$10.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at org.eclipse.jface.preference.PreferenceDialog$9.selectionChanged(Unknown Source)
at org.eclipse.jface.viewers.StructuredViewer$3.run(Unknown Source)
at org.eclipse.core.runtime.SafeRunner.run(Unknown Source)
at org.eclipse.ui.internal.JFaceUtil$1.run(Unknown Source)
at org.eclipse.jface.util.SafeRunnable.run(Unknown Source)
at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(Unknown Source)
at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(Unknown Source)
at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(Unknown Source)
at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(Unknown Source)
at org.eclipse.jface.util.OpenStrategy.access$5(Unknown Source)
at org.eclipse.jface.util.OpenStrategy$3.run(Unknown Source)
at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.jface.window.Window.runEventLoop(Unknown Source)
at org.eclipse.jface.window.Window.open(Unknown Source)
at org.eclipse.ui.dialogs.PropertyDialogAction.run(Unknown Source)
at org.eclipse.jface.action.Action.runWithEvent(Unknown Source)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Unknown Source)
at org.eclipse.jface.action.ActionContributionItem.access$2(Unknown Source)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)
at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
at org.eclipse.ui.internal.Workbench.access$4(Unknown Source)
at org.eclipse.ui.internal.Workbench$7.run(Unknown Source)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Unknown Source)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source)
at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
at org.eclipse.equinox.launcher.Main.run(Unknown Source)

Resolution:
The error do not help much in locating the root cause indeed. But I remember I have the function work before and I remember the only change to my computer is installed some plugins these days.

I finally removed the following plugins to get it work again:
Eclipselava EE Developer Tools
JavaScript Development Tools support and improvements
JSF Tools for WebSphere
JST Enterprise Core}
JST Web Core
Portal Sewer V61 Tools
Portal Server v7 Tools
Portal Tools
Struts Portlet Framework Tools
Struts Tools
Web Tools Core Feature
WTP Patches for org.eclipse.jst.web_core.feature

Hope this help you as well.
Previous Topic:Start external program from within Eclipse
Next Topic:CNF: Project has always children
Goto Forum:
  


Current Time: Fri Aug 29 14:18:55 EDT 2014

Powered by FUDForum. Page generated in 0.02010 seconds