Tag Archives: Stepping on the pit diary

[Solved] JAVA fx Error: java.lang.instrument ASSERTION FAILED ***: “!errorOutstanding“ with message transform

java fx error: java.lang.instrument ASSERTION FAILED ***: “!errorOutstanding“ with message transform

Problem description

Errors encountered in Java FX

In fxml, the controller is bound by fx:controller.
FXMLLoader.load is used in the controller of control to get the fxml file

An error is reported

java.lang.instrument ASSERTION FAILED ***: "!errorOutstanding" with message transform method call failed at JPLISAgent

Cause analysis:

The reason for the error is that there is a cycle, similar to the cycle dependency problem

as a result of:

a.fxml depends on the controller AController.java
But AController.java will load this fxml again


Solution:

Remove FXMLLoader.load from the controller or remove fx:controller from fxml

 

Port out of range: – 1 for Tomcat startup in idea

Port out of range: – 1 for Tomcat startup in idea

The reason for this may be that the port number of your configuration file is – 1

how to solve it
first, let’s find the configuration file in conf under your Tomcat installation path

Mine is here

Open with Notepad

Change the port number to another number at this position. Make it larger. Here I change it to 1001

OK, it’s normal