<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[Fixed] IllegalArgumentException: Cant remove more than player has of resource]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I am playing on version 1.9.0.0.9687 with some of the WWII maps.  Consistently I am getting "IllegalArgumentException: Cant remove more than player has of resource" errors during the Japanese (Hard AI) purchase phase.  I have found that after I save and load the game later, that none of the players have any money to buy new units. Attached is the <a href="/assets/uploads/files/1536837369777-stacktrace.txt">log</a>  and <a href="/assets/uploads/files/1536837416796-error_game.tsvg">save file</a> (saved once I regained control from the AI at the start of the American turn).</p>
]]></description><link>https://forums.triplea-game.org/topic/1011/fixed-illegalargumentexception-cant-remove-more-than-player-has-of-resource</link><generator>RSS for Node</generator><lastBuildDate>Wed, 13 May 2026 16:54:02 GMT</lastBuildDate><atom:link href="https://forums.triplea-game.org/topic/1011.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 13 Sep 2018 11:17:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Fixed] IllegalArgumentException: Cant remove more than player has of resource on Fri, 14 Sep 2018 03:43:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gogmosis" aria-label="Profile: gogmosis">@<bdi>gogmosis</bdi></a> Using pre-release 1.9.0.0.12035, I tried to reproduce this issue by running several majority Hard-AI games using the World War II v5 1942 SE TR map.  I ran these tests using both Java 9.0.4 and Java 10.0.2.  The exception you reported above was never raised, so it's possible that the recent Java 9+ fixes also addressed this symptom.</p>
<p dir="auto">Would appreciate it if you could try 1.9.0.0.12035 on your machine (using the same version of Java you used above).  It's possible that the issue still exists, but I simply can't reproduce it on my machine.  Thanks!</p>
]]></description><link>https://forums.triplea-game.org/post/16121</link><guid isPermaLink="true">https://forums.triplea-game.org/post/16121</guid><dc:creator><![CDATA[ssoloff]]></dc:creator><pubDate>Fri, 14 Sep 2018 03:43:38 GMT</pubDate></item><item><title><![CDATA[Reply to [Fixed] IllegalArgumentException: Cant remove more than player has of resource on Fri, 14 Sep 2018 01:17:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gogmosis" aria-label="Profile: gogmosis">@<bdi>gogmosis</bdi></a> Some of the errors in your log suggest you're running TripleA on Java 9, 10, or 11.  Currently, TripleA only supports Java 8.</p>
<p dir="auto">However, we've recently made some changes that should fix one of the most serious Java 9+ bugs.  You can download the latest pre-release (available <a href="https://github.com/triplea-game/triplea/releases/" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>) to see if that resolves at least some of the issues you're seeing.</p>
<p dir="auto">Regarding the <code>IllegalArgumentException</code>, I believe I saw the same thing yesterday when I was doing some Java 9/10 testing.  It only happened when it was the AI's turn, and it didn't seem consistent.  I'll try to reproduce it again.  If I can, I'll create a bug report on GitHub and post a link here.</p>
]]></description><link>https://forums.triplea-game.org/post/16112</link><guid isPermaLink="true">https://forums.triplea-game.org/post/16112</guid><dc:creator><![CDATA[ssoloff]]></dc:creator><pubDate>Fri, 14 Sep 2018 01:17:40 GMT</pubDate></item><item><title><![CDATA[Reply to [Fixed] IllegalArgumentException: Cant remove more than player has of resource on Thu, 13 Sep 2018 19:49:17 GMT]]></title><description><![CDATA[<p dir="auto">It's ww2v5 here, nothing special inside. The savegame doesn't include anything weird as far as I can see, as the game history is clean. Also the players have all their PUs correctly accounted and are able to buy units. I don't get an error message, either. In other words: I cannot reproduce the issues mentioned.<br />
That is why I assume a Java compatibility error here.</p>
]]></description><link>https://forums.triplea-game.org/post/16097</link><guid isPermaLink="true">https://forums.triplea-game.org/post/16097</guid><dc:creator><![CDATA[Panther]]></dc:creator><pubDate>Thu, 13 Sep 2018 19:49:17 GMT</pubDate></item><item><title><![CDATA[Reply to [Fixed] IllegalArgumentException: Cant remove more than player has of resource on Thu, 13 Sep 2018 19:38:19 GMT]]></title><description><![CDATA[<p dir="auto">From time to time (engine version to engine version?) I see something like this in Iron War, as the different nations continuously have different special resources removed by triggers.</p>
<p dir="auto">But I don't recall the game breaking down. Still, pretty annoying.</p>
]]></description><link>https://forums.triplea-game.org/post/16096</link><guid isPermaLink="true">https://forums.triplea-game.org/post/16096</guid><dc:creator><![CDATA[Frostion]]></dc:creator><pubDate>Thu, 13 Sep 2018 19:38:19 GMT</pubDate></item><item><title><![CDATA[Reply to [Fixed] IllegalArgumentException: Cant remove more than player has of resource on Thu, 13 Sep 2018 13:24:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gogmosis" aria-label="Profile: gogmosis">@<bdi>gogmosis</bdi></a> Which Java version are you running TripleA with?</p>
]]></description><link>https://forums.triplea-game.org/post/16086</link><guid isPermaLink="true">https://forums.triplea-game.org/post/16086</guid><dc:creator><![CDATA[Panther]]></dc:creator><pubDate>Thu, 13 Sep 2018 13:24:30 GMT</pubDate></item></channel></rss>