The printing of the exception caught in FControl is very helpful for any
future issues caused by the security settings as it indicates which
class was present in the stream, but not allowed.
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
Catching the ConversionException prevents Gauntlet saves from being
deleted in the event of improper or incomplete security settings on
XStream. The null check in CSubmenuGauntletContests avoids an exception
should there be no Gauntlet saves.
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
com.badlogic.gdx.utils.GdxRuntimeException: java.lang.InternalError: Protocol method getActivateDescription: illegal argument (0) of type forge.game.card.CardView, java.lang.String expected
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:127)
Caused by: java.lang.InternalError: Protocol method getActivateDescription: illegal argument (0) of type forge.game.card.CardView, java.lang.String expected
at forge.net.ProtocolMethod.checkArgs(ProtocolMethod.java:158)
at forge.net.GameProtocolSender.sendAndWait(GameProtocolSender.java:21)
at forge.net.client.NetGameController.sendAndWait(NetGameController.java:28)
at forge.net.client.NetGameController.getActivateDescription(NetGameController.java:93)
at forge.screens.match.views.VCardDisplayArea.getActivateAction(VCardDisplayArea.java:186)
at forge.card.CardZoom.onCardChanged(CardZoom.java:113)
at forge.card.CardZoom.show(CardZoom.java:64)
at forge.screens.match.views.VCardDisplayArea$CardAreaPanel.showZoom(VCardDisplayArea.java:406)
at forge.screens.match.views.VCardDisplayArea$CardAreaPanel.longPress(VCardDisplayArea.java:396)
at forge.Forge$MainInputProcessor.longPress(Forge.java:575)
at forge.toolbox.FGestureAdapter$1.run(FGestureAdapter.java:43)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.executeRunnables(LwjglApplication.java:246)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:199)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:120)
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
There appear to be incompatibilities between guava 24.1-jre and
24.1-android with regard to serialization. As long as networking
is dependent upon serialization desktop and android need to use
the exact same guava package.
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>