RPTools.net

Discussion and Support

Skip to content

It is currently Sun Feb 25, 2018 3:06 am 




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. :)



Reply to topic  [ 4 posts ] 

Previous topic | Next topic 

  Print view

Author Message
 Offline
Kobold
 
Joined: Tue Aug 19, 2008 12:14 pm
Posts: 24
 Post subject: [Solved] Can't open campaign
PostPosted: Wed Dec 27, 2017 1:10 pm 
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

_________________
--mixtr


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

Top
 Profile  
 
 Offline
Kobold
 
Joined: Tue Aug 19, 2008 12:14 pm
Posts: 24
 Post subject: Re: Can't open campaign
PostPosted: Wed Dec 27, 2017 9:33 pm 
If it helps, here is what I got from the debug console using 1.4.0.5:
Code:
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


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 8014
Location: Bay Area
 Post subject: Re: Can't open campaign
PostPosted: Thu Dec 28, 2017 12:02 am 
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.

_________________
Downloads:


Top
 Profile  
 
 Offline
Kobold
 
Joined: Tue Aug 19, 2008 12:14 pm
Posts: 24
 Post subject: Re: Can't open campaign
PostPosted: Thu Dec 28, 2017 12:15 am 
Thanks for the clue. I had to add
Code:
-Djava.util.Arrays.useLegacyMergeSort=true

in the launcher before starting MapTool

_________________
--mixtr


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 4 posts ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: No registered users and 1 guest





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman