Game Crashes on road menu

Do you have any issues? Don't hesitate to tell us about it.
Tux
Settler
Reactions:
Posts: 5
Joined: Fri Jan 05, 2018 14:29
Plugins: Show

Game Crashes on road menu

Post by Tux » Sun Aug 12, 2018 0:23

Hello

For some reason, whenever I open the road building menu, the game freezes then quits. I am currently using the latest version of the game, and I have removed all plugins. The problem still persists when starting a new map. Any idea what's going on?

Thanks in advance
Attachments
log.txt
Look at the bottom
(159.79 KiB) Downloaded 15 times

User avatar
Republic of Canada
Inhabitant of a Megacity
Reactions:
Posts: 254
Joined: Mon Sep 25, 2017 23:18
Location: Toronto
Plugins: Show
Version: Beta
Phone model: Samsung Galaxy Tab 3

Re: Game Crashes on road menu

Post by Republic of Canada » Sun Aug 12, 2018 0:53

Tux wrote:
Sun Aug 12, 2018 0:23
Hello

For some reason, whenever I open the road building menu, the game freezes then quits. I am currently using the latest version of the game, and I have removed all plugins. The problem still persists when starting a new map. Any idea what's going on?

Thanks in advance
Um please provide a screenshot as the log.txt is a bunch of numbers and stuff
Sevastopol Federation :fire
I now run EPMU
R.I.P Stefán Karl Stefánsson 1975-2018 :cry:

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

Re: Game Crashes on road menu

Post by CommanderABab » Sun Aug 12, 2018 0:54

You should probably restore the plugins you had.

Do you have an internet connection when starting up?
524524Currently using alpha? 524. 524 What's new? :)
Lua!
:)

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

Tux
Settler
Reactions:
Posts: 5
Joined: Fri Jan 05, 2018 14:29
Plugins: Show

Re: Game Crashes on road menu

Post by Tux » Sun Aug 12, 2018 4:59

Yeah I do have internet. I've put all my plugins back in and it still doesn't work.

The screencap below is basically the last thing I see before the game crashes.
Attachments
Screenshot_2018-08-12-12-51-23.png

User avatar
Lobby
Developer
Reactions:
Posts: 3129
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Re: Game Crashes on road menu

Post by Lobby » Sun Aug 12, 2018 11:34

Does it crash with a window that says that it crashed?
...Have a nice stay

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

Re: Game Crashes on road menu

Post by Bearbear65 » Sun Aug 12, 2018 11:52

I also got these errors while trying to open the road menu , it works now for some reason
(Not sure if they are related)

Code: Select all

2018/08/07 19:22:05: Fatal
java.lang.Exception: java.lang.NullPointerException: Attempt to read from null array
java.lang.Exception: java.lang.NullPointerException: Attempt to read from null array
	at info.flowersoft.theotown.theotown.MainActivity$8$3.onClick(MainActivity.java:530)
	at android.support.v7.app.AlertController$ButtonHandler.handleMessage(AlertController.java:162)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:135)
	at android.app.ActivityThread.main(ActivityThread.java:5260)
	at java.lang.reflect.Method.invoke(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:372)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:678)
Caused by: java.lang.NullPointerException: Attempt to read from null array
	at info.flowersoft.theotown.theotown.map.objects.Road.draw(Road.java:308)
	at info.flowersoft.theotown.theotown.tools.DefaultTool.drawRoad(DefaultTool.java:382)
	at info.flowersoft.theotown.theotown.tools.DefaultTool.draw(DefaultTool.java:153)
	at info.flowersoft.theotown.theotown.map.City.drawWholeCity$65dc8e5c(City.java:18695)
	at info.flowersoft.theotown.theotown.map.City.draw(City.java:522)
	at info.flowersoft.theotown.theotown.stages.GameStage.onUpdate(GameStage.java:29326)
	at info.flowersoft.theotown.theotown.stages.BaseStage.update(BaseStage.java:177)
	at io.blueflower.stapel2d.gamestack.GameStack.update(GameStack.java:121)
	at info.flowersoft.theotown.theotown.Renderer.onDrawFrame(Renderer.java:49)
	at info.flowersoft.theotown.theotown.MainActivity$1.onDrawFrame(MainActivity.java:160)
	at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1522)
	at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1239)

2018/08/07 20:45:18: Startup
2018/08/08 15:45:29: Startup
2018/08/08 15:45:56: Flush
java.lang.NullPointerException: Attempt to read from null array
java.lang.NullPointerException: Attempt to read from null array
	at info.flowersoft.theotown.theotown.map.objects.Road.draw(Road.java:308)
	at info.flowersoft.theotown.theotown.tools.DefaultTool.drawRoad(DefaultTool.java:382)
	at info.flowersoft.theotown.theotown.tools.DefaultTool.draw(DefaultTool.java:153)
	at info.flowersoft.theotown.theotown.map.City.drawWholeCity$65dc8e5c(City.java:18695)
	at info.flowersoft.theotown.theotown.map.City.draw(City.java:522)
	at info.flowersoft.theotown.theotown.stages.BaseStage.drawBackground(BaseStage.java:35425)
	at info.flowersoft.theotown.theotown.stages.SpecialOfferStage.onUpdate(SpecialOfferStage.java:245)
	at info.flowersoft.theotown.theotown.stages.BaseStage.update(BaseStage.java:177)
	at io.blueflower.stapel2d.gamestack.GameStack.update(GameStack.java:121)
	at io.blueflower.stapel2d.gamestack.GameStack.update(GameStack.java:153)
	at info.flowersoft.theotown.theotown.Renderer.onDrawFrame(Renderer.java:49)
	at info.flowersoft.theotown.theotown.MainActivity$1.onDrawFrame(MainActivity.java:160)
	at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1522)
	at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1239)
ImageJust my opinion
Caladrius is officially my favourite bird

Tux
Settler
Reactions:
Posts: 5
Joined: Fri Jan 05, 2018 14:29
Plugins: Show

Re: Game Crashes on road menu

Post by Tux » Sun Aug 12, 2018 12:01

Lobby wrote:
Sun Aug 12, 2018 11:34
Does it crash with a window that says that it crashed?
Nope, it freezes then exits to home screen, without an extra dialogue. During this time, touch screen doesn't register, but I can press the power button to lock my phone.

User avatar
Lobby
Developer
Reactions:
Posts: 3129
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Re: Game Crashes on road menu

Post by Lobby » Sun Aug 12, 2018 12:45

This sounds like an infinite loop :o

Did you restart the game after you removed all plugins?

@Bearbear65 This message indicates that there's a road without bridge frames trying to use bridge frames
...Have a nice stay

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

Re: Game Crashes on road menu

Post by Bearbear65 » Sun Aug 12, 2018 13:16

Oh so that's why...
ImageJust my opinion
Caladrius is officially my favourite bird

Tux
Settler
Reactions:
Posts: 5
Joined: Fri Jan 05, 2018 14:29
Plugins: Show

Re: Game Crashes on road menu

Post by Tux » Sun Aug 12, 2018 13:33

Yes I have restarted, I've even cleared data via the system settings apps manager, (so basically a clean install), but this still occurs. Last time when I tried on the fresh install, the game crashes (in the same fashion) when I was on the "Recent" menu. There were only two items there, the basic residential zone and...Dirt road. :o

Hmmmmm.....

User avatar
Lobby
Developer
Reactions:
Posts: 3129
Joined: Sun Oct 26, 2008 12:34
Plugins: Show
Version: Beta
Phone model: S7 edge

Re: Game Crashes on road menu

Post by Lobby » Sun Aug 12, 2018 13:41

What device are you using and which version of Android?
...Have a nice stay

Tux
Settler
Reactions:
Posts: 5
Joined: Fri Jan 05, 2018 14:29
Plugins: Show

Re: Game Crashes on road menu

Post by Tux » Sun Aug 12, 2018 14:28

HTC Desire 820 Dual SIM

Android Version 4.4.4

Post Reply Previous topicNext topic

Return to “Problems and Errors (bugs)”

Who is online

Users browsing this forum: No registered users and 0 guests