[510] Plugin crash (zzsubresbldgs.json:5344)

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
Mg3094066
Inhabitant of a Supercluster
Reactions:
Posts: 3223
Joined: 28 May 2017, 01:50
Location: Venezuelan Republic of Mexico
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

[510] Plugin crash (zzsubresbldgs.json:5344)

#1

Post by Mg3094066 »

Hi, I got the following error with a plugin (zzsubresbldgs.json:5344):

Code: Select all

In /storage/emulated/0/TheoTown/plugins/subres/subres/zzsubresbldgs.json:

java.lang.NullPointerException: Attempt to read from null array
Device: LG-H320 (lge)
Android: 21 (5.0.1)

Thank you in advance.

User avatar
Mg3094066
Inhabitant of a Supercluster
Reactions:
Posts: 3223
Joined: 28 May 2017, 01:50
Location: Venezuelan Republic of Mexico
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [510] Plugin crash (zzsubresbldgs.json:5344)

#2

Post by Mg3094066 »

There arent miswritten Json issues
:mine :bq :calc :mine

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5730
Joined: 10 Feb 2017, 14:53
Location: L2 cache
Plugins: Showcase Store

Plugin Creator

Platform

Re: [510] Plugin crash (zzsubresbldgs.json:5344)

#3

Post by Bearbear76 »

Show us the code

User avatar
Mg3094066
Inhabitant of a Supercluster
Reactions:
Posts: 3223
Joined: 28 May 2017, 01:50
Location: Venezuelan Republic of Mexico
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [510] Plugin crash (zzsubresbldgs.json:5344)

#4

Post by Mg3094066 »

Okie... I tried before erasing some buildings for make it look really suburban but today I tried to add some new buildings... When I started the game it showed the error
Json code

Code: Select all

[{"matison_suburbanzone"}]
The error it's located in this file

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 537
Joined: 31 Dec 2017, 13:35
Location: India Pudukkottai
Plugins: Showcase Store
Version: Beta

Platform

Re: [510] Plugin crash (zzsubresbldgs.json:5344)

#5

Post by sairam »

<..> there is no frames on the first one try adding frames.

Code: Select all

[{"habitants":6,"height":1,"hidden":true,"id":"$res03_MATSNSB","level":1,"type":"residential","width":1,"zone":"$matison_suburbanzone"},

User avatar
Bearbear76
Former Bearbear65
Reactions:
Posts: 5730
Joined: 10 Feb 2017, 14:53
Location: L2 cache
Plugins: Showcase Store

Plugin Creator

Platform

Re: [510] Plugin crash (zzsubresbldgs.json:5344)

#6

Post by Bearbear76 »

If you don't want frames add

Code: Select all

"frames":[null],

User avatar
Mg3094066
Inhabitant of a Supercluster
Reactions:
Posts: 3223
Joined: 28 May 2017, 01:50
Location: Venezuelan Republic of Mexico
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [510] Plugin crash (zzsubresbldgs.json:5344)

#7

Post by Mg3094066 »

I just wanted to steal them :|

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 537
Joined: 31 Dec 2017, 13:35
Location: India Pudukkottai
Plugins: Showcase Store
Version: Beta

Platform

Re: [510] Plugin crash (zzsubresbldgs.json:5344)

#8

Post by sairam »

Then use

Code: Select all

"frames":[{"steal":"res103"}]

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [510] Plugin crash (zzsubresbldgs.json:5344)

#9

Post by CommanderABab »

Problem has been addressed. I am removing the codes now, as they contain the entire plugin of a former memBer.

User avatar
Mg3094066
Inhabitant of a Supercluster
Reactions:
Posts: 3223
Joined: 28 May 2017, 01:50
Location: Venezuelan Republic of Mexico
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [510] Plugin crash (zzsubresbldgs.json:5344)

#10

Post by Mg3094066 »

Okie :'v

Post Reply Previous topicNext topic

Return to “Problems”