[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 Conurbation
Reactions:
Posts: 460
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.
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 460
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 ?
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D

User avatar
JustAnyone
Feature manager
Reactions:
Posts: 2374
Joined: Sun Jul 23, 2017 12:45
Location: Pickle Jar
Plugins: Show
Version: Beta
Phone model: Picklephone XP 5

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: 4542
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
Theotown forum authoritarian

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 460
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.
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 460
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
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 6566
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.
524524Currently using alpha? 524. 524 What's new? :)
Lua!
:)

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

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 460
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 :)
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 460
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.
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 460
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!
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D

User avatar
CommanderABab
Inhabitant of a Multiverse
Reactions:
Posts: 6566
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.
524524Currently using alpha? 524. 524 What's new? :)
Lua!
:)

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

User avatar
JustAnyone
Feature manager
Reactions:
Posts: 2374
Joined: Sun Jul 23, 2017 12:45
Location: Pickle Jar
Plugins: Show
Version: Beta
Phone model: Picklephone XP 5

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 Conurbation
Reactions:
Posts: 460
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!
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 460
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?
Proud to be the player of theotown since 1.0.45 alpha.
Proud to be the first Tamil theotowner. Done 2 plugins.
:D

Locked Previous topicNext topic

Return to “Trash”

Who is online

Users browsing this forum: No registered users and 0 guests