Unable to post save game to forum


  • Hi. I may be the only one with a problem, but perhaps not, so posting it here so anyone else can see any solution. Thanks to anyone who can help.

    I am unable to post the game save files to the forum. Am using the new s/w. Have amended the game id:

    0_1542981593076_27054be8-3fb6-4ef3-830b-7927976bb345-image.png

    Get this error message:

    0_1542981724260_dd3ab8e5-8fd4-445e-9774-d333d83b5d00-image.png

    Here are the details:

    Nov 23, 2018 1:50:58 PM games.strategy.engine.pbem.PBEMMessagePoster post
    SEVERE: Failed to post game to forum
    java.lang.IllegalArgumentException: Illegal character in path at index 53: https://www.axisandallies.org/forums/api/user/Private Panic
    at java.net.URI.create(Unknown Source)
    at org.apache.http.client.methods.HttpGet.<init>(HttpGet.java:66)
    at games.strategy.triplea.pbem.AxisAndAlliesForumPoster.queryUserInfo(AxisAndAlliesForumPoster.java:126)
    at games.strategy.triplea.pbem.AxisAndAlliesForumPoster.getUserId(AxisAndAlliesForumPoster.java:108)
    at games.strategy.triplea.pbem.AxisAndAlliesForumPoster.postTurnSummary(AxisAndAlliesForumPoster.java:51)
    at games.strategy.engine.pbem.PBEMMessagePoster.post(PBEMMessagePoster.java:111)
    at games.strategy.triplea.delegate.AbstractEndTurnDelegate.postTurnSummary(AbstractEndTurnDelegate.java:501)
    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 games.strategy.engine.delegate.DelegateExecutionManager$1.invoke(DelegateExecutionManager.java:129)
    at com.sun.proxy.$Proxy10.postTurnSummary(Unknown Source)
    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 games.strategy.engine.message.unifiedmessenger.EndPoint.invokeSingle(EndPoint.java:151)
    at games.strategy.engine.message.unifiedmessenger.EndPoint.invokeMultiple(EndPoint.java:134)
    at games.strategy.engine.message.unifiedmessenger.EndPoint.invokeLocal(EndPoint.java:120)
    at games.strategy.engine.message.unifiedmessenger.UnifiedMessenger.invokeAndWait(UnifiedMessenger.java:98)
    at games.strategy.engine.message.UnifiedInvocationHandler.invoke(UnifiedInvocationHandler.java:52)
    at com.sun.proxy.$Proxy10.postTurnSummary(Unknown Source)
    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 games.strategy.engine.gamePlayer.DefaultPlayerBridge$GameOverInvocationHandler.invoke(DefaultPlayerBridge.java:143)
    at com.sun.proxy.$Proxy10.postTurnSummary(Unknown Source)
    at games.strategy.engine.pbem.PBEMMessagePoster.lambda$postTurn$1(PBEMMessagePoster.java:239)
    at games.strategy.engine.pbem.PBEMMessagePoster$$Lambda$2201/15053259.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.net.URISyntaxException: Illegal character in path at index 53: https://www.axisandallies.org/forums/api/user/Private Panic
    at java.net.URI$Parser.fail(Unknown Source)
    at java.net.URI$Parser.checkChars(Unknown Source)
    at java.net.URI$Parser.parseHierarchical(Unknown Source)
    at java.net.URI$Parser.parse(Unknown Source)
    at java.net.URI.<init>(Unknown Source)
    … 32 more

    Nov 23, 2018 2:00:13 PM games.strategy.engine.pbem.PBEMMessagePoster post
    SEVERE: Failed to post game to forum
    java.lang.IllegalArgumentException: Illegal character in path at index 53: https://www.axisandallies.org/forums/api/user/Private Panic
    at java.net.URI.create(Unknown Source)
    at org.apache.http.client.methods.HttpGet.<init>(HttpGet.java:66)
    at games.strategy.triplea.pbem.AxisAndAlliesForumPoster.queryUserInfo(AxisAndAlliesForumPoster.java:126)
    at games.strategy.triplea.pbem.AxisAndAlliesForumPoster.getUserId(AxisAndAlliesForumPoster.java:108)
    at games.strategy.triplea.pbem.AxisAndAlliesForumPoster.postTurnSummary(AxisAndAlliesForumPoster.java:51)
    at games.strategy.engine.pbem.PBEMMessagePoster.post(PBEMMessagePoster.java:111)
    at games.strategy.triplea.delegate.AbstractEndTurnDelegate.postTurnSummary(AbstractEndTurnDelegate.java:501)
    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 games.strategy.engine.delegate.DelegateExecutionManager$1.invoke(DelegateExecutionManager.java:129)
    at com.sun.proxy.$Proxy10.postTurnSummary(Unknown Source)
    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 games.strategy.engine.message.unifiedmessenger.EndPoint.invokeSingle(EndPoint.java:151)
    at games.strategy.engine.message.unifiedmessenger.EndPoint.invokeMultiple(EndPoint.java:134)
    at games.strategy.engine.message.unifiedmessenger.EndPoint.invokeLocal(EndPoint.java:120)
    at games.strategy.engine.message.unifiedmessenger.UnifiedMessenger.invokeAndWait(UnifiedMessenger.java:98)
    at games.strategy.engine.message.UnifiedInvocationHandler.invoke(UnifiedInvocationHandler.java:52)
    at com.sun.proxy.$Proxy10.postTurnSummary(Unknown Source)
    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 games.strategy.engine.gamePlayer.DefaultPlayerBridge$GameOverInvocationHandler.invoke(DefaultPlayerBridge.java:143)
    at com.sun.proxy.$Proxy10.postTurnSummary(Unknown Source)
    at games.strategy.engine.pbem.PBEMMessagePoster.lambda$postTurn$1(PBEMMessagePoster.java:239)
    at games.strategy.engine.pbem.PBEMMessagePoster$$Lambda$2201/15053259.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.net.URISyntaxException: Illegal character in path at index 53: https://www.axisandallies.org/forums/api/user/Private Panic
    at java.net.URI$Parser.fail(Unknown Source)
    at java.net.URI$Parser.checkChars(Unknown Source)
    at java.net.URI$Parser.parseHierarchical(Unknown Source)
    at java.net.URI$Parser.parse(Unknown Source)
    at java.net.URI.<init>(Unknown Source)
    … 32 more


  • @Private-Panic As I already mentioned in your game thread the problem is caused by the space in your username. Please see the follow-up postings in https://www.axisandallies.org/forums/topic/32464/triplea-new-stable-release-working-with-the-forum, especially
    https://www.axisandallies.org/forums/post/1237061

    Please ask in case you need further assistance. :smile:


  • Thanks as always Panther. Will look into that.

Suggested Topics

Axis & Allies Boardgaming Custom Painted Miniatures

25

Online

17.0k

Users

39.3k

Topics

1.7m

Posts