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

Bug 333234

Summary: Problem during conversion to facet projetct
Product: [WebTools] WTP Common Tools Reporter: Daniele <daniele.renda>
Component: Faceted Project FrameworkAssignee: Konstantin Komissarchik <konstantin>
Status: RESOLVED WORKSFORME QA Contact: Konstantin Komissarchik <konstantin>
Severity: normal    
Priority: P3 CC: ccc, daniele.renda, thatnitind
Version: 3.2.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Settings none

Description Daniele CLA 2010-12-27 05:53:06 EST
Build Identifier: M20100909-0800

eclipse.buildId=M20100909-0800
java.version=1.6.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product


Error
Mon Dec 27 11:46:36 CET 2010
null

java.lang.reflect.InvocationTargetException
	at org.eclipse.wst.common.project.facet.ui.internal.ConvertProjectToFacetedFormRunnable.run(ConvertProjectToFacetedFormRunnable.java:90)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: org.eclipse.core.internal.resources.ResourceException: Invalid project description.
	at org.eclipse.core.internal.resources.Project.checkDescription(Project.java:162)
	at org.eclipse.core.internal.resources.Project.setDescription(Project.java:1194)
	at org.eclipse.core.internal.resources.Project.setDescription(Project.java:1238)
	at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectFrameworkImpl.create(FacetedProjectFrameworkImpl.java:721)
	at org.eclipse.wst.common.project.facet.core.ProjectFacetsManager.create(ProjectFacetsManager.java:375)
	at org.eclipse.wst.common.project.facet.ui.internal.ConvertProjectToFacetedFormRunnable.run(ConvertProjectToFacetedFormRunnable.java:70)
	... 1 more




Reproducible: Always

Steps to Reproduce:
The problem is reproducible with a gwt project with several libraries.
Comment 1 Dani Megert CLA 2010-12-27 06:07:57 EST
Sorry, not 100% sure to which wst component this belongs to.
Comment 2 Daniele CLA 2010-12-27 06:40:17 EST
Any workaround?

Thanks!
Comment 3 Carl Anderson CLA 2010-12-27 12:36:28 EST
Daniele, going by the build id, I assume you are using Eclipse 3.6 SR1, which corresponds to WTP 3.2.2.
Comment 4 Daniele CLA 2010-12-28 03:11:33 EST
Yes,
I'm using Eclipse 3.6.1.r361_v20100909-9gF78GrkFqw7GrsZnvz0JWNTeb6fue6896L and WTP 3.2.2.v201008170019-377AB8s73533J5H335L

Thanks
Comment 5 Daniele CLA 2010-12-29 06:46:09 EST
I've to convert a project urgently in order to finish a work.
There is some workaround to convert a gwt project to web dynamic project with axis2?

Thanks very much!
Comment 6 Konstantin Komissarchik CLA 2011-01-03 13:15:25 EST
We are going to need a better repro case case. I don't know what a "gwt project" is or how to configure it with a "few libraries". 

Could you attach a zip of your project metadata (everything in your project except your source code or libraries). Make sure to include the .settings directory and all files starting with '.' in project root.
Comment 7 Daniele CLA 2011-01-04 03:28:03 EST
Created attachment 185982 [details]
Settings

I attach the zip of the project.

Thanks very much
Comment 8 Konstantin Komissarchik CLA 2011-01-05 13:16:51 EST
I could not reproduce this by going with the attached project zip in a standard Eclipse Java EE package. Please provide step-by-step instructions, including what Eclipse package to start with, how to install GWT, etc.
Comment 9 Konstantin Komissarchik CLA 2011-01-19 12:26:54 EST
Resolving as WORKSFORME, not because I don't believe you've ran into this problem, but purely because I am unable to reproduce given the provided information and the stack trace alone is not enough to go on. If further information on how to reproduce is available at a future date, please feel free to re-open. Another approach might be to engage GWT team first.