Skip to content

Settings menu broken #13

Description

@DeltaV39

System: Linux Mint 22.1
Java version: openjdk 21.0.6 2025-01-21
Command: java -jar terramaster-3.02.jar

Output:

[Sun Feb 09 18:03:42 CET 2025] INFO: Successfully configured logging 
[Sun Feb 09 18:03:42 CET 2025] INFO: Starting TerraMaster 3.02 
[Sun Feb 09 18:03:43 CET 2025] INFO: Current local version 3.02 
[Sun Feb 09 18:03:43 CET 2025] INFO: Remote Version [version=3.02] Local Version [version=3.02] 
[Sun Feb 09 18:03:49 CET 2025] WARNING: Scenery folder empty.

The program seems to run perfectly fine, but after clicking the gear icon to open settings and set the senery folder:

null
null
null
null
null
null
Exception in thread "Thread-2" java.lang.NullPointerException: Cannot invoke "String.contains(java.lang.CharSequence)" because "dirindex" is null
	at org.flightgear.terramaster.ApacheDirectoryParser.getType(ApacheDirectoryParser.java:52)
	at org.flightgear.terramaster.SettingsDialog.lambda$new$4(SettingsDialog.java:174)
	at java.base/java.lang.Thread.run(Thread.java:1583)

The resulting settings menu:

Image

As far as I am aware I have followed the install steps correctly, and FlightGear is installed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions