Trigger not working in .exe program which uses embedded derby database

I downloaded a windows application (.exe) that uses an embeded Derby database. I want to detect when the application adds a new recor in a table named INCIDENCIAS and then call for a Java method. To do that I created a trigger in that table and tested it succefully by adding records to the table (with DBVisualizer connected to the databse).

My problem is that at the moment I configure the trigger in INCIDENCIAS table the .exe application do not add more records to the database and the trigger does not work (it is not calling the Java method).

Is there any way to troubleshoot the problem? Any hints on what the problem can be?