Discussion Forums  >  Uncategorized

Replies: 3    Views: 197

piggilypoo
Aspiring developer
Profile
Posts: 172
Reg: Jun 28, 2011
San Diego
5,120
10/04/11 04:05 PM (14 years ago)

Android app crash errors

With around 2000 app installs, I checked my error log to find 45 errors reported, stemming from 4 different errors. here are the 4: 32 reports of: IllegalArgumentException - in WindowManagerImpl.findViewLocked() 8 reports of: NullPointerException - in Screen_SubMenu.onCreate() 8 reports of: NullPointerException - in Screen_CustomText.onCreate() 1 report of: WindowManager$BadTokenException - in ViewRoot.setView() I also have a few customers who've commented reporting the app either won't download, or won't install: Will not complete install. Locks up phone while trying to install for hours. Do not buy app will not open reboot my phone to get it to download. Overall though it's a very informative app. Would not download. Tried a different download; it worked, but this one won't. Now I have to fuss with trying to get a refund. Might want to check on this! Wouldn't be fair to rate bad based on this, so I won't. Any way to solve these problems? Thanks in advance!
 
Zoid66
Lost but trying
Profile
Posts: 176
Reg: Oct 26, 2010
USA
1,760
like
10/04/11 04:28 PM (14 years ago)
What version ob buzztouch ? 1.4 or 1.5...
 
piggilypoo
Aspiring developer
Profile
Posts: 172
Reg: Jun 28, 2011
San Diego
5,120
like
10/04/11 05:32 PM (14 years ago)
1.4 sorry
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
10/05/11 10:57 AM (14 years ago)
Havn't seen these before...not sure where to advise. It looks like each of them is coming from the onCreate() method - guessing here. Each Android activity (screen) runs an onCreate() method when the view is initialized. For example, tapping a menu item to launch a map would initialize the map view class and the onCreate() method in the map file .java (don't have the file name in front of me). This means that you'll need to somehow figure out what screen / activity is displayed when the nullPointerException is occurring. Lots of variables here. Maybe google the errors, one by one, and see what you come up with. I do know that lots of complicated things happen when the user rotates the device and the screen re-paints. Maybe have a look at the Android Activity Lifecylce to get an idea how it works?
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.