Triple A error


  • '16

    Unable to load a game file. Panther help!!
    error.PNG

    Mar 16, 2019 2:15:03 PM games.strategy.engine.pbem.AbstractForumPoster unprotectCredentials
    SEVERE: failed to unprotect PBF credentials
    games.strategy.security.CredentialManagerException: failed to unprotect credential
    at games.strategy.security.DefaultCredentialManager.unprotect(DefaultCredentialManager.java:232)
    at games.strategy.security.DefaultCredentialManager.unprotectToString(DefaultCredentialManager.java:215)
    at games.strategy.engine.pbem.AbstractForumPoster.unprotectCredentials(AbstractForumPoster.java:87)
    at games.strategy.engine.pbem.AbstractForumPoster.readObject(AbstractForumPoster.java:81)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at java.util.HashMap.readObject(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.defaultReadObject(Unknown Source)
    at games.strategy.engine.data.GameData.readObject(GameData.java:118)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at games.strategy.engine.framework.GameDataManager.loadGame(GameDataManager.java:114)
    at games.strategy.engine.framework.GameDataManager.loadGame(GameDataManager.java:58)
    at games.strategy.engine.framework.startup.mc.GameSelectorModel.load(GameSelectorModel.java:81)
    at games.strategy.engine.framework.GameRunner.loadGame(GameRunner.java:293)
    at games.strategy.engine.framework.GameRunner.showMainFrame(GameRunner.java:277)
    at java.lang.Thread.run(Unknown Source)
    Caused by: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.
    at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:991)
    at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:847)
    at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:446)
    at javax.crypto.Cipher.doFinal(Cipher.java:2164)
    at games.strategy.security.DefaultCredentialManager.decrypt(DefaultCredentialManager.java:251)
    at games.strategy.security.DefaultCredentialManager.unprotect(DefaultCredentialManager.java:227)
    … 42 more


  • 2020 2019 2018 2017 '16 '15 '14 '13 Official Q&A TripleA Moderator

    @majikforce

    Can you please point me to the savegame you try to load so that I can try myself?
    Also please indicate the exact TripleA version you are using as well as the exact Java version.

    Moved to TripleA support forum.
    Thank you 🙂


  • '16

    @Panther said in Triple A error:

    @majikforce

    Can you please point me to the savegame you try to load so that I can try myself?
    Also please indicate the exact TripleA version you are using as well as the exact Java version.

    Moved to TripleA support forum.
    Thank you 🙂

    It was the 2nd french turn posted on this page.
    https://www.axisandallies.org/forums/topic/33076/18-playoffs-mrcunego-vs-majikforce/30?page=2

    My opponent did re-post the map at the start of Germany’s turn and it seems to be working now. Thanks for looking into this.


  • 2020 2019 2018 2017 '16 '15 '14 '13 Official Q&A TripleA Moderator

    @majikforce I can reproduce the issue with that specific savegame, however, as you indicated, it does not occur with later saves any longer.

    The error message indicates a problem with PBF information that is stored encryptedly in the savegame. It looks like an exceptional issue, that we can’t reproduce with later savegames.
    (Maybe due to a corruption when saving that specific savegame - just a shot…)

    So I would suggest to simply move on.

    But in case you experience that behaviour again please indicate that again. We might need to look deeper into it, then.


  • '16

    @Panther Sounds good. Thanks a bunch Panther.


Log in to reply
 

20th Anniversary Give Away

In January 2000 this site came to life and now we're celebrating our 20th Anniversary with a prize giveaway of 30+ prizes. See this link for the list of prizes and winners.
Axis & Allies Boardgaming Custom Painted Miniatures
Dean's Army Guys
T-shirts, Hats, and More

Suggested Topics

I Will Never Grow Up Games
Axis & Allies Boardgaming Custom Painted Miniatures
Dean's Army Guys

51
Online

14.9k
Users

35.7k
Topics

1.5m
Posts