| View previous topic :: View next topic |
| Author |
Message |
GhorX Junior Member

Joined: 13 Dec 2011 Posts: 5
|
Posted: Tue Jun 05, 2012 5:00 am Post subject: [BUG][CRASH]Browsing on external card on SGS3 - reason found |
|
|
Card is 16GB with no problem detected, taken from rooted SG Note, may be some with rights? I will try root tomorow.
EDIT: Crashes when attempting application list from home panel or internal extensions.
EDIT2: Not only on SD
EDIT3: ANY item, which length is over maximum lenght of one line (32 chars in default), crashes app... I beg for fast correction, TC is very importannt for me. |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24602 Location: Switzerland
|
Posted: Thu Jun 07, 2012 4:12 am Post subject: |
|
|
It has nothing to do with external sd cards or long names - I'm getting a lot of crash reports from users with the Samsung Galaxy S III, and with only this model. The problem is that the crashes do not occur in my own code, but when the screen is redrawn! The Galaxy S III seems to be missing an icon within the listview. Here is a typical stack trace:
| Code: | java.lang.NullPointerException
at android.widget.ImageView.onDraw(ImageView.java:912)
at android.view.View.draw(View.java:11167)
at android.view.ViewGroup.drawChild(ViewGroup.java:2887)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
at android.view.ViewGroup.drawChild(ViewGroup.java:2885)
at android.widget.ListView.drawChild(ListView.java:3244)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
at android.widget.AbsListView.dispatchDraw(AbsListView.java:2482)
at android.widget.ListView.dispatchDraw(ListView.java:3239)
at android.view.View.draw(View.java:11170)
at android.widget.AbsListView.draw(AbsListView.java:4099)
at android.view.ViewGroup.drawChild(ViewGroup.java:2887)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
at android.view.ViewGroup.drawChild(ViewGroup.java:2885)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
at android.view.ViewGroup.drawChild(ViewGroup.java:2885)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
at android.view.View.draw(View.java:11170)
at android.widget.FrameLayout.draw(FrameLayout.java:450)
at android.widget.HorizontalScrollView.draw(HorizontalScrollView.java:1759)
at android.view.ViewGroup.drawChild(ViewGroup.java:2887)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
at android.view.ViewGroup.drawChild(ViewGroup.java:2885)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
at android.view.ViewGroup.drawChild(ViewGroup.java:2885)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
at android.view.ViewGroup.drawChild(ViewGroup.java:2885)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2489)
at android.view.View.draw(View.java:11170)
at android.widget.FrameLayout.draw(FrameLayout.java:450)
at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:2298)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:2260)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1866)
at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2678)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4514)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:993)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:760)
at dalvik.system.NativeStart.main(Native Method) |
As you can see, there is no trace of "TotalCommander" or "ghisler" in the crash report. It happens in ImageView.onDraw(), where there is a null pointer exception, probably a missing image or so.
For the moment, I have removed the Samsung Galaxy S III from the list of compatible devices in the Google Play Store. I will re-add it when I find the reason for these strange crashes. _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
GhorX Junior Member

Joined: 13 Dec 2011 Posts: 5
|
Posted: Thu Jun 07, 2012 6:36 am Post subject: |
|
|
| Thank you for response, I will wait. Only one note, I'm absolutelly sure with 32 chars limit, its can be verified very easy with lan plugin, on PC do rename, on mobile TC do refresh... No matter, if you wont help with testing, you may count on me, i'm programmer (delphi). |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24602 Location: Switzerland
|
Posted: Fri Jun 08, 2012 5:44 am Post subject: |
|
|
TC 1.02 is out now! There should be no more crashes, but unfortunately there may not be any icons when the crash would occur. I'm still trying to find out what's wrong with the Galaxy S III... _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
GhorX Junior Member

Joined: 13 Dec 2011 Posts: 5
|
Posted: Fri Jun 08, 2012 10:14 am Post subject: |
|
|
| Works, thank you very much. BTW - Similar problem in my application under Windows 7 was caused by shell, which requested bigger icon for bigger "line" (TListItem, you probably know it). It happens after MS update. |
|
| Back to top |
|
 |
|