Importing a Charles .chls session directly into Reqable fails on Windows.
Reqable tries to launch Charles CLI to convert the .chls file to HAR, but Charles crashes with a NullPointerException.
The same Charles conversion command works correctly when executed manually in PowerShell, and the resulting HAR file opens successfully in Reqable.
Configured Charles directory:
Reqable log shows this command:
"C:\Program Files\Charles\Charles.exe" convert C:\Users\nikita\Downloads\HW4K2W66HRVM.chls C:\Users\nikita\Downloads\HW4K2W66HRVM.har
When Reqable runs it, Charles fails with:
SEVERE com.charlesproxy.main.Main Failed to start Charles
java.lang.NullPointerException
at java.base/java.io.File.<init>(Unknown Source)
at com.charlesproxy/com.charlesproxy.OZTL.uPPi(Unknown Source)
at com.charlesproxy/com.charlesproxy.OZTL.IUux(Unknown Source)
at com.charlesproxy/com.charlesproxy.CharlesContext.init(Unknown Source)
at com.charlesproxy/com.charlesproxy.Main.IUux(Unknown Source)
at com.charlesproxy/com.charlesproxy.main.Main.main(Unknown Source)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at com.charlesproxy/com.xk72.eTgW.edfX.IUux(Unknown Source)
at com.charlesproxy/com.charlesproxy.main.MainWithClassLoader.main(Unknown Source)
Running the conversion manually in PowerShell works:
& "C:\Program Files\Charles\Charles.exe" convert C:\Users\nikita\Downloads\HW4K2W66HRVM.chls C:\Users\nikita\Downloads\reqable-test.har
The HAR file is created successfully and can be opened normally in Reqable.
The only warning shown during manual conversion is:
WARNING com.xk72.proxy.lib.ZstdUtils Cannot load zstd library: no zstd-jni-1.5.7-7 in java.library.path: .\lib
This warning does not prevent the conversion.
I also tried launching Reqable itself from PowerShell and importing the .chls file again, but the same NullPointerException occurs.
To Reproduce
-
Install Charles on Windows.
-
Configure the Charles application directory in Reqable as:
-
Open a valid .chls file in Reqable.
-
Reqable tries to launch Charles for conversion.
-
Charles crashes with Failed to start Charles and java.lang.NullPointerException.
-
Run the same Charles.exe convert command manually in PowerShell.
-
The conversion succeeds and produces a valid HAR file.
-
Open the generated HAR file in Reqable.
-
The HAR file opens successfully.
Expected behavior
Reqable should be able to launch Charles and convert the .chls file to HAR in the same way as when the command is executed manually.
The .chls session should open normally in Reqable.
Screenshots
Information
- Platform: Windows
- OS: Windows 10
- Arch: x86-64
- App Version: 3.2.23
- Charles directory:
C:\Program Files\Charles
Importing a Charles
.chlssession directly into Reqable fails on Windows.Reqable tries to launch Charles CLI to convert the
.chlsfile to HAR, but Charles crashes with aNullPointerException.The same Charles conversion command works correctly when executed manually in PowerShell, and the resulting HAR file opens successfully in Reqable.
Configured Charles directory:
Reqable log shows this command:
When Reqable runs it, Charles fails with:
Running the conversion manually in PowerShell works:
The HAR file is created successfully and can be opened normally in Reqable.
The only warning shown during manual conversion is:
This warning does not prevent the conversion.
I also tried launching Reqable itself from PowerShell and importing the
.chlsfile again, but the sameNullPointerExceptionoccurs.To Reproduce
Install Charles on Windows.
Configure the Charles application directory in Reqable as:
Open a valid
.chlsfile in Reqable.Reqable tries to launch Charles for conversion.
Charles crashes with
Failed to start Charlesandjava.lang.NullPointerException.Run the same
Charles.exe convertcommand manually in PowerShell.The conversion succeeds and produces a valid HAR file.
Open the generated HAR file in Reqable.
The HAR file opens successfully.
Expected behavior
Reqable should be able to launch Charles and convert the
.chlsfile to HAR in the same way as when the command is executed manually.The
.chlssession should open normally in Reqable.Screenshots
Information
C:\Program Files\Charles