[Resolved][1.8.27a] Plugin crash (definition.json:362)

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
Sergio2203
Townsman
Reactions:
Posts: 42
Joined: 10 Jul 2018, 13:56
Plugins: Showcase Store

[Resolved][1.8.27a] Plugin crash (definition.json:362)

#1

Post by Sergio2203 »

Hi, I got the following error with a plugin (definition.json:362):

Code: Select all

In /storage/emulated/0/TheoTown/plugins/City01/definition.json:

io.blueflower.stapel2d.util.json.JSONException: Unterminated array at line 21, char 1. Excerpt: 
 }
--ERROR->>>]

Full source: [
  {
   "id":"CN1",
   "frames":[{"bmp":"city01N1.png"}],
   "type":"animation",
   "light":true, "light switching":true
 },
[
 {
   "id":"City01",
   "type":"commercial",
   "width":6,
   "height":6,
   "once":true,
   "animation":[{"id":"CN1", "x":0, "y":-394}],
   "frames":[{"bmp":"city01.png"}],
   "people":800,
   "level":1,
   "author":"Sergio2203"
 }
]
Device: moto g(6) play (motorola)
OS version: 26

Thank you in advance.
User avatar
CommanderABab
AB
Reactions:
Posts: 11107
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [Asked][1.8.27a] Plugin crash (definition.json:362)

#2

Post by CommanderABab »

Sergio2203 wrote: 20 Apr 2020, 05:09 Hi, I got the following error with a plugin (definition.json:362):

Code: Select all

In /storage/emulated/0/TheoTown/plugins/City01/definition.json:

io.blueflower.stapel2d.util.json.JSONException: Unterminated array at line 21, char 1. Excerpt: 
 }
--ERROR->>>]

Full source: [
  {
   "id":"CN1",
   "frames":[{"bmp":"city01N1.png"}],
   "type":"animation",
   "light":true, "light switching":true
 },
[  <<<<<<<<<<<<<<_<<< the error.
 {
   "id":"City01",
   "type":"commercial",
   "width":6,
   "height":6,
   "once":true,
   "animation":[{"id":"CN1", "x":0, "y":-394}],
   "frames":[{"bmp":"city01.png"}],
   "people":800,
   "level":1,
   "author":"Sergio2203"
 }
]
Device: moto g(6) play (motorola)
OS version: 26

Thank you in advance.
Try:

Code: Select all

[
  {
   "id":"CN1",
   "frames":[{"bmp":"city01N1.png"}],
   "type":"animation",
   "light":true, "light switching":true
 },

 {
   "id":"City01",
   "type":"commercial",
   "width":6,
   "height":6,
   "once":true,
   "animation":[{"id":"CN1", "x":0, "y":-394}],
   "frames":[{"bmp":"city01.png"}],
   "people":800,
   "level":1,
   "author":"Sergio2203"
 }
]
User avatar
Sergio2203
Townsman
Reactions:
Posts: 42
Joined: 10 Jul 2018, 13:56
Plugins: Showcase Store

Re: [Asked][1.8.27a] Plugin crash (definition.json:362)

#3

Post by Sergio2203 »

thanks friend, you could load my plugin
Post Reply Previous topicNext topic

Return to “Problems”