You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the system defaut charset is not UTF-8, we get the exception
ERROR org.eclipse.emfcloud.modelserver.emf.common.util.ContextResponse - An error occurred during data decoding
org.eclipse.emfcloud.modelserver.common.codecs.DecodingException: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Invalid byte 2 of 3-byte UTF-8 sequence.
I post an XMI to the modelserver.
If the system defaut charset is not UTF-8, we get the exception
Error is on this line:
emfcloud-modelserver/bundles/org.eclipse.emfcloud.modelserver.common/src/org/eclipse/emfcloud/modelserver/common/codecs/XmiCodec.java
Line 93 in 8e68e4c
The code encodes the payload string using the default system charset with String.getBytes: NOK.
Workaround: start the executable with
-Dfile.encoding="UTF-8"
The text was updated successfully, but these errors were encountered: