[492] Plugin crash (zzofficebldgs.json:8439)

Try to be nice to each other so your posts won't land here.
User avatar
sairam
Inhabitant of a Megacity
Reactions:
Posts: 323
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

[492] Plugin crash (zzofficebldgs.json:8439)

Post by sairam » Tue Jun 26, 2018 14:38

Hi, I got the following error with a plugin (zzofficebldgs.json:8439):

Code: Select all

In /storage/emulated/0/TheoTown/plugins/officealpha5/officealpha5/zzofficebldgs.json:

java.lang.NullPointerException: Attempt to read from field 'boolean info.flowersoft.theotown.theotown.draft.ZoneDraft.placeable' on a null object reference
Device: Redmi 5 (Xiaomi)
Android: 25 (7.1.2)

Thank you in advance.
My plugins
... BTW I like school. :calc I want to learn :java. Indian Pudukkottai Theotownist!

User avatar
sairam
Inhabitant of a Megacity
Reactions:
Posts: 323
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Re: [492] Plugin crash (zzofficebldgs.json:8439)

Post by sairam » Wed Jun 27, 2018 17:30

Why nobody is answering me ?
My plugins
... BTW I like school. :calc I want to learn :java. Indian Pudukkottai Theotownist!

User avatar
JustAnyone
Feature manager
Reactions:
Posts: 2249
Joined: Sun Jul 23, 2017 12:45
Location: Phone repair service
Plugins: Show
Version: Beta
Phone model: Xiaomi Redmi 3s

Re: [492] Plugin crash (zzofficebldgs.json:8439)

Post by JustAnyone » Wed Jun 27, 2018 20:46

Did you edit anything with the json?

User avatar
Bearbear65
Inhabitant of a Universe
Reactions:
Posts: 4465
Joined: Fri Feb 10, 2017 14:53
Plugins: Show
Version: Beta
Phone model: ASUS ZenPad 10 z300c

Re: [492] Plugin crash (zzofficebldgs.json:8439)

Post by Bearbear65 » Thu Jun 28, 2018 7:05

I'm not familiar with this error
But I will assume that you are missing something
ImageJust my opinion
Caladrius is officially my favourite bird

User avatar
sairam
Inhabitant of a Megacity
Reactions:
Posts: 323
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Re: [492] Plugin crash (zzofficebldgs.json:8439)

Post by sairam » Sat Jun 30, 2018 13:11

JustAnyone wrote:
Wed Jun 27, 2018 20:46
Did you edit anything with the json?
Yes i wanted to make office buildings category in the zone category. That was my mistake! I'm so sorry for editing the plugin json. I wanted to make it next to ind buildings. Sorry @matison55557[Posts][PM]! I edited your plugin.
My plugins
... BTW I like school. :calc I want to learn :java. Indian Pudukkottai Theotownist!

User avatar
sairam
Inhabitant of a Megacity
Reactions:
Posts: 323
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Re: [492] Plugin crash (zzofficebldgs.json:8439)

Post by sairam » Sun Jul 01, 2018 16:00

Why no reply
My plugins
... BTW I like school. :calc I want to learn :java. Indian Pudukkottai Theotownist!

Online
User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 6221
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Re: [492] Plugin crash (zzofficebldgs.json:8439)

Post by CommanderABab » Mon Jul 02, 2018 0:21

Maybe you have an extra comma in a list of objects in an array.

Like here:

Code: Select all

[
              {"":""},{"":""},
]
Hard to know without seeing any code.
512512Currently using 512. 512 What's new? :)
Nice homes!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
sairam
Inhabitant of a Megacity
Reactions:
Posts: 323
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Re: [492] Plugin crash (zzofficebldgs.json:8439)

Post by sairam » Tue Jul 03, 2018 3:53

I will upload the code. :D :)
My plugins
... BTW I like school. :calc I want to learn :java. Indian Pudukkottai Theotownist!

User avatar
sairam
Inhabitant of a Megacity
Reactions:
Posts: 323
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Re: [492] Plugin crash (zzofficebldgs.json:8439)

Post by sairam » Wed Jul 04, 2018 16:02

sairam wrote:
Tue Jul 03, 2018 3:53
I will upload the code. :D :)

Code: Select all

[
	{
		"category":"$cat_zone00",
		"frames":[
			{
				"bmp":"officeicon.png"
			}
		],
		"id":"$cat_newcat_officezone",
		"ordinal":16,
		"title":"Offbuildings",
		"type":"category"
	}
]
I want the category to be appear on the zone category next to Ind buildings.
My plugins
... BTW I like school. :calc I want to learn :java. Indian Pudukkottai Theotownist!

User avatar
sairam
Inhabitant of a Megacity
Reactions:
Posts: 323
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Re: [492] Plugin crash (zzofficebldgs.json:8439)

Post by sairam » Wed Jul 04, 2018 18:30

Reply please!
My plugins
... BTW I like school. :calc I want to learn :java. Indian Pudukkottai Theotownist!

Online
User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 6221
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta

Re: [492] Plugin crash (zzofficebldgs.json:8439)

Post by CommanderABab » Wed Jul 04, 2018 19:21

Continually asking for a reply won't get you one with a plugin no one is familiar with.
512512Currently using 512. 512 What's new? :)
Nice homes!
:)

Telegram - t.me/
🆎️🆎️🆎️🆎️Commander🆎️🆎️

User avatar
JustAnyone
Feature manager
Reactions:
Posts: 2249
Joined: Sun Jul 23, 2017 12:45
Location: Phone repair service
Plugins: Show
Version: Beta
Phone model: Xiaomi Redmi 3s

Re: [492] Plugin crash (zzofficebldgs.json:8439)

Post by JustAnyone » Fri Jul 06, 2018 10:06

add "placeable": true, in zone definition

User avatar
sairam
Inhabitant of a Megacity
Reactions:
Posts: 323
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Re: [492] Plugin crash (zzofficebldgs.json:8439)

Post by sairam » Sun Jul 08, 2018 11:02

So i want this json to be next to ind buildings in zone
category.

Code: Select all

[
	{
		"category":"$cat_zone00",
		"frames":[
			{
				"bmp":"officeicon.png"
			}
		],
		"id":"$cat_newcat_officezone",
		"ordinal":16,
		"title":"Offbuildings",
		"type":"category"
	}
]
I added category and changed the title and ordinal only. I didn't changed any other things else. Please reply ASAP!
My plugins
... BTW I like school. :calc I want to learn :java. Indian Pudukkottai Theotownist!

User avatar
sairam
Inhabitant of a Megacity
Reactions:
Posts: 323
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone model: 7904216639

Re: [492] Plugin crash (zzofficebldgs.json:8439)

Post by sairam » Fri Jul 13, 2018 18:40

Was this forgotten?
My plugins
... BTW I like school. :calc I want to learn :java. Indian Pudukkottai Theotownist!

Locked Previous topicNext topic

Return to “Trash”

Who is online

Users browsing this forum: MsmNoMoreSpam and 0 guests