Getting RemoteTestNGStarter.main Disconnected from the target VM, address: '127.0.0.1:58923', transport: 'socket' error when debug

Answered

Connected to the target VM, address: '127.0.0.1:58923', transport: 'socket'
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 4 out of bounds for length 3
    at com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:65)
Disconnected from the target VM, address: '127.0.0.1:58923', transport: 'socket'

Process finished with exit code 1

 

Getting above error, when debugging /running. Working fine when running through maven command.

getting error after did invalidate cache and restart

0
6 comments

Upload id: 2023_12_21_swAnNgoyCko5dRUU11ZVa5 (file: IntellijE.PNG)

0

Hello, please try your project on 2023.3.2. If issue persist, please attach a sample project so we can take a look at it on our side, and IDEA logs ("Help | Collect logs and diagnostic data"), thank you

0

Getting above error, when debugging /running. Working fine when running through maven command.

0

How to add log file over here?

this is secured projected so can't share the project

 

0

So far we can't reproduce the issue on latest versions of IDEA. Please try to disable all non-bundle plugins, follow these steps, and upgrade to 2023.3.2. If issue persist, please upload logs here and mention the upload ID, and create and share a sample project which can help us to reproduce the issue on our side, thank you

0

Hi Ankit Kumar, I faced similar issue like this and I deleted files under c:/windows/temp/{folders} which has testng files and I restarted my intellij. This solved my problem.

0

Please sign in to leave a comment.