Page 1 of 1

✔[408] Plugin crash (ZZZZ_food industry build.json:508)

Posted: 16 Jan 2018, 22:22
by Lobby
Hi, I got the following error with a plugin:

Code: Select all

In /storage/emulated/0/TheoTown/plugins/food industry/ZZZZ_food industry build.json:

java.lang.NullPointerException: Attempt to read from field 'boolean info.flowersoft.theotown.theotown.draft.ZoneDraft.placeable' on a null object reference
Device: SM-G935F (samsung)
Android: 24 (7.0)

Thanks in advance

Re: [408] Plugin crash (ZZZZ_food industry build.json:508)

Posted: 16 Jan 2018, 22:31
by JustAnyone
Lobby wrote:
27 Sep 2017, 15:50
NullPointerExceptions are the main reason for crashes in Java programs :java :bb
@Borbor this is about your community plugin.

Re: ✔ [408] Plugin crash (ZZZZ_food industry build.json:508)

Posted: 16 Jan 2018, 22:44
by Lobby
Thank you for your support, it turned out to be a naming scheme issue.

Re: ✔ [408] Plugin crash (ZZZZ_food industry build.json:508)

Posted: 17 Jan 2018, 20:32
by yusuf8a684
is this @Borbor 's plugin?

Re: ✔ [408] Plugin crash (ZZZZ_food industry build.json:508)

Posted: 17 Jan 2018, 21:46
by Borbor
yusuf8a684 wrote:
17 Jan 2018, 20:32
is this @Borbor 's plugin?
Yes this is my plugin

Re: ✔ [408] Plugin crash (ZZZZ_food industry build.json:508)

Posted: 17 Jan 2018, 22:02
by yusuf8a684
Borbor wrote:
17 Jan 2018, 21:46
yusuf8a684 wrote:
17 Jan 2018, 20:32
is this @Borbor 's plugin?
Yes this is my plugin
can i have link?