Ludii Forum
Exception during game creation: java.lang.reflect.InvocationTargetException - Printable Version

+- Ludii Forum (https://ludii.games/forums)
+-- Forum: Problems (https://ludii.games/forums/forumdisplay.php?fid=5)
+--- Forum: Ludii Player Problems (https://ludii.games/forums/forumdisplay.php?fid=6)
+--- Thread: Exception during game creation: java.lang.reflect.InvocationTargetException (/showthread.php?tid=628)



Exception during game creation: java.lang.reflect.InvocationTargetException - Michael - 07-02-2021

When I load the attached file, I get the message
Quote:Compiled Noose successfully.
Exception during game creation: java.lang.reflect.InvocationTargetException
Player 1 to move.
And nothing happens. The game does not load.


RE: Exception during game creation: java.lang.reflect.InvocationTargetException - Eric Piette - 07-06-2021

Hi,

Ok, I identified the problem. That came from the preprocessing of the directions in (ahead ...) which can not be done when you use some non-static ludemes such as (last From) or (last To). I fixed that and your game is now compiling, so you will be able to run it in the next release.

Regards,
Eric