When using Py4J and Robot Framework, before JVM is fully initialized and started, the log might contain the following errors multiple times. This does not affect the functionality at all, it is just polluting the log.
An error occurred while trying to connect to the Java server (127.0.0.1:25333)
Traceback (most recent call last):
File "C:\Python311\Lib\site-packages\py4j\java_gateway.py", line 982, in _get_connection
connection = self.deque.pop()
^^^^^^^^^^^^^^^^
IndexError: pop from an empty deque
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Python311\Lib\site-packages\py4j\java_gateway.py", line 1132, in start
self.socket.connect((self.address, self.port))
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it
When using Py4J and Robot Framework, before JVM is fully initialized and started, the log might contain the following errors multiple times. This does not affect the functionality at all, it is just polluting the log.