kayler-renslow / arma-dialog-creator

A dialog/GUI creation tool for Arma 3.
MIT License
76 stars 12 forks source link

ERROR: Could not load project #51

Open OfficialStamper opened 5 years ago

OfficialStamper commented 5 years ago

Version and Build

V1.0.7 Build 60

Summary

Loading existing project errors.

Tried renaming project.xml.backup to project.xml and get same error.

project.xml attached in project.zip project.zip

custom_controls.xml attached in custom_controls.zip custom_controls.zip

(hope you can shed some light on this, many many hours of work lost. Tried re-importing from Arma Project and all the classes are broken where, what was required has become optional and sizeEx converted to raw with errors. Possibly other issue. [just having a cry, brb])

Detail

com.kaylerrenslow.armaDialogCreator.data.xml.XmlParseException: Job sorting: Went through all jobs for an iteration and did nothing (this error prevents infinite loop)!jobs=:[com.kaylerrenslow.armaDialogCreator.data.xml.ControlClassXmlHelper$CreateCustomControlClassJob@3d40e51, com.kaylerrenslow.armaDialogCreator.data.xml.ControlClassXmlHelper$ControlExtendJob@46c76b9b] at com.kaylerrenslow.armaDialogCreator.data.xml.ProjectLoaderVersion1.loadProject(ProjectLoaderVersion1.java:81) at com.kaylerrenslow.armaDialogCreator.data.xml.ProjectLoaderVersion1.readDocument(ProjectLoaderVersion1.java:51) at com.kaylerrenslow.armaDialogCreator.data.xml.ProjectXmlLoader.parseProjectXmlFile(ProjectXmlLoader.java:46) at com.kaylerrenslow.armaDialogCreator.main.ArmaDialogCreator$1.call(ArmaDialogCreator.java:248) at com.kaylerrenslow.armaDialogCreator.main.ArmaDialogCreator$1.call(ArmaDialogCreator.java:237) at javafx.concurrent.Task$TaskCallable.call(Task.java:1423) at java.util.concurrent.FutureTask.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.IllegalStateException: Job sorting: Went through all jobs for an iteration and did nothing (this error prevents infinite loop)!jobs=:[com.kaylerrenslow.armaDialogCreator.data.xml.ControlClassXmlHelper$CreateCustomControlClassJob@3d40e51, com.kaylerrenslow.armaDialogCreator.data.xml.ControlClassXmlHelper$ControlExtendJob@46c76b9b] at com.kaylerrenslow.armaDialogCreator.data.xml.ControlClassXmlHelper.sortJobs(ControlClassXmlHelper.java:98) at com.kaylerrenslow.armaDialogCreator.data.xml.ControlClassXmlHelper.runJobs(ControlClassXmlHelper.java:47) at com.kaylerrenslow.armaDialogCreator.data.xml.ProjectLoaderVersion1.loadProject(ProjectLoaderVersion1.java:77) ... 7 more

THREAD:Arma Dialog Creator JavaFX Thread

OfficialStamper commented 5 years ago

Just renamed (restored) the custom_controls.xml.backup and the project loads now (phew).

custom_controls.xml.backup attached. custom_controls.xml.backup.zip

Thank God (@kayler-renslow ) for auto backups :)

kayler-renslow commented 5 years ago

Thanks for the bug report. I'll take a look into this issue this week.