Exception during server launch

    Joined
    Mar 25, 2020
    Messages
    1
    Reaction score
    0
    I'm trying to setup a small server to use with my friends using an old laptop running 32 bit lubuntu and openjdk 11.
    I'm able to install the game and I'm able to run de dedicated server script.
    But when it gets to the loading resources part of the launch I get a 'java.lang.reflect.InaccessibleObjectException'.
    The game is installed in my home folder and I've set the permissions needed to run the script according to this post: StarMade

    The details regarding the launch and exception:

    [TEXTURE-PACK] WARNING: ignoring lava.png.zip: not a directory
    [TEXTURE-PACK] WARNING: ignoring shield_tex.png.zip: not a directory
    [TEXTURE-PACK] WARNING: ignoring lava.png.zip: not a directory
    [TEXTURE-PACK] WARNING: ignoring shield_tex.png.zip: not a directory
    java.io.FileNotFoundException: ./settings.cfg (No such file or directory)
    at java.base/java.io.FileInputStream.open0(Native Method)
    at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
    at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
    at java.base/java.io.FileReader.<init>(FileReader.java:75)
    at org.schema.schine.graphicsengine.core.settings.EngineSettings.read(SourceFile:1027)
    at org.schema.schine.graphicsengine.core.settings.EngineSettings.read(SourceFile:1069)
    at org.schema.game.common.Starter.main(SourceFile:721)
    Could not read settings file: using defaults
    [VERSION] loading version from install dir: ./
    [VERSION] VERSION: 0.202.87
    [VERSION] BUILD: 20200215_223628
    #################### StarMade #######################
    # version 0.202.87 - build 20200215_223628 #
    #####################################################
    [SERIAL] "not retrieved"
    [INSTALLATION_DIRECTORY] "/home/administrator/StarMade/."
    [JVM-ARGUMENTS] [-Xms128m, -Xmx1536m]
    java.io.FileNotFoundException: ./settings.cfg (No such file or directory)
    at java.base/java.io.FileInputStream.open0(Native Method)
    at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
    at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
    at java.base/java.io.FileReader.<init>(FileReader.java:75)
    at org.schema.schine.graphicsengine.core.settings.EngineSettings.read(SourceFile:1027)
    at org.schema.schine.graphicsengine.core.settings.EngineSettings.read(SourceFile:1069)
    at org.schema.game.common.Starter.main(SourceFile:815)
    Could not read settings file: using defaults
    java.io.FileNotFoundException: ./keyboard.cfg (No such file or directory)
    at java.base/java.io.FileInputStream.open0(Native Method)
    at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
    at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
    at java.base/java.io.FileReader.<init>(FileReader.java:75)
    at org.schema.schine.input.KeyboardMappings.read(SourceFile:656)
    at org.schema.game.common.Starter.main(SourceFile:816)
    Could not read settings file: using defaults (./keyboard.cfg (No such file or directory))
    [STARTER] template dir exists. overwriting template with current data
    [IO][COPY] FILE FROM /home/administrator/StarMade/./data/config/FactionConfig.xml to /home/administrator/StarMade/./customFactionConfig/FactionConfigTemplate.xml
    [IO][COPY] FILE FROM /home/administrator/StarMade/./data/config/customFactionConfigHOWTO.txt to /home/administrator/StarMade/./customFactionConfig/customFactionConfigHOWTO.txt
    [STARTER] template dir exists. overwriting template with current data
    [IO][COPY] FILE FROM /home/administrator/StarMade/./data/config/customBlockBehaviorConfigTemplate.xml to /home/administrator/StarMade/./customBlockBehaviorConfig/customBlockBehaviorConfigTemplate.xml
    [IO][COPY] FILE FROM /home/administrator/StarMade/./data/config/customBlockBehaviorConfigHOWTO.txt to /home/administrator/StarMade/./customBlockBehaviorConfig/customBlockBehaviorConfigHOWTO.txt
    [STARTER] template dir exists. overwriting template with current data
    [IO][COPY] FILE FROM /home/administrator/StarMade/./data/config/customConfigTemplate/customEffectConfigTemplate.xml to /home/administrator/StarMade/./customEffectConfig/customEffectConfigTemplate.xml
    [IO][COPY] FILE FROM /home/administrator/StarMade/./data/config/customConfigTemplate/CustomEffectConfigHowto.txt to /home/administrator/StarMade/./customEffectConfig/customEffectConfigHOWTO.txt
    [RESOURCES][CustomTextures] No need to create pack.zip. Hash matches (as rewriting a zip changes the hash on it)
    [LANGUAGE] detected language: en
    [LANGUAGE] loading language: english; Resolved to english
    java.io.FileNotFoundException: ./keyboard.cfg (No such file or directory)
    at java.base/java.io.FileInputStream.open0(Native Method)
    at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
    at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
    at java.base/java.io.FileReader.<init>(FileReader.java:75)
    at org.schema.schine.input.KeyboardMappings.read(SourceFile:656)
    at org.schema.game.common.LanguageManager.loadLanguageFolder(SourceFile:95)
    at org.schema.game.common.LanguageManager.loadCurrentLanguage(SourceFile:240)
    at org.schema.game.common.Starter.main(SourceFile:840)
    Could not read settings file: using defaults (./keyboard.cfg (No such file or directory))
    [LANGUAGE] Loading English; Version: 0
    [LANGUAGE] LOADED FONT PATH/NAME: font/Monda-Regular.ttf
    [SERVER] using world: world0; ./server-database/world0/
    [INIT] Segment Database Path: /home/administrator/StarMade/./server-database/world0/DATA; exists? true; is Dir? true; creating dir successful (gives false if exists)? false
    [GUI] NO STARMADE-WINDOW CONFIG FOUND. Using defaults
    [LIBLOADER] OS Linux - 4.15.0-20-generic
    [LIBLOADER] JAVA Ubuntu - 11.0.6 - /usr/lib/jvm/java-11-openjdk-i386
    [LIBLOADER] ARCHITECTURE i386
    WARNING: An illegal reflective access operation has occurred
    WARNING: Illegal reflective access by org.schema.game.common.LibLoader (file:/home/administrator/StarMade/StarMade.jar) to field java.lang.ClassLoader.usr_paths
    WARNING: Please consider reporting this to the maintainers of org.schema.game.common.LibLoader
    WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
    WARNING: All illegal access operations will be denied in a future release
    [LIBLOADER] LOADED LINUX 32bit NATIVE LIBRARIES
    [LIBLOADER] FastNoiseSIMD Level: 1
    [LIBLOADER] COMPLETE
    [MAIN] CHECKING IF MIGRATION NECESSARY
    [MAIN] MIGRATION PROCESS DONE
    [MAIN] STARTING WITH ARGUMENTS: [-server]
    [MAIN] LOADED ENGINE SETTINGS
    [INITIALIZE] REMOTE CLASSES REGISTERED
    [INITIALIZE] RESOURCE MANAGER INITIALIZED
    ERROR: no content in Resource: /home/administrator/StarMade/file:/home/administrator/StarMade/StarMade.jar!/org/schema/game/network/commands
    ################# Loading from JAR #####################
    ########################################################
    [INITIALIZE] REMOTE COMMANDS REGISTERED
    [INITIALIZE] SECURITY MANAGER SET
    [INITIALIZE] COMMAND ID's ASSIGNED. NOW READING BLOCK CONFIG
    [BLOCKCONFIG] READING TOOK 585ms
    [INITIALIZE] BLOCK CONFIGURATION READ
    [BLUEPRINT][MIGRATION] NO CONVERSION NEEDED: no old bb file exists: /home/administrator/StarMade/./blueprints/catalog.txt
    [MAIN] INITIALIZATION COMPLETED
    [RESOURCE] ENQUEING 3D MODELS -160
    ############## LOADING RESOURCE Sky
    ############## LOADING RESOURCE Box
    ############## LOADING RESOURCE Sphere
    ############## LOADING RESOURCE SphereLowPoly
    ############## LOADING RESOURCE Cylinder
    ############## LOADING RESOURCE GeoSphere
    ############## LOADING RESOURCE Planet
    ############## LOADING RESOURCE Atmosphere
    ############## LOADING RESOURCE Asteroid
    ############## LOADING RESOURCE ExhaustPlum
    ############## LOADING RESOURCE SimpleBeam
    ############## LOADING RESOURCE Arrow
    ############## LOADING RESOURCE BlackHole
    ############## LOADING RESOURCE Debris00
    ############## LOADING RESOURCE Tube
    ############## LOADING RESOURCE CameraDrone
    ############## LOADING RESOURCE PowerSupplyBeam
    ############## LOADING RESOURCE BuildInhibitor
    ############## LOADING RESOURCE HealingBeam
    ############## LOADING RESOURCE Fabricator
    ############## LOADING RESOURCE Pistol
    ############## LOADING RESOURCE Torch
    ############## LOADING RESOURCE Helmet
    ############## LOADING RESOURCE MarkerBeam
    ############## LOADING RESOURCE GrappleBeam
    ############## LOADING RESOURCE MineTypeA
    java.lang.reflect.InaccessibleObjectException: Unable to make public void jdk.internal.ref.Cleaner.clean() accessible: module java.base does not "exports jdk.internal.ref" to unnamed module @225dd7
    at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:340)
    at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:280)
    at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:198)
    at java.base/java.lang.reflect.Method.setAccessible(Method.java:192)
    at org.schema.schine.graphicsengine.core.GlUtil.destroyDirectByteBuffer(SourceFile:459)
    at org.schema.schine.graphicsengine.core.GlUtil.getDynamicByteBuffer(SourceFile:551)
    at org.schema.schine.graphicsengine.meshimporter.XMLOgreParser.parseVertexBuffer(SourceFile:1695)
    at org.schema.schine.graphicsengine.meshimporter.XMLOgreParser.parseSubmesh(SourceFile:1170)
    at org.schema.schine.graphicsengine.meshimporter.XMLOgreParser.parseSubmeshes(SourceFile:1215)
    at org.schema.schine.graphicsengine.meshimporter.XMLOgreParser.parseMesh(SourceFile:754)
    at org.schema.schine.graphicsengine.meshimporter.XMLOgreParser.parseEntity(SourceFile:489)
    at org.schema.schine.graphicsengine.meshimporter.XMLOgreParser.parseNode(SourceFile:849)
    at org.schema.schine.graphicsengine.meshimporter.XMLOgreParser.parseNodes(SourceFile:907)
    at org.schema.schine.graphicsengine.meshimporter.XMLOgreParser.parseScene(SourceFile:953)
    at org.schema.schine.resource.MeshLoader.addMesh(SourceFile:79)
    at org.schema.schine.resource.MeshLoader.loadMesh(SourceFile:49)
    at org.schema.schine.resource.ResourceLoader.loadMesh(SourceFile:800)
    at org.schema.schine.resource.ResourceLoadEntry.load(SourceFile:53)
    at org.schema.schine.resource.ResourceLoader.loadQueuedDataEntry(SourceFile:727)
    at org.schema.schine.resource.ResourceLoader.forceLoadAll(SourceFile:849)
    at org.schema.game.client.view.GameResourceLoader.loadServer(SourceFile:104)
    at org.schema.game.common.Starter.main(SourceFile:971)