Closed antoniomerlin closed 10 years ago
Do you have any more of the crash log? That is not enough to determine the problem.
03-03 04:01:23.047: E/ACRA(896): java.lang.RuntimeException: An error occured while executing doInBackground()
@antoniomerlin
That still isn't enough information. Please can you post the whole error. You should be able to email it to yourself when it crashes and then copy and paste it here.
actually its unable to send main its jst forwarding that message with only this keyword
@antoniomerlin Odd. Are you able to get a logcat some other way? On a computer or using an app like https://play.google.com/store/apps/details?id=com.nolanlawson.logcat
where i can forward that error report mail
APP_VERSION_CODE=29 APP_VERSION_NAME=1.2.9 ANDROID_VERSION=4.4.2 PHONE_MODEL=sdk CUSTOM_DATA= STACK_TRACE=java.lang.RuntimeException: An error occured while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:300) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355) at java.util.concurrent.FutureTask.setException(FutureTask.java:222) at java.util.concurrent.FutureTask.run(FutureTask.java:242) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:841) Caused by: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255) at java.util.ArrayList.get(ArrayList.java:308) at com.librelio.adapter.MagazineAdapter$1.doInBackground(MagazineAdapter.java:110) at com.librelio.adapter.MagazineAdapter$1.doInBackground(MagazineAdapter.java:1) at android.os.AsyncTask$2.call(AsyncTask.java:288) at java.util.concurrent.FutureTask.run(FutureTask.java:237) ... 3 more java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255) at java.util.ArrayList.get(ArrayList.java:308) at com.librelio.adapter.MagazineAdapter$1.doInBackground(MagazineAdapter.java:110) at com.librelio.adapter.MagazineAdapter$1.doInBackground(MagazineAdapter.java:1) at android.os.AsyncTask$2.call(AsyncTask.java:288) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:841)
LOGCAT=03-04 13:24:51.612 V/PListXMLHandler#characters( 1597): 03-04 13:24:51.612 V/PListXMLHandler#characters( 1597): ind_356/wind356.pdf�oineAlbeau.pdf|0|1| 03-04 13:24:51.612 V/PListXMLHandler#characters( 1597): nd_356/wind356.pdf�oineAlbeau.pdf|0|2| 03-04 13:24:51.612 V/PListXMLHandler#startElement( 1597): Start Element lname|uri|attr.length :key||0 03-04 13:24:51.612 V/PListXMLHandler#characters( 1597): Subtitle/wind356.pdf�oineAlbeau.pdf|0|8| 03-04 13:24:51.612 V/PListXMLHandler#endElement( 1597): localName|qName|uri|tempVal: key|key||Subtitle 03-04 13:24:51.612 V/PListXMLHandler#characters( 1597): 03-04 13:24:51.612 V/PListXMLHandler#characters( 1597): ubtitle/wind356.pdf�oineAlbeau.pdf|0|1| 03-04 13:24:51.612 V/PListXMLHandler#characters( 1597): btitle/wind356.pdf�oineAlbeau.pdf|0|2| 03-04 13:24:51.612 V/PListXMLHandler#startElement( 1597): Start Element lname|uri|attr.length :string||0 03-04 13:24:51.612 V/PListXMLHandler#characters( 1597): Mai 2011/wind356.pdf�oineAlbeau.pdf|0|8| 03-04 13:24:51.612 V/PListXMLHandler#endElement( 1597): localName|qName|uri|tempVal: string|string||Mai 2011 03-04 13:24:51.612 V/PList#attachPListObjToDictParent( 1597): key|obj-type|obj: Subtitle|STRING|com.longevitysoft.android.xml.plist.domain.String@b4b4ba18| 03-04 13:24:51.612 V/PListXMLHandler#characters( 1597): 03-04 13:24:51.612 V/PListXMLHandler#characters( 1597): ai 2011/wind356.pdf�oineAlbeau.pdf|0|1| 03-04 13:24:51.612 V/PListXMLHandler#characters( 1597): i 2011/wind356.pdf�oineAlbeau.pdf|0|2| 03-04 13:24:51.612 V/PListXMLHandler#startElement( 1597): Start Element lname|uri|attr.length :key||0 03-04 13:24:51.612 V/PListXMLHandler#characters( 1597): Title011/wind356.pdf�oineAlbeau.pdf|0|5| 03-04 13:24:51.612 V/PListXMLHandler#endElement( 1597): localName|qName|uri|tempVal: key|key||Title 03-04 13:24:51.612 V/PListXMLHandler#characters( 1597): 03-04 13:24:51.612 V/PListXMLHandler#characters( 1597): itle011/wind356.pdf�oineAlbeau.pdf|0|1| 03-04 13:24:51.612 V/PListXMLHandler#characters( 1597): tle011/wind356.pdf�oineAlbeau.pdf|0|2| 03-04 13:24:51.612 V/PListXMLHandler#startElement( 1597): Start Element lname|uri|attr.length :string||0 03-04 13:24:51.612 V/PListXMLHandler#characters( 1597): Wind 356/wind356.pdf�oineAlbeau.pdf|0|8| 03-04 13:24:51.612 V/PListXMLHandler#endElement( 1597): localName|qName|uri|tempVal: string|string||Wind 356 03-04 13:24:51.612 V/PList#attachPListObjToDictParent( 1597): key|obj-type|obj: Title|STRING|com.longevitysoft.android.xml.plist.domain.String@b41525a0| 03-04 13:24:51.612 V/PListXMLHandler#characters( 1597): 03-04 13:24:51.612 V/PListXMLHandler#characters( 1597): ind 356/wind356.pdf�oineAlbeau.pdf|0|1| 03-04 13:24:51.612 V/PListXMLHandler#characters( 1597): ind 356/wind356.pdf�oineAlbeau.pdf|0|1| 03-04 13:24:51.612 V/PListXMLHandler#endElement( 1597): localName|qName|uri|tempVal: dict|dict|| 03-04 13:24:51.612 V/PListXMLHandler#endElement( 1597): 03-04 13:24:51.612 V/PListXMLHandler#characters( 1597): 03-04 13:24:51.612 V/PListXMLHandler#characters( 1597): ind 356/wind356.pdf�oineAlbeau.pdf|0|1| 03-04 13:24:51.612 V/PListXMLHandler#characters( 1597): ind 356/wind356.pdf�oineAlbeau.pdf|0|1| 03-04 13:24:51.612 V/PListXMLHandler#startElement( 1597): Start Element lname|uri|attr.length :dict||0 03-04 13:24:51.612 V/PList#attachPListObjToArrayParent( 1597): obj-type|obj: |DICT|| 03-04 13:24:51.622 V/PListXMLHandler#characters( 1597): 03-04 13:24:51.622 V/PListXMLHandler#characters( 1597): ind 356/wind356.pdf�oineAlbeau.pdf|0|1| 03-04 13:24:51.622 V/PListXMLHandler#characters( 1597): nd 356/wind356.pdf�oineAlbeau.pdf|0|2| 03-04 13:24:51.622 V/PListXMLHandler#startElement( 1597): Start Element lname|uri|attr.length :key||0 03-04 13:24:51.622 V/PListXMLHandler#characters( 1597): FileName/wind356.pdf�oineAlbeau.pdf|0|8| 03-04 13:24:51.622 V/PListXMLHandler#endElement( 1597): localName|qName|uri|tempVal: key|key||FileName 03-04 13:24:51.622 V/PListXMLHandler#characters( 1597): 03-04 13:24:51.622 V/PListXMLHandler#characters( 1597): ileName/wind356.pdf�oineAlbeau.pdf|0|1| 03-04 13:24:51.622 V/PListXMLHandler#characters( 1597): leName/wind356.pdf�oineAlbeau.pdf|0|2| 03-04 13:24:51.622 V/PListXMLHandler#startElement( 1597): Start Element lname|uri|attr.length :string||0 03-04 13:24:51.622 V/PListXMLHandler#characters( 1597): wind_355/wind_355.pdff�oineAlbeau.pdf|0|21| 03-04 13:24:51.622 V/PListXMLHandler#endElement( 1597): localName|qName|uri|tempVal: string|string||wind_355/wind_355.pdf 03-04 13:24:51.622 V/PList#attachPListObjToDictParent( 1597): key|obj-type|obj: FileName|STRING|com.longevitysoft.android.xml.plist.domain.String@b40ffac8| 03-04 13:24:51.622 V/PListXMLHandler#characters( 1597): 03-04 13:24:51.622 V/PListXMLHandler#characters( 1597): ind_355/wind_355.pdff�oineAlbeau.pdf|0|1| 03-04 13:24:51.622 V/PListXMLHandler#characters( 1597): nd_355/wind_355.pdff�oineAlbeau.pdf|0|2| 03-04 13:24:51.622 V/PListXMLHandler#startElement( 1597): Start Element lname|uri|attr.length :key||0 03-04 13:24:51.622 V/PListXMLHandler#characters( 1597): Subtitle/wind_355.pdff�oineAlbeau.pdf|0|8| 03-04 13:24:51.622 V/PListXMLHandler#endElement( 1597): localName|qName|uri|tempVal: key|key||Subtitle 03-04 13:24:51.622 V/PListXMLHandler#characters( 1597): 03-04 13:24:51.622 V/PListXMLHandler#characters( 1597): ubtitle/wind_355.pdff�oineAlbeau.pdf|0|1| 03-04 13:24:51.622 V/PListXMLHandler#characters( 1597): btitle/wind_355.pdff�oineAlbeau.pdf|0|2| 03-04 13:24:51.622 V/PListXMLHandler#startElement( 1597): Start Element lname|uri|attr.length :string||0 03-04 13:24:51.622 V/PListXMLHandler#characters( 1597): Avril 2011ind_355.pdff�oineAlbeau.pdf|0|10| 03-04 13:24:51.622 V/PListXMLHandler#endElement( 1597): localName|qName|uri|tempVal: string|string||Avril 2011 03-04 13:24:51.622 V/PList#attachPListObjToDictParent( 1597): key|obj-type|obj: Subtitle|STRING|com.longevitysoft.android.xml.plist.domain.String@b3d7be00| 03-04 13:24:51.622 V/PListXMLHandler#characters( 1597): 03-04 13:24:51.622 V/PListXMLHandler#characters( 1597): vril 2011ind_355.pdff�oineAlbeau.pdf|0|1| 03-04 13:24:51.622 V/PListXMLHandler#characters( 1597): ril 2011ind_355.pdff�oineAlbeau.pdf|0|2| 03-04 13:24:51.622 V/PListXMLHandler#startElement( 1597): Start Element lname|uri|attr.length :key||0 03-04 13:24:51.622 V/PListXMLHandler#characters( 1597): Title 2011ind_355.pdff�oineAlbeau.pdf|0|5| 03-04 13:24:51.622 V/PListXMLHandler#endElement( 1597): localName|qName|uri|tempVal: key|key||Title 03-04 13:24:51.622 V/PListXMLHandler#characters( 1597): 03-04 13:24:51.622 V/PListXMLHandler#characters( 1597): itle 2011ind_355.pdff�oineAlbeau.pdf|0|1| 03-04 13:24:51.622 V/PListXMLHandler#characters( 1597): tle 2011ind_355.pdff�oineAlbeau.pdf|0|2| 03-04 13:24:51.622 V/PListXMLHandler#startElement( 1597): Start Element lname|uri|attr.length :string||0 03-04 13:24:51.622 V/PListXMLHandler#characters( 1597): Wind 35511ind_355.pdff�oineAlbeau.pdf|0|8| 03-04 13:24:51.622 V/PListXMLHandler#endElement( 1597): localName|qName|uri|tempVal: string|string||Wind 355 03-04 13:24:51.632 V/PList#attachPListObjToDictParent( 1597): key|obj-type|obj: Title|STRING|com.longevitysoft.android.xml.plist.domain.String@b3dcb4c0| 03-04 13:24:51.632 V/PListXMLHandler#characters( 1597): 03-04 13:24:51.632 V/PListXMLHandler#characters( 1597): ind 35511ind_355.pdff�oineAlbeau.pdf|0|1| 03-04 13:24:51.632 V/PListXMLHandler#characters( 1597): ind 35511ind_355.pdff�oineAlbeau.pdf|0|1| 03-04 13:24:51.632 V/PListXMLHandler#endElement( 1597): localName|qName|uri|tempVal: dict|dict|| 03-04 13:24:51.632 V/PListXMLHandler#endElement( 1597): 03-04 13:24:51.632 V/PListXMLHandler#characters( 1597): 03-04 13:24:51.632 V/PListXMLHandler#characters( 1597): ind 35511ind_355.pdff�oineAlbeau.pdf|0|1| 03-04 13:24:51.632 V/PListXMLHandler#endElement( 1597): localName|qName|uri|tempVal: array|array|| 03-04 13:24:51.632 V/PListXMLHandler#characters( 1597): 03-04 13:24:51.632 V/PListXMLHandler#characters( 1597): ind 35511ind_355.pdff�oineAlbeau.pdf|0|1| 03-04 13:24:51.632 V/PListXMLHandler#endElement( 1597): localName|qName|uri|tempVal: plist|plist|| 03-04 13:24:51.632 V/BaseXMLParser#parse( 1597): done parsing xml 03-04 13:24:54.592 W/dalvikvm( 1597): threadid=11: thread exiting with uncaught exception (group=0xb3a5cba8) 03-04 13:24:54.602 E/ACRA ( 1597): ACRA caught a RuntimeException exception for com.niveales.wind. Building report. 03-04 13:24:54.612 D/ACRA ( 1597): Using custom Report Fields 03-04 13:24:54.652 W/dalvikvm( 1597): threadid=27: thread exiting with uncaught exception (group=0xb3a5cba8) 03-04 13:24:54.652 E/ACRA ( 1597): ACRA caught a RuntimeException exception for com.niveales.wind. Building report. 03-04 13:24:54.652 D/ACRA ( 1597): Using custom Report Fields 03-04 13:24:54.742 I/ACRA ( 1597): READ_LOGS granted! ACRA can include LogCat and DropBox data. 03-04 13:24:54.952 I/ACRA ( 1597): READ_LOGS granted! ACRA can include LogCat and DropBox data. 03-04 13:24:54.972 D/ACRA ( 1597): Retrieving logcat output... 03-04 13:24:55.152 D/ ( 1597): HostConnection::get() New Host Connection established 0xb84e6ed0, tid 1916 03-04 13:24:55.642 D/ACRA ( 1597): Retrieving logcat output... 03-04 13:24:56.222 D/dalvikvm( 1597): GC_FOR_ALLOC freed 2152K, 22% free 14021K/17960K, paused 68ms, total 72ms 03-04 13:24:58.702 D/ ( 1597): HostConnection::get() New Host Connection established 0xb85041a8, tid 1918
thats the error log
Your problem is at this line: return SystemHelper.decodeSampledBitmapFromFile(magazines.get(position).getPngPath()...
magazines has no magazines in it for some reason.
Have you changed Magazines.plist or are you just try to run the app straight after cloning from github?
yup i had changed that and after that this occurred
Can you post your Magazines.plist or, if you need to keep it private, email it to me at the addess on my github profile?
@antoniomerlin I'm closing this issue assuming you no longer have the problem.
Please reopen if you can send more details.
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java)