[Solved] Can't open campaign

Thoughts, Help, Feature Requests, Bug Reports, Developing code for...

Moderators: dorpond, trevor, Azhrei

Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior. :)
Post Reply
Mixtr
Kobold
Posts: 24
Joined: Tue Aug 19, 2008 1:14 pm

[Solved] Can't open campaign

Post by Mixtr »

I can make and save a campaign, but I seem unable to open one. I tried using v1.4.0.5 and v1.4.1.8 with the same result. Using both versions I make a campaign and save it. When trying to open it, I can see the first map in the preview when selecting the file, but when I click Open, the screen flickers and ... nothing.
I'm using Gentoo Linux, so I figure I must be missing a library or something but I just can't figure out what. Any clue on what is the full requirement to run maptool?

Thanks
Last edited by Mixtr on Thu Dec 28, 2017 12:17 am, edited 1 time in total.
--mixtr

Mixtr
Kobold
Posts: 24
Joined: Tue Aug 19, 2008 1:14 pm

Re: Can't open campaign

Post by Mixtr »

If it helps, here is what I got from the debug console using 1.4.0.5:

Code: Select all

Exception in thread "Thread-18" java.lang.IllegalArgumentException: Comparison method violates its general contract!
      at java.util.TimSort.mergeLo(TimSort.java:7777)
      at java.util.TimSort.mergeAt(TimSort.java:514)
      at java.util.TimSort.mergeCollapse(TimSort.java:441)
      at java.util.TimSort.sort(TimSort.java:245)
      at java.util.Arrays.sort(Arrays.java:1438)
      at java.util.List.sort(List.java:478)
      at java.util.Collections.sort(Collections.java:175)
      at net.rptools.lib.BackupManager.getFiles(BackupManager.java:81)
      at net.rptools.lib.BackupManager.backup(BackupManager.java:57)
      at net.rptools.maptool.client.AppActions$55.run(AppActions.java:2095)
--mixtr

User avatar
aliasmask
RPTools Team
Posts: 9024
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

Re: Can't open campaign

Post by aliasmask »

Do a search for MergeLo. There has been a recent error with that and I don't know the details, but the old error was related to a java version compatibility issue.

Mixtr
Kobold
Posts: 24
Joined: Tue Aug 19, 2008 1:14 pm

Re: Can't open campaign

Post by Mixtr »

Thanks for the clue. I had to add

Code: Select all

-Djava.util.Arrays.useLegacyMergeSort=true
in the launcher before starting MapTool
--mixtr

Post Reply

Return to “MapTool”