Page 1 of 1

[Asked][1.10.13a] Plugin crash (wire_mast.json:882)

Posted: 17 Nov 2021, 17:12
by Wepf
Hi, I got the following error with a plugin (wire_mast.json:882):

Code: Select all

In plugins/trackless train/wire_mast.json:

io.blueflower.stapel2d.util.json.JSONException: Value {"id":"$wirehanger.rdc","type":"road decoration","required flag train":true,"required flag tram":true,"required flag normal":false,"ordinal":2,"category":"$cat_train00","title":"Wire mast","text":"For supports the wire so the wires won't fall into train. Note: Please place it away from each other at least 5 block away for more realistic.","price":20,"animation":[{"id":"$wirehanger00.anim"},{"id":"$wirehanger01.anim"}],"frame animation indices":[[],[0],[1],[],[0],[0],[],[],[1],[],[1],[],[],[],[],[]],"animation fg":[{"id":"$wirehanger02.anim"},{"id":"$wirehanger03.anim"}],"frame animation fg indices":[[],[0],[1],[],[0],[0],[],[],[1],[],[1],[],[],[],[],[]],"template":"$lalagyan$LRT99999.temp"} of type io.blueflower.stapel2d.util.json.JSONObject cannot be converted to JSONArray
Device: SM-A325F (samsung)
OS version: 30

Thank you in advance.

Re: [Asked][1.10.13a] Plugin crash (wire_mast.json:882)

Posted: 18 Nov 2021, 01:48
by KINGTUT10101
https://jsonlint.com/

Put your JSON file through this and it should tell you what's wrong. I think you just mistyped something or left out a bracket.