facebook

org.jdom.IllegalAddException: The Content already has an exi

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #278885 Reply

    Hi, after manual installation of MyEclipse 6.0.1 on top of Eclipse classic 3.3.1.1, under Ubuntu Linux 7.10, I got an error when I begin to navigate into projects from the package explorer or navigator:

    org.jdom.IllegalAddException: The Content already has an existing parent “application”
    at org.jdom.ContentList.add(ContentList.java:218)
    at org.jdom.ContentList.add(ContentList.java:140)
    at java.util.AbstractList.add(AbstractList.java:91)
    at org.jdom.Element.addContent(Element.java:809)
    at com.genuitec.eclipse.j2eedt.deploymodel.application13.Application.addModule(Unknown Source)
    at com.genuitec.eclipse.j2eedt.deploymodel.application13.Application.addModule(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.JDOMEARDeploymentDescriptorManager.addModule(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.JDOMEARDeploymentDescriptorManager.setDependentProjects(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.EARProject.initFromMetaEARProject(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.EARProject.loadMetaData(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.EARProject.<init>(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.EARProject.<init>(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.J2EECore.getEARProjectsList(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.J2EECore.getEARProject(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.J2EECore.getJ2EEProject(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.ui.action.DeploymentMgmtActionDelegate.selectionChanged(Unknown Source)
    at org.eclipse.ui.internal.PluginAction.refreshEnablement(PluginAction.java:211)
    at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:282)
    at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:304)
    at org.eclipse.ui.internal.AbstractSelectionService.fireSelection(AbstractSelectionService.java:156)
    at org.eclipse.ui.internal.AbstractSelectionService$1.selectionChanged(AbstractSelectionService.java:62)
    at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.runtime.Platform.run(Platform.java:857)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:199)
    at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160)
    at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2047)
    at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1138)
    at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1168)
    at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:227)
    at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.java:221)
    at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:388)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
    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:508)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1148)

    the command that I issued from terminal is:

    dsestero@dsestero-laptop:~$ /opt/eclipse-3.3/eclipse/eclipse -vm /usr/bin/java -vmargs -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M

    Apart from that for the moment I did’nt get any other issue, but before upgrading other machines I thought it would be better to check with you.

    Thanks,
    Dario Sestero

    #278901 Reply

    Loyal Water
    Member

    Dario,
    Can you switch to a new workspace, create a new project and check if you can work with this project without errors.

    Incase you can, you can switch back to the old workspace and try cleaning it using the -clean command:-
    https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: org.jdom.IllegalAddException: The Content already has an exi

You must be logged in to post in the forum log in