Book a Demo

Author Topic: EAEclipse-Plugin 'Cannot Create XML Document'  (Read 8711 times)

Flobo

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
EAEclipse-Plugin 'Cannot Create XML Document'
« on: March 24, 2015, 08:51:19 pm »
Hi,

I have trouble using the EA-Eclipse-Plugin (MDG Link). The first time I used it, it worked just fine. After I tried to import another project from eclipse, a several days later, an error came up. After launching eclipse from the EA, EA keeps showing a messagebox with title 'EclipseLink' and Message 'Cannot Create XML Document'. I tried to reinstall EA and the plugin, clean everything up, but nothing worked.
Has anyone an idea what could be the problem?
I am using EA12 with an Eclipse EE Kepler 32-Bit.
The Eclipse-Plugin provides no version, but should be the latest.
Thanks,
Best regards,
Florian

Rick X

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: EAEclipse-Plugin 'Cannot Create XML Document'
« Reply #1 on: March 31, 2015, 06:00:19 am »
I am getting exactly the same error after I install the EA Eclipse Plugin and use it for the first time in EA. I followed the instruction to install and configured the plugin for EA.

What may be the cause?

Thanks,
Rick  

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: EAEclipse-Plugin 'Cannot Create XML Document'
« Reply #2 on: March 31, 2015, 09:38:53 am »
The version of Eclipse Integration that you have installed expected EA to ensure MSXML 4 is installed. But the current version of EA doesn't require MSXML4.

The easiest fix is to download and install MSXML 4 from Microsoft.

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: EAEclipse-Plugin 'Cannot Create XML Document'
« Reply #3 on: March 31, 2015, 09:55:47 am »
Please try installing MSXML 4.0 from the following Microsoft page.  This should resolve the "Cannot Create XML Document" error.
http://www.microsoft.com/en-au/download/details.aspx?id=15697

[ EDIT: Simon beat me to it. :) ]
« Last Edit: March 31, 2015, 09:56:53 am by AaronB »

Rick X

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: EAEclipse-Plugin 'Cannot Create XML Document'
« Reply #4 on: April 01, 2015, 01:22:23 am »
Thanks. The error ''Cannot Create XML Document'' is gone after I applied the MSXML 4.0.

From the EA Project Browser, I select one project/package, right click the Extentions -> Eclipse -> View Project Connections ..., the Eclipse is opened. I select one project in Eclipse Project Explore, then go to EA and select the package again, right click the Extentions -> Eclipse -> Connect External Project, in the ''Eclipse Connections'' Popup window, both the "Enterprise Architect Packages" and the ""Active Eclipse Projects" fields are blank, and the ''Connect'' buttion is disabled  :(

Not sure what is going on.

My EA is the latest version. Eclipse is 4.4.2 (Luna Service Release 2, Java EE IDE)


Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: EAEclipse-Plugin 'Cannot Create XML Document'
« Reply #5 on: April 01, 2015, 10:27:48 am »
In Eclipse - open Help | About Eclipse > Installation Details > Plug-ins and sort the list by Provider.  You should be able to find plugins where Provider is "SparxSystems".  What plugins appear to be installed?
 
Also, browse to your "eclipse\plugins" directory and look for all files starting with "org.sparx.mdg.eclipse".  What files do you find?

If not present, you should find these files in your EA 12 install directory and copy them to either your "eclipse\plugins" or "eclipse\dropins" directory.

Rick X

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: EAEclipse-Plugin 'Cannot Create XML Document'
« Reply #6 on: April 01, 2015, 11:35:13 am »
I see three rows with Provider to be 'SparxSystems':
1. MDG Integration for Eclipse Core Plugin
2. MDG Integration for Eclipse JDT Plugin
3. MDG Link for Eclipse Core Plug-in

I see a list of jar files with org.sparx.mdg.eclipse.* in the file names in the eclipse/plugin directory.

The other finding is that I can see the ''Enterprise Architect'' in the Eclipse menu bar. There are two menu items in this menu bar:
1. EA Project Explorer
2. MDG Options

But if I click any of the above menu items, I get a popup window saying that ''The chosen operation is currently not available.

Not sure what is going on.

Thanks,
Rick

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: EAEclipse-Plugin 'Cannot Create XML Document'
« Reply #7 on: April 01, 2015, 02:52:20 pm »
Hi Rick,

Two problems in your scenario - Based on your description I am guessing that you are perhaps running a 64-bit version of Eclipse Luna?

Problem 1) MDG Integration is not compatible with 64-bit versions of Eclipse and is a known cause of the "The chosen operation is not currently available" error message.  You will need to install a 32-bit version of Eclipse, then re-install MDG Integration.

Problem 2) There was a known issue with Eclipse Luna which meant that not all required plugins were being successfully loaded.  For example, the "MDG Link for Eclipse JDT Plug-in" is missing from your list.  This issue was fixed in the jar files which are distributed with EA 12, but has not yet been corrected in the versions distributed with MDG Integration.   To resolve this issue, copy all org.sparx.mdg.eclipse.*.jar files from your EA 12 installation directory across to your eclipse\plugins directory, overwriting the existing files.

Flobo

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: EAEclipse-Plugin 'Cannot Create XML Document'
« Reply #8 on: April 01, 2015, 11:08:13 pm »
Installing MSXML4 solved my problem! Thanks!