mrleelee68 / android-thomson-key-solver

Automatically exported from code.google.com/p/android-thomson-key-solver
0 stars 0 forks source link

Application crashes #60

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I opened the app with only one router available.

This router, in previous versions, don't crash the app, but with the new one, 
the app miss.

I think that happen by the new option to set yellow the routers. Routers that 
in previous versions showns green, but don't retrieve the key.

This is the log:

org.exobel.routerkeygen Crash Report
APP_VERSION_NAME=3.5.0
ANDROID_VERSION=4.2.2
PHONE_MODEL=Nexus 7
CUSTOM_DATA=
STACK_TRACE=java.lang.RuntimeException: An error occured while executing 
doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:299)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352)
at java.util.concurrent.FutureTask.setException(FutureTask.java:219)
at java.util.concurrent.FutureTask.run(FutureTask.java:239)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:856)
Caused by: java.lang.StringIndexOutOfBoundsException: length=0; index=-4
at java.lang.String.indexAndLength(String.java:579)
at java.lang.String.substring(String.java:1438)
at org.exobel.routerkeygen.algorithms.HuaweiKeygen.<init>(HuaweiKeygen.java:41)
at org.exobel.routerkeygen.WirelessMatcher.getKeygen(WirelessMatcher.java:327)
at org.exobel.routerkeygen.WirelessMatcher.getKeygen(WirelessMatcher.java:62)
at 
org.exobel.routerkeygen.WifiScanReceiver$KeygenMatcherTask.doInBackground(WifiSc
anReceiver.java:100)
at 
org.exobel.routerkeygen.WifiScanReceiver$KeygenMatcherTask.doInBackground(WifiSc
anReceiver.java:1)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask.run(FutureTask.java:234)
... 4 more
java.lang.StringIndexOutOfBoundsException: length=0; index=-4
at java.lang.String.indexAndLength(String.java:579)
at java.lang.String.substring(String.java:1438)
at org.exobel.routerkeygen.algorithms.HuaweiKeygen.<init>(HuaweiKeygen.java:41)
at org.exobel.routerkeygen.WirelessMatcher.getKeygen(WirelessMatcher.java:327)
at org.exobel.routerkeygen.WirelessMatcher.getKeygen(WirelessMatcher.java:62)
at 
org.exobel.routerkeygen.WifiScanReceiver$KeygenMatcherTask.doInBackground(WifiSc
anReceiver.java:100)
at 
org.exobel.routerkeygen.WifiScanReceiver$KeygenMatcherTask.doInBackground(WifiSc
anReceiver.java:1)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask.run(FutureTask.java:234)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:856)

LOGCAT=04-04 16:42:22.820 D/OpenGLRenderer(15607): Enabling debug mode 0
04-04 16:42:23.220 I/Ads     (15607): Received ad url: <url: 
"http://googleads.g.doubleclick.net:80/mads/mediate?preqs=0&session_id=237381912
7017939447&seq_num=1&slotname=a334dbb66e1e47e3&u_w=600&msid=org.exobel.routerkey
gen&js=afma-sdk-a-v6.3.1&bas_off=0&net=wi&app_name=27.android.org.exobel.routerk
eygen&hl=en&smart_w=full&gnt=0&u_audio=3&u_sd=1.3312501&ms=Ov_sCuo2T_DPmo03v358x
dBfd5aFHOEWY_Wildri7FERlUDaHk3AG1gdD0PrIPqfto6aRPu7JxHVRxCUsVF9dapscq3npyu6e6mQm
tbCVuPLnhZJ0UCR8qW0QBy8NFo2l-GEeK0HVaqiean-CLLSgGbokQDcuI-k50T6JohYa2DCmbu63TF-y
1BtPKyaChAL2iYFezK-PN7kBQzYyfjw5yU3RfL4k8TsyquHMDrHgWDAeH-z6osHoiF5XzEMgg-sO1O6I
HJ-u2umGTMIz3HQgP7kVTY5OZ54zPdXEXRWqMAHswiGmQYmf0QO5YgSi5rxVlpoZggYbZjaeDPurYeeL
g&mv=8016014.com.android.vending&isu=6F9043DE733540942624910A75ED1998&format=600
x90_mb&oar=0&smart_h=auto&u_h=905&bas_on=0&ptime=0&u_so=p&cap=t&output=html&regi
on=mobile_app&u_tz=-360&client_sdk=1&ex=1&caps=inlineVideo_interactiveVideo_mrai
d1_th_mediation_sdkAdmobApiForAds_di&jsv=46" type: "gwhirl" afmaNotifyDt: 
"null" activationOverlayUrl: "null" useWebViewLoadUrl: "false">
04-04 16:42:23.230 I/Ads     (15607): Request scenario: Online server request.
04-04 16:42:23.250 D/dalvikvm(15607): GC_CONCURRENT freed 298K, 6% free 
7799K/8224K, paused 5ms+4ms, total 42ms
04-04 16:42:23.260 D/webviewglue(15607): nativeDestroy view: 0x593e3ba8
04-04 16:42:23.730 I/Ads     (15607): Caching gWhirl configuration for: 300 
seconds
04-04 16:42:23.730 D/webviewglue(15607): nativeDestroy view: 0x593e4110
04-04 16:42:23.730 W/Ads     (15607): Mediation server returned ad size: 
'320x50_mb', while the AdView was created with ad size: '600x90_mb'. Using the 
ad-size passed to the AdView on creation.
04-04 16:42:23.780 I/Ads     (15607): To get test ads on this device, call 
adRequest.addTestDevice("6F9043DE733540942624910A75ED1998");
04-04 16:42:23.790 I/Ads     (15607): adRequestUrlHtml: <html><head><script 
src="http://media.admob.com/sdk-core-v40.js"></script><script>AFMA_buildAdURL({"
preqs":1,"session_id":"2373819127017939447","seq_num":"2","slotname":"a1514ceb15
d1cb8","u_w":600,"msid":"org.exobel.routerkeygen","js":"afma-sdk-a-v6.3.1","bas_
off":0,"net":"wi","app_name":"27.android.org.exobel.routerkeygen","hl":"en","sma
rt_w":"full","gnt":0,"u_audio":3,"u_sd":1.3312501,"ms":"Bu-dlUxITQb127sQ3rPB9d8t
KWjkJY8SWgXNClJBnt_X6CPyjs8JeBDjgd_Kl5KI-XNfQNhXXefIdJ1TkmTdyiPiiD6l2up6lxbbpsJz
RnU1iZvh7L7-TNRD18Bv0JeP2doETUaaPr5x65_2fVowx19vYdg-A-a3cNuzXIQhXRZt8Y6PvOmXURt5
KcGuPDPs4wfEt9Dx1Vb-wujzDnBRQ3yelxCJoYSgfVSnz8_0ohUvFRHk0JLtqNTSHmNZ98fWRTnOfcUT
Koek3L7JpNahvp_4nuidSOhd1Rbu1ZnXfOsEaKgFUmbZgxoId3uUS1BujlguOqRZ4aVBbPHQmuuM6Q",
"mv":"8016014.com.android.vending","isu":"6F9043DE733540942624910A75ED1998","for
mat":"600x90_mb","oar":0,"smart_h":"auto","extras":{"_norefresh":"t","gw":1,"mad
_hac":"1"},"u_h":905,"pt":0,"bas_on":0,"ptime":1055});</script></head><body></bo
dy></html>
04-04 16:42:23.890 I/Ads     (15607): Received ad url: <url: 
"http://googleads.g.doubleclick.net:80/mads/gma?preqs=1&session_id=2373819127017
939447&seq_num=2&u_w=600&msid=org.exobel.routerkeygen&js=afma-sdk-a-v6.3.1&bas_o
ff=0&net=wi&app_name=27.android.org.exobel.routerkeygen&hl=en&smart_w=full&gnt=0
&u_audio=3&u_sd=1.3312501&ms=Bu-dlUxITQb127sQ3rPB9d8tKWjkJY8SWgXNClJBnt_X6CPyjs8
JeBDjgd_Kl5KI-XNfQNhXXefIdJ1TkmTdyiPiiD6l2up6lxbbpsJzRnU1iZvh7L7-TNRD18Bv0JeP2do
ETUaaPr5x65_2fVowx19vYdg-A-a3cNuzXIQhXRZt8Y6PvOmXURt5KcGuPDPs4wfEt9Dx1Vb-wujzDnB
RQ3yelxCJoYSgfVSnz8_0ohUvFRHk0JLtqNTSHmNZ98fWRTnOfcUTKoek3L7JpNahvp_4nuidSOhd1Rb
u1ZnXfOsEaKgFUmbZgxoId3uUS1BujlguOqRZ4aVBbPHQmuuM6Q&mv=8016014.com.android.vendi
ng&isu=6F9043DE733540942624910A75ED1998&format=600x90_mb&oar=0&smart_h=auto&u_h=
905&bas_on=0&ptime=1055&u_so=p&cap=t&output=html&region=mobile_app&u_tz=-360&cli
ent_sdk=1&ex=1&slotname=a1514ceb15d1cb8&askip=1&caps=inlineVideo_interactiveVide
o_mraid1_th_mediation_sdkAdmobApiForAds_di&_norefresh=t&gw=1&mad_hac=1&jsv=46" 
type: "admob" afmaNotifyDt: "null" activationOverlayUrl: "null" 
useWebViewLoadUrl: "false">
04-04 16:42:23.890 I/Ads     (15607): Request scenario: Online server request.
04-04 16:42:23.910 D/dalvikvm(15607): Trying to load lib 
/data/app-lib/org.exobel.routerkeygen-2/libthomson.so 0x41486238
04-04 16:42:23.910 D/dalvikvm(15607): Added shared lib 
/data/app-lib/org.exobel.routerkeygen-2/libthomson.so 0x41486238
04-04 16:42:23.910 D/dalvikvm(15607): No JNI_OnLoad found in 
/data/app-lib/org.exobel.routerkeygen-2/libthomson.so 0x41486238, skipping init
04-04 16:42:23.920 W/dalvikvm(15607): threadid=22: thread exiting with uncaught 
exception (group=0x40d46930)
04-04 16:42:23.920 W/GAV2    (15607): Thread[AsyncTask #2,5,main]: dispatch 
call queued.  Need to call GAServiceManager.getInstance().initialize().
04-04 16:42:23.920 E/ACRA    (15607): ACRA caught a RuntimeException exception 
for org.exobel.routerkeygen. Building report.
04-04 16:42:23.950 I/ACRA    (15607): READ_LOGS granted! ACRA can include 
LogCat and DropBox data.
04-04 16:42:24.010 D/dalvikvm(15607): GC_CONCURRENT freed 316K, 6% free 
7909K/8352K, paused 4ms+9ms, total 88ms
04-04 16:42:24.060 D/ACRA    (15607): Retrieving logcat output...
04-04 16:42:24.090 D/ACRA    (15607): Writing crash report file 
1365115344000.stacktrace.
04-04 16:42:24.120 D/dalvikvm(15607): GC_CONCURRENT freed 311K, 6% free 
8032K/8524K, paused 5ms+7ms, total 39ms
04-04 16:42:24.140 D/ACRA    (15607): About to start ReportSenderWorker from 
#handleException
04-04 16:42:24.140 D/ACRA    (15607): Mark all pending reports as approved.
04-04 16:42:24.140 D/ACRA    (15607): Looking for error files in 
/data/data/org.exobel.routerkeygen/files
04-04 16:42:24.140 D/ACRA    (15607): #checkAndSendReports - start
04-04 16:42:24.140 D/ACRA    (15607): Looking for error files in 
/data/data/org.exobel.routerkeygen/files
04-04 16:42:24.140 I/ACRA    (15607): Sending file 
1365115344000-approved.stacktrace
04-04 16:42:24.140 D/ACRA    (15607): Waiting for Toast + worker...
04-04 16:42:24.230 D/dalvikvm(15607): GC_FOR_ALLOC freed 293K, 8% free 
7994K/8660K, paused 52ms, total 52ms
04-04 16:42:24.320 D/dalvikvm(15607): GC_FOR_ALLOC freed 245K, 8% free 
7969K/8660K, paused 79ms, total 82ms
04-04 16:42:24.460 I/GAV2    (15607): Thread[GAThread,5,main]: No campaign data 
found.
04-04 16:42:24.470 D/ACRA    (15607): #checkAndSendReports - finish
04-04 16:42:24.790 D/webviewglue(15607): nativeDestroy view: 0x40cabce8
04-04 16:42:24.790 I/Ads     (15607): onReceiveAd()
04-04 16:42:27.220 D/ACRA    (15607): Wait for Toast + worker ended. Kill 
Application ? true
04-04 16:42:27.230 E/ACRA    (15607): org.exobel.routerkeygen fatal error : An 
error occured while executing doInBackground()
04-04 16:42:27.230 E/ACRA    (15607): java.lang.RuntimeException: An error 
occured while executing doInBackground()
04-04 16:42:27.230 E/ACRA    (15607): at 
android.os.AsyncTask$3.done(AsyncTask.java:299)
04-04 16:42:27.230 E/ACRA    (15607): at 
java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352)
04-04 16:42:27.230 E/ACRA    (15607): at 
java.util.concurrent.FutureTask.setException(FutureTask.java:219)
04-04 16:42:27.230 E/ACRA    (15607): at 
java.util.concurrent.FutureTask.run(FutureTask.java:239)
04-04 16:42:27.230 E/ACRA    (15607): at 
android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
04-04 16:42:27.230 E/ACRA    (15607): at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-04 16:42:27.230 E/ACRA    (15607): at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(Thread

Original issue reported on code.google.com by VScorpion.Black@gmail.com on 5 Apr 2013 at 1:19

GoogleCodeExporter commented 8 years ago
If you could post the netwrok name and MAC address that would be great.

Original comment by ruka.araujo on 11 Apr 2013 at 9:53

GoogleCodeExporter commented 8 years ago
Fixed in commit 0b11b73b1188

Original comment by ruka.araujo on 11 Apr 2013 at 10:44