Issue 157: Java exception with Twiiter search
Status:  New
Owner: ----
Reported by binsp...@gmail.com, Sep 23, 2013
What is the expected output? What do you see instead?

-> Tweets should appear. No tweets are displayed (Error in Eclipse log)

What version of the product are you using? On what operating system?
-> Source file obtained from the link: https://github.com/mixare/mixare
-> Running on Samsung Tab 2 having Android 4.2.2 OS.

Please see the log below:
---
09-23 13:30:55.987: W/Mixare(2074): Error on url http://search.twitter.com/search.json?geocode=9.9795412%2C76.4704738%2C20.0km
09-23 13:30:55.987: W/Mixare(2074): java.lang.NullPointerException
09-23 13:30:55.987: W/Mixare(2074): 	at org.mixare.mgr.HttpTools.getHttpGETInputStream(HttpTools.java:158)
09-23 13:30:55.987: W/Mixare(2074): 	at org.mixare.mgr.HttpTools.getPageContent(HttpTools.java:69)
09-23 13:30:55.987: W/Mixare(2074): 	at org.mixare.mgr.downloader.DownloadMgrImpl.processRequest(DownloadMgrImpl.java:93)
09-23 13:30:55.987: W/Mixare(2074): 	at org.mixare.mgr.downloader.DownloadMgrImpl.run(DownloadMgrImpl.java:69)
09-23 13:30:55.987: W/Mixare(2074): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
09-23 13:30:55.987: W/Mixare(2074): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
09-23 13:30:55.987: W/Mixare(2074): 	at java.lang.Thread.run(Thread.java:856)
09-23 13:30:55.994: W/Mixare(2074): ERROR ON DOWNLOAD REQUEST
09-23 13:30:55.994: W/Mixare(2074): java.io.FileNotFoundException: http://search.twitter.com/search.json?geocode=9.9795412%2C76.4704738%2C20.0km
09-23 13:30:55.994: W/Mixare(2074): 	at libcore.net.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:177)
09-23 13:30:55.994: W/Mixare(2074): 	at org.mixare.mgr.HttpTools.getHttpGETInputStream(HttpTools.java:153)
09-23 13:30:55.994: W/Mixare(2074): 	at org.mixare.mgr.HttpTools.getPageContent(HttpTools.java:69)
09-23 13:30:55.994: W/Mixare(2074): 	at org.mixare.mgr.downloader.DownloadMgrImpl.processRequest(DownloadMgrImpl.java:93)
09-23 13:30:55.994: W/Mixare(2074): 	at org.mixare.mgr.downloader.DownloadMgrImpl.run(DownloadMgrImpl.java:69)
09-23 13:30:55.994: W/Mixare(2074): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
09-23 13:30:55.994: W/Mixare(2074): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
09-23 13:30:55.994: W/Mixare(2074): 	at java.lang.Thread.run(Thread.java:856)
09-23 13:30:56.010: I/Mixare(2074): Submitted  type: TWITTER, params: ?geocode=9.9795412%2C76.4704738%2C20.0km, url: http://search.twitter.com/search.json
---
Oct 19, 2013
#1 micheled...@gmail.com
Started a fix development for this problem.
Forked at https://github.com/micdic/mixare

The problem is related to the new Twitter Search API, based now on oAuth.
It requires some code implementation. I've successfully tested an integration
with Twitter4J client. Tweets are now retrievied correctly. 
Still coding some enhancements.
Hope this help.

Michele.