zward / Amua

An open source modeling framework
GNU General Public License v3.0
33 stars 11 forks source link

Error: Null when trying to open Amua file #43

Closed TJA87 closed 4 years ago

TJA87 commented 4 years ago

RESOLVED: Had to convert file back to UTF-8

Hello,

I have a model that isn't opening anymore. I get a Null error when trying to open it with Amua.

Here's the error log: Version: 0.2.6

Errors (1): Sun Jan 05 23:06:51 EST 2020 javax.xml.bind.UnmarshalException


System properties Java Runtime Environment version: 1.8.0_231 Java Runtime Environment vendor: Oracle Corporation Java vendor URL: http://java.oracle.com/ Java installation directory: C:\Program Files (x86)\Java\jre1.8.0_231 Java Virtual Machine specification version: 1.8 Java Virtual Machine specification vendor: Oracle Corporation Java Virtual Machine specification name: Java Virtual Machine Specification Java Virtual Machine implementation version: 25.231-b11 Java Virtual Machine implementation vendor: Oracle Corporation Java Virtual Machine implementation name: Java HotSpot(TM) Client VM Java Runtime Environment specification version: 1.8 Java Runtime Environment specification vendor: Oracle Corporation Java Runtime Environment specification name: Java Platform API Specification Java class format version number: 52.0 Java class path: C:\Users\jewdk\Amua\Amua_0.2.6.jar Default temp file path: C:\Users\jewdk\AppData\Local\Temp\ Name of JIT compiler to use: null Operating system name: Windows 10 Operating system architecture: x86 Operating system version: 10.0 Heap - Used Memory: 2 MB Heap - Total Memory: 15 MB Heap - Max Memory: 247 MB Available Processors: 4 Screen Resolution: 96 Screen Size: java.awt.Dimension[width=1280,height=720]

Thank you so much!

zward commented 4 years ago

Yes, the file needs to be in UTF-8 encoding - converting back to UTF-8 (e.g. using Notepad++) is the easiest way to re-open the file in Amua.