Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 343094

Summary: Building/Opening web.xml or any xml file Problem
Product: [Eclipse Project] PDE Reporter: Gautam.Roy
Component: BuildAssignee: pde-build-inbox <pde-build-inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: major    
Priority: P3 CC: contact
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Gautam.Roy CLA 2011-04-18 03:44:45 EDT
Build Identifier: Galileo JbossTools3.1

Hi 
I am trying to create a simple JSF application. I followed all the guidelines and downloaded JSF1.2(Apache Myfaces JSf core -1.2 API 1.2.9). when I clicked
on web.xml or faces-config.xml file , getting the following error

java.lang.NoClassDefFoundError: org/jboss/tools/common/model/ui/attribute/adapter/XChildrenTableStructuredAdapter$DefaultTableLabelProvider
	at org.jboss.tools.common.model.ui.attribute.adapter.XChildrenTableStructuredAdapter.<init>(XChildrenTableStructuredAdapter.java:754)
	at org.jboss.tools.common.model.ui.forms.Form.initialize(Form.java:201)
	at org.jboss.tools.common.model.ui.forms.FormContainer.initialize(FormContainer.java:70)
	at org.jboss.tools.common.editor.TreeFormPage.selectionChanged(TreeFormPage.java:218)
	at org.jboss.tools.common.editor.SelectionNotifier.fireSelectionChanged(SelectionNotifier.java:63)
	at org.jboss.tools.common.editor.SelectionNotifier.selectionChanged(SelectionNotifier.java:39)
	at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.runtime.Platform.run(Platform.java:888)
	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
	at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160)
	at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2132)
	at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1669)
	at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1124)
	at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:392)
	at org.jboss.tools.common.editor.XModelObjectTreeViewComponent$1.run(XModelObjectTreeViewComponent.java:106)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
  
    And because of that, I cannot build and execute the application.
    I am trying to solve it last one week but didn't get any solution.
    Please, help  me to solve

Regards
Gautam      
     
    




Reproducible: Always

Steps to Reproduce:
1.Create a Dynamic Web Project, Select JBoss v5.0 as Target Runtime,2.5 as Dynamic Web and JSF 1.2 Project as configuration
  
2. Download  JSF1.2(Apache Myfaces JSf core -1.2 API 1.2.9). from JSF capabilities page and click on finish

3. Click on web.xml or face-config.xml on the project exploree
Comment 1 Benjamin Cabé CLA 2011-04-18 10:07:09 EDT
It is more than likely a bug in JBoss Tools itself. You should try pinging the dev team on their mailing list...