TLC Java exception

101 vues
Accéder directement au premier message non lu

gable...@gmail.com

non lue,
26 mai 2020, 06:42:3126/05/2020
à tlaplus
Hi there,

When I launch TLC, I get this message: "The current model is stale and has to be repaired [...]". I click "yes", and then I have this exception: 
"Exception in thread "main"
java.lang.NoSuchMethodError: java.lang.String.strip()Ljava/lang/String;
 at tlc2.TLC.handleParameters(TLC.java:750)
 at tlc2.TLC.main(TLC.java:245)"

Any help?
  
TLA+ toolkit Version 1.7.0 of 20 April 2020 
TLC Version 2.15 of 20 April 2020

Many thanks

gable...@gmail.com

non lue,
26 mai 2020, 07:25:2426/05/2020
à tlaplus
Please, note that I am running this JRE version: 1.8.0_251.

Markus Kuppe

non lue,
26 mai 2020, 10:27:1626/05/2020
à tla...@googlegroups.com
Hi,

where did you get the 1.7.0 TLA+ Toolbox from? I'm puzzled because the
Toolbox includes a Java 14 VM that has java.lang.String.strip(). A
NoSuchMethodError should thus not be possible.

Anyway, TLC has been refactored [1] to run on Java 1.8 again. You can
find the nightly build at https://nightly.tlapl.us/.

Markus

[1] https://github.com/tlaplus/tlaplus/issues/462

gable...@gmail.com

non lue,
26 mai 2020, 12:22:3326/05/2020
à tlaplus
Hi Markus,

Your patch worked just fine. 

Thank you
Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message