upanya / android-marketplace-crawler

Automatically exported from code.google.com/p/android-marketplace-crawler
0 stars 0 forks source link

loading permissions #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,
I tried to launch the crawler but I have some problems with loading permissions.

What steps will reproduce the problem?
1. server working properly
2. trying to launch the crawler
3.

What is the expected output? What do you see instead?
apps
I see errors

What version of the product are you using? On what operating system?
windows vista

Please provide any additional information below.

this is what I get :

C:\android-marketplace-crawler\crawler\dist\lib>java -jar crawler.jar -c
oct. 24, 2011 9:37:36 PM com.marketplace.Utils$Permission <init>
Infos: Loading permissions
Exception in thread "main" java.lang.ExceptionInInitializerError
        at com.marketplace.util.Device.<init>(Unknown Source)
        at com.marketplace.util.DeviceInventory.<clinit>(Unknown Source)
        at com.marketplace.io.SessionManager.initSessions(Unknown Source)
        at com.marketplace.io.SessionManager.<init>(Unknown Source)
        at com.marketplace.Main.<init>(Unknown Source)
        at com.marketplace.Main.main(Unknown Source)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
        at com.marketplace.Utils$Permission.<init>(Unknown Source)
        at com.marketplace.Utils.<clinit>(Unknown Source)
        ... 6 more

Thanks for help

Original issue reported on code.google.com by fadwa.fa...@gmail.com on 24 Oct 2011 at 7:47

GoogleCodeExporter commented 8 years ago
there was some empty lines at the end of the list in the permission file that I 
removed

issue closed.

Original comment by fadwa.fa...@gmail.com on 25 Oct 2011 at 3:11

GoogleCodeExporter commented 8 years ago
Thanks for the post.  I had exactly the same issue.  It would've take me a lot 
longer to figure out without this post.

Original comment by bowei....@gmail.com on 3 Apr 2012 at 11:17

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I had the same error that OP had, removed the two blank lines, and am now 
getting a CAPTCHA error! Help please?

Original comment by ryan.cao...@gmail.com on 10 Jun 2012 at 8:50

GoogleCodeExporter commented 8 years ago
I had the same issue and could have spent hours without this post. Thanks.

Original comment by Mohsinj...@gmail.com on 12 Dec 2012 at 4:51