Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMFStore,ECP] java.lang.RuntimeException: An invalid XML character was found in the element content
[EMFStore,ECP] java.lang.RuntimeException: An invalid XML character was found in the element content [message #1730321] Sun, 24 April 2016 17:40 Go to next message
Jon Passki is currently offline Jon PasskiFriend
Messages: 26
Registered: November 2015
Junior Member

I have a simple ECP application (1.7.0) with a basic Ecore model and persisting the data via EMFStore, running on Eclipse 4.5. I was copy/pasting content into a model that contained the character U+0016. This caused an exception:
java.lang.RuntimeException: An invalid XML character (Unicode: 0x16) was found in the element content:\u0016FooBar


This can be approximated by modifying the "Basic EMFStore example" sample application (org.eclipse.emf.emfstore.example.helloworld.Application) with the below and running it:

		League league = BowlingFactory.eINSTANCE.createLeague();
		league.setName("Suprbowling \u0016League");


However, the stack trace I have is different. (Search Google for the above stack trace line and you should see Issue #22 in the OpenSemantics GitHub repository.)

Once I copy / pasted the invalid character into my running ECP application I wasn't able to undo the operations. As far as I could tell, it corrupted my EMFStore data too. Is this a known bug?
Re: [EMFStore,ECP] java.lang.RuntimeException: An invalid XML character was found in the element con [message #1730564 is a reply to message #1730321] Tue, 26 April 2016 16:53 Go to previous message
Edgar Mueller is currently offline Edgar MuellerFriend
Messages: 17
Registered: March 2016
Junior Member
Hi Jon,

no, it wasn't, but now it is:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=492471

Thanks for reporting!

Cheers,
Edgar

--
Edgar Mueller

Get Professional Eclipse Support:
http://eclipsesource.com/en/services/developer-support/
Previous Topic:[Teneo] List as Map-value
Next Topic:[EMFForms] How to open a non-project file in GenericEditor
Goto Forum:
  


Current Time: Fri Jan 19 11:55:26 GMT 2018

Powered by FUDForum. Page generated in 0.01884 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software