[Resolved][1.8.40a] Plugin crash (runway_decals.json:2367)

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
Narshalucas
Villager
Reactions:
Posts: 15
Joined: 10 Dec 2019, 20:14
Location: Rhône-Alpes, France
Plugins: Showcase Store
Contact:

Plugin Creator

Platform

[Resolved][1.8.40a] Plugin crash (runway_decals.json:2367)

#1

Post by Narshalucas »

Hi, I got the following error with a plugin (runway_decals.json:2367):

Code: Select all

In /storage/emulated/0/TheoTown/plugins/Runway decals/runway_decals.json:

io.blueflower.stapel2d.util.json.JSONException: Value {"#3":{"build time":0,"needs water":"false","monthly price":1,"frames":[{"bmp":"dt_start1.png"},{"bmp":"dt_start2.png"},{"bmp":"dt_start3.png"},{"bmp":"dt_start4.png"}],"author":"Narshalucas","needs land":"true","draw ground":"true","needs road":"false","title":"Displaced Threshold Start","type":"decoration","water":0,"rotation aware":"true","price":1,"width":3,"id":"dt_start","power":0,"text":"Displaced threshold is used for takeoff but not for landing but you can roll out on it.","height":3},"#4":{"build time":0,"needs water":"false","monthly price":1,"frames":[{"bmp":"dt_end1.png"},{"bmp":"dt_end2.png"},{"bmp":"dt_end3.png"},{"bmp":"dt_end4.png"}],"author":"Narshalucas","needs land":"true","draw ground":"true","needs road":"false","title":"Displaced Threshold End","type":"decoration","water":0,"rotation aware":"true","price":1,"width":3,"id":"dt_end","power":0,"text":"Displaced threshold is used for takeoff but not for landing but you can roll out on it.","height":3},"#5":{"build time":0,"needs water":"false","monthly price":1,"frames":[{"bmp":"raquette_1.png"},{"bmp":"raquette_2.png"},{"bmp":"raquette_3.png"},{"bmp":"raquette_4.png"}],"author":"Narshalucas","needs land":"true","draw ground":"true","needs road":"false","title":"Runway Bracket","type":"decoration","water":0,"rotation aware":"true","price":"1","width":3,"id":"bracket","power":0,"text":"Used for a plane rotation at the end of the runway for line up.","height":3},"#1":{"build time":0,"needs water":"false","monthly price":1,"frames":[{"bmp":"bp_start1.png"},{"bmp":"bp_start2.png"},{"bmp":"bp_start3.png"},{"bmp":"bp_start4.png"}],"author":"Narshalucas","needs land":"true","draw ground":"true","needs road":"false","title":"Blastpad Start","type":"decoration","water":0,"rotation aware":"true","price":1,"width":3,"id":"bp_start","power":0,"text":"Blastpads are used for overrun and is placed behind the runway.","height":3},"#2":{"build time":0,"needs water":"false","monthly price":1,"frames":[{"bmp":"bp_end1.png"},{"bmp":"bp_end2.png"},{"bmp":"bp_end3.png"},{"bmp":"bp_end4.png"}],"author":"Narshalucas","needs land":"true","draw ground":"true","needs road":"false","title":"Blastpad End","type":"decoration","water":0,"rotation aware":"true","price":1,"width":3,"id":"bp_end","power":0,"text":"Blastpads are used for overrun and is placed behind the runway.","height":3}} of type io.blueflower.stapel2d.util.json.JSONObject cannot be converted to JSONArray
Device: SM-A405FN (samsung)
OS version: 29

Thank you in advance.

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: [Asked][1.8.40a] Plugin crash (runway_decals.json:2367)

#2

Post by Lobby »

Apparently it's a syntax error in the JSON code. Did you modify that plugin?

User avatar
Narshalucas
Villager
Reactions:
Posts: 15
Joined: 10 Dec 2019, 20:14
Location: Rhône-Alpes, France
Plugins: Showcase Store
Contact:

Plugin Creator

Platform

Re: [Asked][1.8.40a] Plugin crash (runway_decals.json:2367)

#3

Post by Narshalucas »

I used object instead of array at the root.
I fixed that and it works now

Post Reply Previous topicNext topic

Return to “Problems”