App crash when select a node

Simplify IoT Development.

Moderators: lily.li, violet, seth.welday

Post Reply
calvin2
Pre-kindergarten
Pre-kindergarten
Posts: 4
Joined: Fri Apr 08, 2016 11:52 am

App crash when select a node

Post by calvin2 » Fri Apr 15, 2016 12:19 pm

After configuring the wio link board, I can see there is 1 node in my Android App.
Clicks on it and the app crashes. See the screen cap below. (replace [dot] with . because I can't post link...)

imgur[dot]com/YuCF23t

imgur[dot]com/xALTgEt

calvin2
Pre-kindergarten
Pre-kindergarten
Posts: 4
Joined: Fri Apr 08, 2016 11:52 am

Re: App crash when select a node

Post by calvin2 » Fri Apr 15, 2016 12:30 pm

Clicks on Api or Setting cause app crash too.
Tried my 2nd wio link board. Also same. :cry:

yexiaobo
Pre-kindergarten
Pre-kindergarten
Posts: 46
Joined: Tue Dec 11, 2012 10:53 am

Re: App crash when select a node

Post by yexiaobo » Fri Apr 15, 2016 3:45 pm

Could your log more info about your phone and OS version?

And, pls update Wio Link app to 2.2.0.

calvin2
Pre-kindergarten
Pre-kindergarten
Posts: 4
Joined: Fri Apr 08, 2016 11:52 am

Re: App crash when select a node

Post by calvin2 » Fri Apr 15, 2016 4:16 pm

Yes I am already using 2.2.0 (Latest from play store)
I am using a Note 4, android 5.1.

It happens when I tap on any nodes on the screen. (I have 2 nodes)

The stack trace is pointing to:
IndexOutOfBoundsException Invalid index 0, size is 0.
at cc.seeed.iot.ui_setnode.SetupIotlinkActivity.java:123

peter.lans
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Sat Apr 16, 2016 9:01 pm

Re: App crash when select a node

Post by peter.lans » Sat Apr 16, 2016 9:08 pm

I had the same problem on a Nexus 5 with Android 6.0.1.
After deleting and reinstalling the app, the problem is solved for me.

I hope this will help you.

calvin2
Pre-kindergarten
Pre-kindergarten
Posts: 4
Joined: Fri Apr 08, 2016 11:52 am

Re: App crash when select a node

Post by calvin2 » Sat Apr 16, 2016 10:14 pm

It seems like previously the app does not get a list of groves. (For unknown reason..)
After uninstall and install, it can get the list and hence the app does not crashes anymore.

Thanks! :D

Post Reply