Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot load crew_alpha.xml in windows: File separator issue #446

Closed
mokun opened this issue Sep 25, 2021 · 5 comments
Closed

Cannot load crew_alpha.xml in windows: File separator issue #446

mokun opened this issue Sep 25, 2021 · 5 comments
Milestone

Comments

@mokun
Copy link
Member

mokun commented Sep 25, 2021

Describe the bug

  • Cannot load crew_alpha.xml in windows' command prompt

Desktop

  • build 6215

Expected behavior

  • For windows, the path should be \xml\defaults\crew_alpha.xml
  • For macOS and linux, the path should be /xml/defaults/crew_alpha.xml

Screenshots

D:\Data\msp binary\v3.3.0>java -jar 6215.jar
      JAVA_HOME : D:\Data\java 2021\openjdk-17_windows-x64_bin\jdk-17\bin
   Java Command : "D:\Data\java 2021\openjdk-17_windows-x64_bin\jdk-17\bin\java"
Command: "D:\Data\java 2021\openjdk-17_windows-x64_bin\jdk-17\bin\java" -Xmx1536m
 --add-opens java.base/java.util=ALL-UNNAMED
 --add-opens java.base/java.text=ALL-UNNAMED
 --add-opens java.base/java.lang.reflect=ALL-UNNAMED
 --add-opens java.base/java.net=ALL-UNNAMED
 --add-opens java.base/java.lang=ALL-UNNAMED
 --add-opens java.base/jdk.internal.loader=ALL-UNNAMED
 --add-opens java.desktop/javax.swing=ALL-UNNAMED
 --add-opens java.desktop/javax.swing.text=ALL-UNNAMED
 --add-opens java.desktop/java.awt.font=ALL-UNNAMED
 --add-opens java.desktop/java.awt.geom=ALL-UNNAMED
 --add-opens java.desktop/java.awt=ALL-UNNAMED
 --add-opens java.desktop/java.beans=ALL-UNNAMED
 --add-opens java.desktop/javax.swing.table=ALL-UNNAMED
 --add-opens java.desktop/com.sun.awt=ALL-UNNAMED
 --add-opens java.desktop/sun.awt=ALL-UNNAMED
 --add-opens java.desktop/sun.swing=ALL-UNNAMED
 --add-opens java.desktop/sun.font=ALL-UNNAMED
 --add-opens java.desktop/javax.swing.plaf.basic=ALL-UNNAMED
 --add-opens java.desktop/javax.swing.plaf.synth=ALL-UNNAMED
 --add-opens java.desktop/com.sun.java.swing.plaf.windows=ALL-UNNAMED
 -Djava.util.logging.config.file=logging.properties -cp .;*;jars\* org.mars_sim.main.MarsProject -new
WARNING: package com.sun.awt not in java.desktop
2021-09-25T13:21:08.2 (Config) MarsProject : Starting Mars Simulation Project v3.3.0 - Build 6215 - 64-bit Java 17 - 8 CPU threads
2021-09-25T13:21:08.2 (Config) MarsProject : List of input args : [-new]
2021-09-25T13:21:08.4 (Config) SimulationConfig : The xml folder already existed.
2021-09-25T13:21:08.4 (Config) SimulationConfig : The version.txt has the same BUILD 6215 as the core engine's.
2021-09-25T13:21:09.2 (Config) SimulationConfig : Done loading all xml config files.
2021-09-25T13:21:09.2 (Config) MarsProject : Please go to the console's Main Menu to choose an option.
2021-09-25T13:21:18.0 (Config) SimulationBuilder : -----------------------------------------------------------
2021-09-25T13:21:18.0 (Config) SimulationBuilder :     Java Version Full String = 17+35-2724
2021-09-25T13:21:18.0 (Config) SimulationBuilder : Java Version Feature Element = 17
2021-09-25T13:21:18.0 (Config) SimulationBuilder : Java Version Interim Element = 0
2021-09-25T13:21:18.0 (Config) SimulationBuilder :   Java Patch Element Version = 0
2021-09-25T13:21:18.0 (Config) SimulationBuilder :  Java Update Element Version = 0
2021-09-25T13:21:18.0 (Config) SimulationBuilder :           Java Version Build = 35
2021-09-25T13:21:18.0 (Config) SimulationBuilder :   Java additional build Info = 2724
2021-09-25T13:21:18.0 (Config) SimulationBuilder :        Java Pre-Release Info = NA
2021-09-25T13:21:18.0 (Config) SimulationBuilder : -----------------------------------------------------------
2021-09-25T13:21:18.0 (Config) Simulation : Initiating the simulation core engine...
2021-09-25T13:21:18.0 (Config) MasterClock : -----------------------------------------------------
2021-09-25T13:21:18.0 (Config) MasterClock :                  Base time-ratio : 128x
2021-09-25T13:21:18.0 (Config) MasterClock :               Min msol per pulse : 0.02
2021-09-25T13:21:18.0 (Config) MasterClock :               Max msol per pulse : 2.0
2021-09-25T13:21:18.0 (Config) MasterClock :  Max elapsed time between pulses : 1000 ms
2021-09-25T13:21:18.0 (Config) MasterClock :                    Accuracy bias : 0.5
2021-09-25T13:21:18.0 (Config) MasterClock : -----------------------------------------------------
00-Adir-01:000.000 (Info) SimulationBuilder : Created default CrewConfig
00-Adir-01:000.000 (Severe) SimulationConfig : Cannot find the bundled XML /xml/defaults\crew_alpha.xml
00-Adir-01:000.000 (Severe) MarsProject : Problem starting Can not find crew_alpha
java.lang.IllegalStateException: Can not find crew_alpha
        at org.mars_sim.msp.core.configuration.UserConfigurableConfig.loadItem(UserConfigurableConfig.java:139)
        at org.mars_sim.msp.core.configuration.UserConfigurableConfig.loadDefaults(UserConfigurableConfig.java:126)
        at org.mars_sim.msp.core.person.CrewConfig.<init>(CrewConfig.java:75)
        at org.mars_sim.msp.core.SimulationBuilder.start(SimulationBuilder.java:282)
        at org.mars_sim.main.MarsProject.parseArgs(MarsProject.java:173)
        at org.mars_sim.main.MarsProject.main(MarsProject.java:332)
@mokun
Copy link
Member Author

mokun commented Sep 25, 2021

This issue doesn't surface when running Eclipse launcher. It shows up when running the compiled binary in the command prompt in Windows 10.

@mokun mokun changed the title Cannot load crew_alpha.xml in windows: file separator issue Cannot load crew_alpha.xml in windows: File separator issue Sep 25, 2021
@mokun
Copy link
Member Author

mokun commented Sep 25, 2021

@bevans2000 ,

I wonder why getBundledXML() in SimulationConfig doesn't work now. It used to work before in v3.2.0.

@mokun
Copy link
Member Author

mokun commented Sep 25, 2021

Looks like it has to do with me using Java 17 in my desktop environment.

When I change back it to Java 11, the compiled binary can be run and doesn't get terminated.

However, it still complains about the following three xml files NOT being found.

See

00-Adir-01:000.000 (Severe) SimulationConfig : Cannot find the bundled XML /xml/defaults\crew_alpha.xml
00-Adir-01:000.000 (Severe) SimulationConfig : Cannot find the bundled XML /xml/defaults\crew_founders.xml
00-Adir-01:000.000 (Severe) SimulationConfig : Cannot find the bundled XML /xml/defaults\scenario_default.xml

Is it normal ?

D:\Data\msp binary\v3.3.0>java -version
openjdk version "11.0.12" 2021-07-20 LTS
OpenJDK Runtime Environment (build 11.0.12+7-LTS)
OpenJDK 64-Bit Server VM (build 11.0.12+7-LTS, mixed mode)

D:\Data\msp binary\v3.3.0>java -jar 6215.jar
      JAVA_HOME : D:\Data\java 2021\jdk-11.0.12-full\bin
   Java Command : "D:\Data\java 2021\jdk-11.0.12-full\bin\java"
Command: "D:\Data\java 2021\jdk-11.0.12-full\bin\java" -Xmx1536m
 --add-opens java.base/java.util=ALL-UNNAMED
 --add-opens java.base/java.text=ALL-UNNAMED
 --add-opens java.base/java.lang.reflect=ALL-UNNAMED
 --add-opens java.base/java.net=ALL-UNNAMED
 --add-opens java.base/java.lang=ALL-UNNAMED
 --add-opens java.base/jdk.internal.loader=ALL-UNNAMED
 --add-opens java.desktop/javax.swing=ALL-UNNAMED
 --add-opens java.desktop/javax.swing.text=ALL-UNNAMED
 --add-opens java.desktop/java.awt.font=ALL-UNNAMED
 --add-opens java.desktop/java.awt.geom=ALL-UNNAMED
 --add-opens java.desktop/java.awt=ALL-UNNAMED
 --add-opens java.desktop/java.beans=ALL-UNNAMED
 --add-opens java.desktop/javax.swing.table=ALL-UNNAMED
 --add-opens java.desktop/com.sun.awt=ALL-UNNAMED
 --add-opens java.desktop/sun.awt=ALL-UNNAMED
 --add-opens java.desktop/sun.swing=ALL-UNNAMED
 --add-opens java.desktop/sun.font=ALL-UNNAMED
 --add-opens java.desktop/javax.swing.plaf.basic=ALL-UNNAMED
 --add-opens java.desktop/javax.swing.plaf.synth=ALL-UNNAMED
 --add-opens java.desktop/com.sun.java.swing.plaf.windows=ALL-UNNAMED
 -Djava.util.logging.config.file=logging.properties -cp .;*;jars\* org.mars_sim.main.MarsProject -new
2021-09-25T13:43:27.9 (Config) MarsProject : Starting Mars Simulation Project v3.3.0 - Build 6215 - 64-bit Java 11.0.12 - 8 CPU threads
2021-09-25T13:43:27.9 (Config) MarsProject : List of input args : [-new]
2021-09-25T13:43:28.1 (Config) SimulationConfig : The xml folder already existed.
2021-09-25T13:43:28.1 (Config) SimulationConfig : The version.txt has the same BUILD 6215 as the core engine's.
2021-09-25T13:43:29.0 (Config) SimulationConfig : Done loading all xml config files.
2021-09-25T13:43:29.0 (Config) MarsProject : Please go to the console's Main Menu to choose an option.
2021-09-25T13:43:38.1 (Config) SimulationBuilder : -----------------------------------------------------------
2021-09-25T13:43:38.1 (Config) SimulationBuilder :     Java Version Full String = 11.0.12+7-LTS
2021-09-25T13:43:38.1 (Config) SimulationBuilder : Java Version Feature Element = 11
2021-09-25T13:43:38.1 (Config) SimulationBuilder : Java Version Interim Element = 0
2021-09-25T13:43:38.1 (Config) SimulationBuilder :   Java Patch Element Version = 0
2021-09-25T13:43:38.1 (Config) SimulationBuilder :  Java Update Element Version = 12
2021-09-25T13:43:38.1 (Config) SimulationBuilder :           Java Version Build = 7
2021-09-25T13:43:38.1 (Config) SimulationBuilder :   Java additional build Info = LTS
2021-09-25T13:43:38.1 (Config) SimulationBuilder :        Java Pre-Release Info = NA
2021-09-25T13:43:38.1 (Config) SimulationBuilder : -----------------------------------------------------------
2021-09-25T13:43:38.1 (Config) Simulation : Initiating the simulation core engine...
2021-09-25T13:43:38.2 (Config) MasterClock : -----------------------------------------------------
2021-09-25T13:43:38.2 (Config) MasterClock :                  Base time-ratio : 128x
2021-09-25T13:43:38.2 (Config) MasterClock :               Min msol per pulse : 0.02
2021-09-25T13:43:38.2 (Config) MasterClock :               Max msol per pulse : 2.0
2021-09-25T13:43:38.2 (Config) MasterClock :  Max elapsed time between pulses : 1000 ms
2021-09-25T13:43:38.2 (Config) MasterClock :                    Accuracy bias : 0.5
2021-09-25T13:43:38.2 (Config) MasterClock : -----------------------------------------------------
00-Adir-01:000.000 (Info) SimulationBuilder : Created default CrewConfig
00-Adir-01:000.000 (Severe) SimulationConfig : Cannot find the bundled XML /xml/defaults\crew_alpha.xml
00-Adir-01:000.000 (Severe) SimulationConfig : Cannot find the bundled XML /xml/defaults\crew_founders.xml
00-Adir-01:000.000 (Severe) SimulationConfig : Cannot find the bundled XML /xml/defaults\scenario_default.xml
00-Adir-01:000.000 (Config) SettlementBuilder : Scenario Default loading
00-Adir-01:000.000 (Config) SettlementBuilder : Creating New Plymouth based on template Phase 2-U
00-Adir-01:000.000 (Config) EVASuit :  EVA suit's unloaded weight : 14.15 kg
00-Adir-01:000.000 (Config) EVASuit :       Total gas tank volume : 3.9L
00-Adir-01:000.000 (Config) EVASuit :                Full Tank O2 : 66.62 kPa -> 1.0    kg - Maximum tank pressure
00-Adir-01:000.000 (Config) EVASuit :                  Nomimal O2 : 17.0  kPa -> 0.2552 kg - Suit target pressure
00-Adir-01:000.000 (Config) EVASuit :                  Minimum O2 : 11.94 kPa -> 0.1792 kg - Safety limit
00-Adir-01:000.000 (Config) Mind : [New Plymouth] George Wood - Becomes Meteorologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [New Plymouth] Daniel Taylor - Becomes Chemist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [New Plymouth] Barbara Jones - Becomes Biologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [New Plymouth] Harold Carter - Becomes Physicist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [New Plymouth] Ernest Robinson - Becomes Areologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [New Plymouth] Joyce Campbell - Becomes Mathematician, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [New Plymouth] Jane Ward - Becomes Chemist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [New Plymouth] Martha Collins - Becomes Meteorologist, approved by Mission Control.
00-Adir-01:000.000 (Config) SettlementBuilder : Creating Europa based on template Phase 2-E
00-Adir-01:000.000 (Config) Mind : [Europa] Niklas Wolf - Becomes Chemist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Europa] William Johansson - Becomes Meteorologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Europa] Emily Klein - Becomes Mathematician, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Europa] Hanna Kami?ski - Becomes Physicist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Europa] ?lvaro López - Becomes Areologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Europa] Amelia Kelly - Becomes Pilot, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Europa] Vasileios Vlachos - Becomes Biologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Europa] Greta Greco - Becomes Meteorologist, approved by Mission Control.
00-Adir-01:000.000 (Config) SettlementBuilder : Creating Tian Cheng based on template Phase 2-C
00-Adir-01:000.000 (Config) Mind : [Tian Cheng] Kwong Liang - Becomes Chemist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Tian Cheng] Mingli Zheng - Becomes Meteorologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Tian Cheng] Longwei Cai - Becomes Physicist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Tian Cheng] Qiaohui Su - Becomes Engineer, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Tian Cheng] Xiaoli Hui - Becomes Areologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Tian Cheng] Qiaolian Yeh - Becomes Botanist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Tian Cheng] Chung Toy - Becomes Engineer, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Tian Cheng] Gen Su - Becomes Meteorologist, approved by Mission Control.
00-Adir-01:000.000 (Config) SettlementBuilder : Creating New Pompeii based on template Phase 2-I
00-Adir-01:000.000 (Config) Fishery : [New Pompeii] Fish Farm 1 - # of fish: 146  # of weeds: 2250.
00-Adir-01:000.000 (Config) Mind : [New Pompeii] Priyanka Sen - Becomes Engineer, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [New Pompeii] Kavya Puri - Becomes Physicist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [New Pompeii] Aryan Nita - Becomes Areologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [New Pompeii] Aarav Sudha - Becomes Biologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [New Pompeii] Avantika Vijaya - Becomes Chemist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [New Pompeii] Yuvaan Patel - Becomes Mathematician, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [New Pompeii] Yash Raji - Becomes Meteorologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [New Pompeii] Shlok Sandeep - Becomes Botanist, approved by Mission Control.
00-Adir-01:000.000 (Config) SettlementBuilder : Creating Kyocera based on template Phase 2-J
00-Adir-01:000.000 (Config) Fishery : [Kyocera] Fish Farm 1 - # of fish: 146  # of weeds: 2250.
00-Adir-01:000.000 (Config) Mind : [Kyocera] Hinata Kondo - Becomes Chemist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Kyocera] Shiori Murakami - Becomes Mathematician, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Kyocera] Ryusei Okada - Becomes Meteorologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Kyocera] Kaito Yamazaki - Becomes Areologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Kyocera] Yuito Aoki - Becomes Physicist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Kyocera] Takumi Fujii - Becomes Botanist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Kyocera] Ryuto Shimizu - Becomes Engineer, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Kyocera] Shiori Shimizu - Becomes Meteorologist, approved by Mission Control.
00-Adir-01:000.000 (Config) SettlementBuilder : Creating Starcity based on template Phase 3-X
00-Adir-01:000.000 (Config) Mind : [Starcity] Catherine Stewart - Becomes Chemist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Starcity] Stanley Diaz - Becomes Physicist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Starcity] Camille Girard - Becomes Mathematician, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Starcity] Charles Taylor - Becomes Meteorologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Starcity] Nathan Cloutier - Becomes Areologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Starcity] William Thomas - Becomes Pilot, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Starcity] Sara Walker - Becomes Areologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Starcity] Anne Cooper - Becomes Meteorologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Starcity] Fredrique Martel - Becomes Botanist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Starcity] Stephanie Howard - Becomes Biologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Starcity] Matheo Poirier - Becomes Physicist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Starcity] Gary Martin - Becomes Technician, approved by Mission Control.
00-Adir-01:000.000 (Config) SettlementBuilder : Creating Zvezda based on template Phase 3-R
00-Adir-01:000.000 (Config) Mind : [Zvezda] Darya Petrov - Becomes Biologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Zvezda] Mikhail Dezhurov - Becomes Botanist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Zvezda] Olga Belyayev - Becomes Meteorologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Zvezda] Irina Artyukhin - Becomes Mathematician, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Zvezda] Aleksandr Feoktistov - Becomes Chemist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Zvezda] Yelena Volkov - Becomes Physicist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Zvezda] Timofei Dyomin - Becomes Botanist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Zvezda] Nikolai Feoktistov - Becomes Pilot, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Zvezda] Vikoria Borisenko - Becomes Technician, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Zvezda] Dmitri Aleksandrov - Becomes Areologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Zvezda] Artem Kozlov - Becomes Architect, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Zvezda] Varvara Petrov - Becomes Technician, approved by Mission Control.
00-Adir-01:000.000 (Config) SettlementBuilder : Creating Schiaparelli Point based on template Alpha Base
00-Adir-01:000.000 (Config) Fishery : [Schiaparelli Point] Large Greenhouse 1 - # of fish: 14  # of weeds: 270.
00-Adir-01:000.000 (Info) SettlementBuilder : Karen Andersen from crew 'Alpha' assigned to Settlement Schiaparelli Point
00-Adir-01:000.000 (Config) Mind : [Schiaparelli Point] Karen Andersen - Becomes Botanist, approved by Mission Control.
00-Adir-01:000.000 (Info) SettlementBuilder : Rik Declercq from crew 'Alpha' assigned to Settlement Schiaparelli Point
00-Adir-01:000.000 (Config) Mind : [Schiaparelli Point] Rik Declercq - Becomes Areologist, approved by Mission Control.
00-Adir-01:000.000 (Severe) Favorite : The side dish 'Sesame Miso Soup' does not exist in mars-sim !
00-Adir-01:000.000 (Info) SettlementBuilder : Leonardo DaVinci from crew 'Alpha' assigned to Settlement Schiaparelli Point
00-Adir-01:000.000 (Config) Mind : [Schiaparelli Point] Leonardo DaVinci - Becomes Engineer, approved by Mission Control.
00-Adir-01:000.000 (Info) SettlementBuilder : Lena LaGranda from crew 'Alpha' assigned to Settlement Schiaparelli Point
00-Adir-01:000.000 (Config) Mind : [Schiaparelli Point] Lena LaGranda - Becomes Technician, approved by Mission Control.
00-Adir-01:000.000 (Info) SettlementBuilder : Ray Bradbury from crew 'Alpha' assigned to Settlement Schiaparelli Point
00-Adir-01:000.000 (Config) Mind : [Schiaparelli Point] Ray Bradbury - Becomes Doctor, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Schiaparelli Point] David Gruber - Becomes Botanist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Schiaparelli Point] Jesse Van den Berg - Becomes Pilot, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Schiaparelli Point] George Davies - Becomes Chemist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Schiaparelli Point] Xiaohui Xie - Becomes Mathematician, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Schiaparelli Point] Balázs Nagy - Becomes Physicist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Schiaparelli Point] Tanishka Lata - Becomes Meteorologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Schiaparelli Point] Mattia Greco - Becomes Areologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Schiaparelli Point] Inès Mäkelä - Becomes Meteorologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Schiaparelli Point] Leo Laine - Becomes Biologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Schiaparelli Point] Lotte Meijer - Becomes Physicist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Schiaparelli Point] Oliver Pärn - Becomes Pilot, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Schiaparelli Point] Ninghong Tse - Becomes Biologist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Schiaparelli Point] Filip Kami?ski - Becomes Mathematician, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Schiaparelli Point] Yuma Ito - Becomes Engineer, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Schiaparelli Point] Noah Martin - Becomes Trader, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Schiaparelli Point] Rio Murakami - Becomes Astronomer, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Schiaparelli Point] Henri Kukk - Becomes Chemist, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Schiaparelli Point] Lucas Hoffmann - Becomes Doctor, approved by Mission Control.
00-Adir-01:000.000 (Config) Mind : [Schiaparelli Point] Felix Hoffmann - Becomes Chef, approved by Mission Control.
00-Adir-01:000.000 (Config) MarsProject : Starting GUI
00-Adir-01:000.000 (Config) MainWindow : Checking OS color scheme.
00-Adir-01:000.000 (Config) MainWindow : OsThemeDetector is supported.
00-Adir-01:000.000 (Config) MainWindow : OS is using a dark theme.
00-Adir-01:001.453 (Config) UnitManager : Setting up 4 thread(s) for running the settlement update.
00-Adir-01:002.481 (Info) PlanMission : [New Plymouth] Joyce Campbell - Looking into the settlement's mission needs.
00-Adir-01:002.481 (Info) PlanMission : [New Plymouth] Joyce Campbell - Determined that the settlement doesn't need a new mission.
00-Adir-01:006.980 (Config) MainWindow : Screen size 1920 x 1080
00-Adir-01:006.980 (Config) MainWindow : Window size 1920 x 1017
00-Adir-01:010.128 (Info) LivingAccommodations : [Tian Cheng - Lander Hab 1] Kwong Liang - Designated a bed at (1.5, 3.16).
00-Adir-01:010.128 (Info) LivingAccommodations : [Tian Cheng - Lander Hab 1] Mingli Zheng - Designated a bed at (-0.39, 3.46).
00-Adir-01:010.128 (Info) LivingAccommodations : [Tian Cheng - Lander Hab 1] Longwei Cai - Designated a bed at (-3.14, 0.83).
00-Adir-01:010.128 (Info) LivingAccommodations : [Tian Cheng - Lander Hab 1] Qiaohui Su - Designated a bed at (-3.04, -1.04).
00-Adir-01:010.128 (Info) LivingAccommodations : [Tian Cheng - EVA Airlock 1] Xiaoli Hui - Designated a bed at (4.9, 1.35).
00-Adir-01:010.128 (Info) LivingAccommodations : [Tian Cheng - EVA Airlock 1] Qiaolian Yeh - Designated a bed at (4.9, -1.35).
00-Adir-01:010.128 (Info) LivingAccommodations : [Europa - Residential Quarters 1] Niklas Wolf - Designated a bed at (-9.8, 16.2).
00-Adir-01:010.128 (Info) LivingAccommodations : [Europa - Residential Quarters 1] William Johansson - Designated a bed at (-9.8, 14.8).
00-Adir-01:010.128 (Info) LivingAccommodations : [New Pompeii - Lander Hab 1] Priyanka Sen - Designated a bed at (1.5, 3.16).
00-Adir-01:010.128 (Info) LivingAccommodations : [Europa - Lander Hab 1] Emily Klein - Designated a bed at (1.5, 3.16).
00-Adir-01:010.128 (Info) LivingAccommodations : [New Pompeii - Lander Hab 1] Kavya Puri - Designated a bed at (-0.39, 3.46).
00-Adir-01:010.128 (Info) LivingAccommodations : [Europa - Lander Hab 1] Hanna Kami?ski - Designated a bed at (-0.39, 3.46).
00-Adir-01:010.128 (Info) LivingAccommodations : [New Pompeii - Lander Hab 1] Aryan Nita - Designated a bed at (-3.14, 0.83).
00-Adir-01:010.128 (Info) LivingAccommodations : [Europa - Lander Hab 1] ?lvaro López - Designated a bed at (-3.14, 0.83).
00-Adir-01:010.128 (Info) LivingAccommodations : [New Pompeii - Lander Hab 1] Aarav Sudha - Designated a bed at (-3.04, -1.04).
00-Adir-01:010.128 (Info) LivingAccommodations : [Europa - Residential Quarters 1] Amelia Kelly - Designated a bed at (-9.8, 13.4).
00-Adir-01:010.128 (Info) LivingAccommodations : [New Pompeii - EVA Airlock 1] Avantika Vijaya - Designated a bed at (4.9, 1.35).
00-Adir-01:010.128 (Info) LivingAccommodations : [Europa - Lander Hab 1] Vasileios Vlachos - Designated a bed at (-3.04, -1.04).
00-Adir-01:010.128 (Info) LivingAccommodations : [New Pompeii - EVA Airlock 1] Yuvaan Patel - Designated a bed at (4.9, -1.35).
00-Adir-01:010.128 (Info) LivingAccommodations : [Europa - Residential Quarters 1] Greta Greco - Designated a bed at (-9.8, 12.4).
00-Adir-01:010.128 (Info) LivingAccommodations : [New Plymouth - Lander Hab 1] George Wood - Designated a bed at (1.5, 3.16).
00-Adir-01:010.128 (Info) LivingAccommodations : [New Plymouth - Lander Hab 1] Daniel Taylor - Designated a bed at (-0.39, 3.46).
00-Adir-01:010.128 (Info) LivingAccommodations : [New Plymouth - Lander Hab 1] Barbara Jones - Designated a bed at (-3.14, 0.83).
00-Adir-01:010.128 (Info) LivingAccommodations : [New Plymouth - Residential Quarters 1] Harold Carter - Designated a bed at (-9.8, 16.2).
00-Adir-01:010.128 (Info) LivingAccommodations : [New Plymouth - Residential Quarters 1] Ernest Robinson - Designated a bed at (-9.8, 14.8).
00-Adir-01:010.128 (Info) LivingAccommodations : [New Plymouth - Lander Hab 1] Joyce Campbell - Designated a bed at (-3.04, -1.04).
00-Adir-01:010.128 (Info) LivingAccommodations : [New Plymouth - Residential Quarters 1] Jane Ward - Designated a bed at (-9.8, 13.4).
00-Adir-01:010.128 (Info) LivingAccommodations : [New Plymouth - Residential Quarters 1] Martha Collins - Designated a bed at (-9.8, 12.4).
00-Adir-01:010.128 (Info) LivingAccommodations : [Kyocera - Lander Hab 1] Hinata Kondo - Designated a bed at (1.5, 3.16).
00-Adir-01:010.128 (Info) LivingAccommodations : [Kyocera - Lander Hab 1] Shiori Murakami - Designated a bed at (-0.39, 3.46).
00-Adir-01:010.128 (Info) LivingAccommodations : [Kyocera - Lander Hab 1] Ryusei Okada - Designated a bed at (-3.14, 0.83).
00-Adir-01:010.128 (Info) LivingAccommodations : [Kyocera - Lander Hab 1] Kaito Yamazaki - Designated a bed at (-3.04, -1.04).
00-Adir-01:010.128 (Info) LivingAccommodations : [Kyocera - EVA Airlock 1] Yuito Aoki - Designated a bed at (4.9, 1.35).
00-Adir-01:010.128 (Info) LivingAccommodations : [Kyocera - EVA Airlock 1] Takumi Fujii - Designated a bed at (4.9, -1.35).
00-Adir-01:010.128 (Info) LivingAccommodations : [Starcity - Residential Quarters 1] Catherine Stewart - Designated a bed at (-9.8, 16.2).
00-Adir-01:010.128 (Info) LivingAccommodations : [Starcity - Residential Quarters 1] Stanley Diaz - Designated a bed at (-9.8, 14.8).
00-Adir-01:010.128 (Info) LivingAccommodations : [Starcity - Residential Quarters 1] Camille Girard - Designated a bed at (-9.8, 13.4).
00-Adir-01:010.128 (Info) LivingAccommodations : [Starcity - Lander Hab 1] Charles Taylor - Designated a bed at (1.5, 3.16).
00-Adir-01:010.128 (Info) LivingAccommodations : [Starcity - Lander Hab 1] Nathan Cloutier - Designated a bed at (-0.39, 3.46).
00-Adir-01:010.128 (Info) LivingAccommodations : [Starcity - Lander Hab 1] William Thomas - Designated a bed at (-3.14, 0.83).
00-Adir-01:010.128 (Info) LivingAccommodations : [Starcity - Residential Quarters 1] Sara Walker - Designated a bed at (-9.8, 12.4).
00-Adir-01:010.128 (Info) LivingAccommodations : [Starcity - Lander Hab 1] Anne Cooper - Designated a bed at (-3.04, -1.04).
00-Adir-01:010.128 (Info) LivingAccommodations : [Starcity - Residential Quarters 1] Fredrique Martel - Designated a bed at (-9.8, 11.0).
00-Adir-01:010.128 (Info) LivingAccommodations : [Starcity - Residential Quarters 1] Stephanie Howard - Designated a bed at (-9.8, 9.6).
00-Adir-01:010.128 (Info) LivingAccommodations : [Starcity - Residential Quarters 1] Matheo Poirier - Designated a bed at (-14.2, 16.2).
00-Adir-01:010.128 (Info) LivingAccommodations : [Starcity - Residential Quarters 1] Gary Martin - Designated a bed at (-14.2, 14.8).
00-Adir-01:010.128 (Info) LivingAccommodations : [Zvezda - Residential Quarters 1] Darya Petrov - Designated a bed at (-9.8, 29.2).
00-Adir-01:010.128 (Info) LivingAccommodations : [Zvezda - Residential Quarters 1] Mikhail Dezhurov - Designated a bed at (-9.8, 27.8).
00-Adir-01:010.128 (Info) LivingAccommodations : [Zvezda - Lander Hab 1] Olga Belyayev - Designated a bed at (1.5, 3.16).
00-Adir-01:010.128 (Info) LivingAccommodations : [Zvezda - Lander Hab 1] Irina Artyukhin - Designated a bed at (-0.39, 3.46).
00-Adir-01:010.128 (Info) LivingAccommodations : [Zvezda - Residential Quarters 1] Aleksandr Feoktistov - Designated a bed at (-9.8, 26.4).
00-Adir-01:010.128 (Info) LivingAccommodations : [Zvezda - Lander Hab 1] Yelena Volkov - Designated a bed at (-3.14, 0.83).
00-Adir-01:010.128 (Info) LivingAccommodations : [Zvezda - Lander Hab 1] Timofei Dyomin - Designated a bed at (-3.04, -1.04).
00-Adir-01:010.128 (Info) LivingAccommodations : [Zvezda - Residential Quarters 1] Nikolai Feoktistov - Designated a bed at (-9.8, 25.4).
00-Adir-01:010.128 (Info) LivingAccommodations : [Zvezda - Residential Quarters 1] Vikoria Borisenko - Designated a bed at (-9.8, 24.0).
00-Adir-01:010.128 (Info) LivingAccommodations : [Zvezda - Residential Quarters 1] Dmitri Aleksandrov - Designated a bed at (-9.8, 22.6).
00-Adir-01:010.128 (Info) LivingAccommodations : [Zvezda - Residential Quarters 1] Artem Kozlov - Designated a bed at (-14.2, 29.2).
00-Adir-01:010.128 (Info) LivingAccommodations : [Zvezda - Residential Quarters 1] Varvara Petrov - Designated a bed at (-14.2, 27.8).
00-Adir-01:010.128 (Info) LivingAccommodations : [Schiaparelli Point - Lander Hab 2] Karen Andersen - Designated a bed at (1.5, 16.16).
00-Adir-01:010.128 (Info) LivingAccommodations : [Schiaparelli Point - Lander Hab 1] Rik Declercq - Designated a bed at (1.5, 3.16).
00-Adir-01:010.128 (Info) LivingAccommodations : [Schiaparelli Point - Residential Quarters 1] Leonardo DaVinci - Designated a bed at (-19.8, 41.2).
00-Adir-01:010.128 (Info) LivingAccommodations : [Schiaparelli Point - Lander Hab 1] Lena LaGranda - Designated a bed at (-0.39, 3.46).
00-Adir-01:010.128 (Info) LivingAccommodations : [Schiaparelli Point - Lander Hab 1] Ray Bradbury - Designated a bed at (-3.14, 0.83).
00-Adir-01:010.128 (Info) LivingAccommodations : [Schiaparelli Point - Residential Quarters 1] David Gruber - Designated a bed at (-19.8, 39.8).
00-Adir-01:010.128 (Info) LivingAccommodations : [Schiaparelli Point - Lander Hab 2] Jesse Van den Berg - Designated a bed at (-0.39, 16.46).
00-Adir-01:010.128 (Info) LivingAccommodations : [Schiaparelli Point - Astronomy Observatory 1] George Davies - Designated a bed at (-53.0, -22.0).
00-Adir-01:010.128 (Info) LivingAccommodations : [Schiaparelli Point - Residential Quarters 1] Xiaohui Xie - Designated a bed at (-19.8, 38.4).
00-Adir-01:010.128 (Info) LivingAccommodations : [Schiaparelli Point - Astronomy Observatory 1] Balázs Nagy - Designated a bed at (-57.0, -22.0).
00-Adir-01:010.128 (Info) LivingAccommodations : [Schiaparelli Point - Lander Hab 3] Tanishka Lata - Designated a bed at (1.5, 29.16).
00-Adir-01:010.128 (Info) LivingAccommodations : [Schiaparelli Point - Residential Quarters 1] Mattia Greco - Designated a bed at (-19.8, 37.4).
00-Adir-01:010.128 (Info) LivingAccommodations : [Schiaparelli Point - Lander Hab 2] Inès Mäkelä - Designated a bed at (-3.14, 13.83).
00-Adir-01:010.128 (Info) LivingAccommodations : [Schiaparelli Point - Lander Hab 2] Leo Laine - Designated a bed at (-3.04, 11.96).
00-Adir-01:010.128 (Info) LivingAccommodations : [Schiaparelli Point - Lander Hab 3] Lotte Meijer - Designated a bed at (-0.39, 29.46).
00-Adir-01:010.128 (Info) LivingAccommodations : [Schiaparelli Point - Lander Hab 1] Oliver Pärn - Designated a bed at (-3.04, -1.04).
00-Adir-01:010.128 (Info) LivingAccommodations : [Schiaparelli Point - Lander Hab 3] Ninghong Tse - Designated a bed at (-3.14, 26.83).
00-Adir-01:010.128 (Info) LivingAccommodations : [Schiaparelli Point - Lander Hab 3] Filip Kami?ski - Designated a bed at (-3.04, 24.96).
00-Adir-01:010.128 (Info) LivingAccommodations : [Schiaparelli Point - Residential Quarters 1] Yuma Ito - Designated a bed at (-19.8, 36.0).
00-Adir-01:010.128 (Info) LivingAccommodations : [Schiaparelli Point - Residential Quarters 1] Noah Martin - Designated a bed at (-19.8, 34.6).
00-Adir-01:010.128 (Info) LivingAccommodations : [Schiaparelli Point - Residential Quarters 1] Rio Murakami - Designated a bed at (-24.2, 41.2).
00-Adir-01:010.128 (Info) LivingAccommodations : [Schiaparelli Point - Residential Quarters 1] Henri Kukk - Designated a bed at (-24.2, 39.8).
00-Adir-01:010.128 (Info) LivingAccommodations : [Schiaparelli Point - Residential Quarters 1] Lucas Hoffmann - Designated a bed at (-24.2, 38.4).
00-Adir-01:010.128 (Info) LivingAccommodations : [Schiaparelli Point - Residential Quarters 1] Felix Hoffmann - Designated a bed at (-24.2, 37.4).
00-Adir-01:017.038 (Config) MarsProject : Simulation running

@bevans2000
Copy link
Member

No it's not normal and odd. The Severe message is not for the file system version but picking the file out of the ZIP file. When accessing resources as stream from the ClassLoader it is best to always use '/' separator.I think I know where the problem is but odd that I've never seen it.

bevans2000 added a commit that referenced this issue Sep 25, 2021
When used in a ZIP the paths of the resource on the classpath must use
forward slash. When running off a file system it is tolerant of back
slash as well but this is wrong.

#446
@bevans2000
Copy link
Member

Try this commit. Worked OK on my Windows laptop via a ZIP file on command line and via Eclipse. Both using OpenJDK 11.

mokun added a commit that referenced this issue Sep 25, 2021
r6217
2021-09-25

## ISSUE
1. #446
2. #447

## FIX
1. Attempt to fix getBundledXML() in SimulationConfig.
  - Use File.separator and SimulationFiles.getXMLDir()
Note: Java 17 appears to be very sensitive about the use of "\"
     versus "/".

## CHANGE
1. Update CHANGELOG
@mokun mokun added this to the 3.3.0 milestone Sep 25, 2021
@mokun mokun closed this as completed Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants