Skip to main content
March 30, 2016
Question

Error while importing the Entities.

  • March 30, 2016
  • 2 replies
  • 3675 views

Hi,

When we are importing the Entities.xml file we are getting the below error: The version of Thingworx is 6.6.5-b473

Thanks,

Aditya Kumar

2 replies

March 30, 2016

Hi,

Earlier we were working on 6.5.o version and exported the entities from this version and we are importing it to the Thingworx is 6.6.5-b473

Thanks,

Aditya Kumar

5-Regular Member
March 30, 2016

Aditya, can you paste the error message here? The image link you've attached seems to be broken.

March 30, 2016

Error Importing: error,Invalid byte 2 of 3-byte UTF-8 sequence

We are getting the above error

20-Turquoise
March 30, 2016

Aditya, while we are waiting for the image to be re-attached, a couple of things to ensure: the list of extensions in 6.6 is matching the original in 6.5; encoding is set to UTF-8; proper persistence provider is selected.

March 30, 2016

How to set encoding  to UTF-8 ?

20-Turquoise
March 30, 2016

Add -Dfile.encoding=UTF-8 property to JAVA_OPTS Java options for tomcat

Workaround for already exported file

  • Open the xml in notepad
  • No extra space should be there at the beginning and end of the document
  • Select File -> Save As
  • Select save as type -> All files
  • Enter file name as abcd.xml
  • Select Encoding as UTF-8 -> Click Save