Uuddlrlrba / fb4linux

Automatically exported from code.google.com/p/fb4linux
0 stars 0 forks source link

Cannot create Flex/Java project, constraints not satisfied exception #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a Flex project
2. Select with J2EE option
3. Try to finish the wizard

What is the expected output? What do you see instead?
I expect the wizard to finish and create the project. Instead I get and 
exception about constraints not satisfied which don't let me finish the wizard.

What version of the product are you using? On what operating system?
I'm using Eclipse 3.6 (Helios), also try 3.5 (Galileo) on Debian squeeze amd64 
with jdk1.6.0_21.

Please provide any additional information below.
Creating Flex (alone) project works just fine. The issue is just with Flex/Java 
projects. There isn't any difference using or not lcds or blazeds.

Original issue reported on code.google.com by agpell...@gmail.com on 14 Sep 2010 at 1:35

GoogleCodeExporter commented 9 years ago
Here is the stack trace for this issue, I found out there is a similar issue on 
Adobe's Flash Builder eclipse plug-in and Helios (3.6) version of eclipse. 
Obviously, at eclipse's forum they said is an adobe's bug and at adobe's said 
it's an eclipse's one. So any ideas would help. Thanks on advanced.

Stack Trace:
**** Error logged by plugin: com.adobe.flexbuilder.project ****
Error on perform finish:
Throwable: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
    at com.adobe.flexbuilder.project.ui.wizards.AbstractFlexProjectWizard$FlexStrategy$2.run(AbstractFlexProjectWizard.java:807)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: org.eclipse.core.runtime.CoreException: One or more constraints have 
not been satisfied.
    at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:364)
    at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1182)
    at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1118)
    at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$1.run(FacetedProject.java:325)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
    at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modify(FacetedProject.java:340)
    at com.adobe.flexbuilder.project.ui.wizards.FlexProjectWtpHelper.addJ2eeFacets(FlexProjectWtpHelper.java:250)
    at com.adobe.flexbuilder.project.ui.wizards.FlexProjectWtpHelper.performFinish(FlexProjectWtpHelper.java:142)
    at com.adobe.flexbuilder.project.ui.wizards.AbstractFlexProjectWizard$FlexStrategy$2.run(AbstractFlexProjectWizard.java:805)
    ... 1 more
*******************************************

**** Error logged by plugin: com.adobe.flexbuilder.project ****
Error in ActionScript Project wizard
Throwable: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
    at com.adobe.flexbuilder.project.ui.wizards.AbstractFlexProjectWizard$FlexStrategy$2.run(AbstractFlexProjectWizard.java:807)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: org.eclipse.core.runtime.CoreException: One or more constraints have 
not been satisfied.
    at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:364)
    at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1182)
    at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1118)
    at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$1.run(FacetedProject.java:325)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
    at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modify(FacetedProject.java:340)
    at com.adobe.flexbuilder.project.ui.wizards.FlexProjectWtpHelper.addJ2eeFacets(FlexProjectWtpHelper.java:250)
    at com.adobe.flexbuilder.project.ui.wizards.FlexProjectWtpHelper.performFinish(FlexProjectWtpHelper.java:142)
    at com.adobe.flexbuilder.project.ui.wizards.AbstractFlexProjectWizard$FlexStrategy$2.run(AbstractFlexProjectWizard.java:805)
    ... 1 more
*******************************************

**** Error logged by plugin: org.eclipse.core.resources ****
Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
Throwable: java.util.NoSuchElementException
java.util.NoSuchElementException
    at java.util.ArrayList$Itr.next(ArrayList.java:757)
    at com.adobe.flexbuilder.codemodel.internal.project.EclipseProjectListener.getProject(EclipseProjectListener.java:181)
    at com.adobe.flexbuilder.codemodel.internal.project.EclipseProjectListener$ResourceChangeListener.resourceChanged(EclipseProjectListener.java:682)
    at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
    at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
    at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:327)
    at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1181)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1984)
    at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
*******************************************

Original comment by agpell...@gmail.com on 15 Sep 2010 at 10:41

GoogleCodeExporter commented 9 years ago
The issue was with the Helios release of eclipse. Now I get it work just fine 
with Galileo release.

Original comment by agpell...@gmail.com on 24 Sep 2010 at 6:14

GoogleCodeExporter commented 9 years ago
I have also found that this problem is specific to the Helios release.

Original comment by shrutisa...@gmail.com on 24 Sep 2010 at 7:01