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

Try to be nice to each other so your posts won't land here.
Locked
Online
User avatar
sairam
Townsman
Reactions:
Posts: 78
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone: 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.
:bb B) B) B) Indian Pudukottai ! Theotownist ! :fire :D :D :D :space :space :space :space :bt BTW I like school. :calc I want to learn :java.

Online
User avatar
sairam
Townsman
Reactions:
Posts: 78
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone: 7904216639

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

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

Why nobody is answering me ?
:bb B) B) B) Indian Pudukottai ! Theotownist ! :fire :D :D :D :space :space :space :space :bt BTW I like school. :calc I want to learn :java.

User avatar
JustAnyone
Feature manager
Reactions:
Posts: 2079
Joined: Sun Jul 23, 2017 12:45
Location: TheoTown command centre
Plugins: Show
Version: Beta
Phone: 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: 4282
Joined: Fri Feb 10, 2017 14:53
Plugins: Show
Version: Beta
Phone: 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

Online
User avatar
sairam
Townsman
Reactions:
Posts: 78
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone: 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.
:bb B) B) B) Indian Pudukottai ! Theotownist ! :fire :D :D :D :space :space :space :space :bt BTW I like school. :calc I want to learn :java.

Online
User avatar
sairam
Townsman
Reactions:
Posts: 78
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone: 7904216639

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

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

Why no reply
:bb B) B) B) Indian Pudukottai ! Theotownist ! :fire :D :D :D :space :space :space :space :bt BTW I like school. :calc I want to learn :java.

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 5861
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.
497497Currently using 497. 497 What's new? :)
Save bug squashed!
:)

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

Online
User avatar
sairam
Townsman
Reactions:
Posts: 78
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone: 7904216639

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

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

I will upload the code. :D :)
:bb B) B) B) Indian Pudukottai ! Theotownist ! :fire :D :D :D :space :space :space :space :bt BTW I like school. :calc I want to learn :java.

Online
User avatar
sairam
Townsman
Reactions:
Posts: 78
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone: 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.
:bb B) B) B) Indian Pudukottai ! Theotownist ! :fire :D :D :D :space :space :space :space :bt BTW I like school. :calc I want to learn :java.

Online
User avatar
sairam
Townsman
Reactions:
Posts: 78
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone: 7904216639

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

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

Reply please!
:bb B) B) B) Indian Pudukottai ! Theotownist ! :fire :D :D :D :space :space :space :space :bt BTW I like school. :calc I want to learn :java.

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 5861
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.
497497Currently using 497. 497 What's new? :)
Save bug squashed!
:)

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

User avatar
Matison55557
Inhabitant of a Universe
Reactions:
Posts: 4873
Joined: Mon Jul 04, 2016 18:49
Plugins: Show
Version: Beta

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

Post by Matison55557 » Wed Jul 04, 2018 19:45

It's my plugin, but you edited it, so we can't help right now.
Commander's right, stop asking for replies all the time!
Please don't (SERIOUSLY) help improve the TheoTown wiki: http://theotowngame.wikia.com

User avatar
JustAnyone
Feature manager
Reactions:
Posts: 2079
Joined: Sun Jul 23, 2017 12:45
Location: TheoTown command centre
Plugins: Show
Version: Beta
Phone: 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

Online
User avatar
sairam
Townsman
Reactions:
Posts: 78
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone: 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!
:bb B) B) B) Indian Pudukottai ! Theotownist ! :fire :D :D :D :space :space :space :space :bt BTW I like school. :calc I want to learn :java.

Online
User avatar
sairam
Townsman
Reactions:
Posts: 78
Joined: Sun Dec 31, 2017 13:35
Location: India Pudukkottai
Plugins: Show
Version: Beta
Phone: 7904216639

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

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

Was this forgotten?
:bb B) B) B) Indian Pudukottai ! Theotownist ! :fire :D :D :D :space :space :space :space :bt BTW I like school. :calc I want to learn :java.

Locked

Return to “Trash”

Who is online

Users browsing this forum: No registered users and 0 guests