Hey All!
Please see the attached error message from my intern's project. Any clues on how to resolve it?
JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
caused by IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
Ignition v8.1.44 (b2024102210)
Java: Azul Systems, Inc. 17.0.12
- Go to the gateway's installation directory
- Navigate to
/data/projects/$yourProjectName/com.inductiveautomation.perspective/views/AKF_Main/
- Open the
view.json
file in a text editor
- Hope that it's still got useful content
Alternate step 1:
Contact our support department officially.
the error being 'expected begin object but was string' suggests a missing open bracket in the view json
Hopefully. I'm worried the literal file content is going to be something like:
object Object
or
IllegalStateException: Something bad happened
Or equivalent. In which case I hope OP has set up scheduled backups.
The Last back-up was a while ago unfortunately
you don't need a backup to access this, it should just be in program files/Inductive Automation