• '22 '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


  • @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 :slightly_smiling_face:

  • '22 '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 :slightly_smiling_face:

    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.


  • @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.

  • '22 '16

    @Panther Sounds good. Thanks a bunch Panther.

Suggested Topics

  • 6
  • 3
  • 9
  • 6
  • 5
  • 3
  • 6
  • 4
Axis & Allies Boardgaming Custom Painted Miniatures

37

Online

17.0k

Users

39.3k

Topics

1.7m

Posts