Similar problem to what is discussed in this thread https://forum.arduino.cc/t/arduino-ide-1-8-19-in-tools-menu-port-grayed-out/1287639/1
Running Arduino IDE 1.8.19 from command line on linux, I get the following:
Picked up JAVA_TOOL_OPTIONS:
Exception in thread "cc.arduino.packages.discoverers.serial.SerialDiscovery" java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
at java.util.LinkedList.checkElementIndex(LinkedList.java:555)
at java.util.LinkedList.get(LinkedList.java:476)
at processing.app.Platform.resolveDeviceByVendorIdProductId(Platform.java:188)
at cc.arduino.packages.discoverers.serial.SerialDiscovery.forceRefresh(SerialDiscovery.java:166)
at cc.arduino.packages.discoverers.serial.SerialDiscovery$1.run(SerialDiscovery.java:96)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Problem is caused by the ESP32 board package by Expressif Systems version 3.3.1, vid with no pid for the FoBE Quill ESP32S3 Mesh FH4R2. Commenting out the two vid lines with no accompanying pid corrects the problem.
52128 ##############################################################
52129
52130 # FoBE Quill ESP32S3 Mesh FH4R2
52131
52132 fobe_quill_esp32s3_mesh.name=FoBE Quill ESP32S3 Mesh
52133 fobe_quill_esp32s3_mesh.vid.0=0x303a
52134 fobe_quill_esp32s3_mesh.pid.0=0x82f4
52135 fobe_quill_esp32s3_mesh.vid.1=0x303a
52136 fobe_quill_esp32s3_mesh.vid.1=0x82f5
52137 fobe_quill_esp32s3_mesh.vid.2=0x303a
52138 fobe_quill_esp32s3_mesh.pid.2=0x82f6