cancel
Showing results for 
Search instead for 
Did you mean: 

I'm using the STM32 Motor Control Software Development Kit (MCSDK) and every time I try to compile a project a get this error: "Temporary JSON file is corrupted ". Does anyone have experience solving this?

SQuin.1
Associate

ERROR:

Temporary JSON file is corrupted => switch to non-temporary and retry

org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]

Version info: 

MC Workbench    : 5.4.3.19514

WB_to_Mx      : 1.0.6.template-19-11-14

STM32CubeMX    : 5.6.0

MC Firmware Library: 5.4.3

Generation options: 

Target Toolchain  : ST TrueSTUDIO

Target Driver   : HAL - Hardware Abstraction Layer

Target STM32 FW  : 1.8.0

1 ACCEPTED SOLUTION

Accepted Solutions
Shevtsov
Associate II

i think you need to think about java jdk13.... i had similar problem, i had java 8 and it solved installing java jdk13 (recently appeared 14 vers) - i added it to my lat java - i mean that i didn't deleted 8 version

View solution in original post

1 REPLY 1
Shevtsov
Associate II

i think you need to think about java jdk13.... i had similar problem, i had java 8 and it solved installing java jdk13 (recently appeared 14 vers) - i added it to my lat java - i mean that i didn't deleted 8 version