[416] Plugin crash (notifytest2.json:161)

Plugin specific problems will be solved here.

Moderators: Scenario Moderators, Plugin Moderators

User avatar
cesareborgia94

[416] Plugin crash (notifytest2.json:161)

#1

Post by cesareborgia94 »

Hi, I got the following error with a plugin (notifytest2.json:161):

Code: Select all

In /storage/emulated/0/TheoTown/plugins/Building/notifytest2.json:

org.json.JSONException: Value {"type":"notification","id":"$notify_test00","frames":[{"steal":"$anim_people_source01","frame":14}],"text":"Hi, I'm a test notification!"} of type org.json.JSONObject cannot be converted to JSONArray
I have already tested it on JSONlint, it says valid json.
notifytest2.json
This is json file. Just wanted to test notification fun function in the Tutorials and Documentation.
(161 Bytes) Downloaded 164 times
znotifybuilding.json
This is the building json, also copy paste it to test the notification function.
(265 Bytes) Downloaded 161 times
Device: SM-G360H (samsung)
Android: 19 (4.4.4)
Using current beta 4.1.6. I hope you guys can tell me what is the error.
Thank you in advance.

User avatar
cesareborgia94

Re: [416] Plugin crash (notifytest2.json:161)

#2

Post by cesareborgia94 »

Thank you for the help
@KoalaGuy.
The problem is fixed now.
:)

Post Reply Previous topicNext topic

Return to “Problems”