chriscsc / comp-3111-group-210-basic-twitter

Automatically exported from code.google.com/p/comp-3111-group-210-basic-twitter
1 stars 0 forks source link

cannot start application without net connection #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Without any network connection and run the application.
Nothing show up.

Original issue reported on code.google.com by marchunsum on 12 Apr 2013 at 3:50

GoogleCodeExporter commented 9 years ago

Original comment by katar...@gmail.com on 13 Apr 2013 at 5:51

GoogleCodeExporter commented 9 years ago
2013-05-13 15:14:09,679 [main] TwitterControl ERROR 
TwitterClient.Controls.TwitterControl (TwitterControl.java:26) - api.twitter.com
2013-05-13 15:14:10,103 [main] cachedtwitter ERROR extensions.api.CachedTwitter 
(CachedTwitter.java:123) - Error: null
api.twitter.com
Relevant discussions can be found on the Internet at:
    http://www.google.co.jp/search?q=53498236 or
    http://www.google.co.jp/search?q=6115d6ac
TwitterException{exceptionCode=[53498236-6115d6ac c0ecfc1f-c1a4fa9a], 
statusCode=-1, message=null, code=-1, retryAfter=-1, rateLimitStatus=null, 
version=3.0.3}
    at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:192)
    at twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:61)
    at twitter4j.internal.http.HttpClientWrapper.get(HttpClientWrapper.java:89)
    at twitter4j.TwitterImpl.get(TwitterImpl.java:1817)
    at twitter4j.TwitterImpl.getAvailableTrends(TwitterImpl.java:1705)
    at hk.ust.cse.TwitterClient.Views.Home.TrendsView.initialize(TrendsView.java:90)
    at hk.ust.cse.TwitterClient.Views.Home.TrendsView.<init>(TrendsView.java:29)
    at hk.ust.cse.TwitterClient.Views.Home.HomePage.initialize(HomePage.java:127)
    at hk.ust.cse.TwitterClient.Views.Home.HomePage.<init>(HomePage.java:56)
    at hk.ust.cse.TwitterClient.Views.WholePage.gotoHomePage(WholePage.java:348)
    at hk.ust.cse.TwitterClient.Views.WholePage.gotoHomePage(WholePage.java:329)
    at hk.ust.cse.TwitterClient.Views.WholePage.<init>(WholePage.java:43)
    at hk.ust.cse.TwitterClient.TwitterClient.<init>(TwitterClient.java:90)
    at hk.ust.cse.TwitterClient.TwitterClient.main(TwitterClient.java:119)
Caused by: java.net.UnknownHostException: api.twitter.com
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
    at java.net.Socket.connect(Socket.java:579)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:378)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:473)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:203)
    at sun.net.www.http.HttpClient.New(HttpClient.java:290)
    at sun.net.www.http.HttpClient.New(HttpClient.java:306)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:995)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:931)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:849)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1299)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
    at twitter4j.internal.http.HttpResponseImpl.<init>(HttpResponseImpl.java:34)
    at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:156)
    ... 13 more
api.twitter.com
Relevant discussions can be found on the Internet at:
    http://www.google.co.jp/search?q=29b08ff4 or
    http://www.google.co.jp/search?q=60970323
TwitterException{exceptionCode=[29b08ff4-60970323 b767a621-b2495d03], 
statusCode=-1, message=null, code=-1, retryAfter=-1, rateLimitStatus=null, 
version=3.0.3}
    at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:192)
    at twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:61)
    at twitter4j.internal.http.HttpClientWrapper.get(HttpClientWrapper.java:89)
    at twitter4j.TwitterImpl.get(TwitterImpl.java:1817)
    at twitter4j.TwitterImpl.getPlaceTrends(TwitterImpl.java:1696)
    at hk.ust.cse.TwitterClient.Views.Home.TrendsView.initialize(TrendsView.java:98)
    at hk.ust.cse.TwitterClient.Views.Home.TrendsView.<init>(TrendsView.java:29)
    at hk.ust.cse.TwitterClient.Views.Home.HomePage.initialize(HomePage.java:127)
    at hk.ust.cse.TwitterClient.Views.Home.HomePage.<init>(HomePage.java:56)
    at hk.ust.cse.TwitterClient.Views.WholePage.gotoHomePage(WholePage.java:348)
    at hk.ust.cse.TwitterClient.Views.WholePage.gotoHomePage(WholePage.java:329)
    at hk.ust.cse.TwitterClient.Views.WholePage.<init>(WholePage.java:43)
    at hk.ust.cse.TwitterClient.TwitterClient.<init>(TwitterClient.java:90)
    at hk.ust.cse.TwitterClient.TwitterClient.main(TwitterClient.java:119)
Caused by: java.net.UnknownHostException: api.twitter.com
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
    at java.net.Socket.connect(Socket.java:579)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:378)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:473)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:203)
    at sun.net.www.http.HttpClient.New(HttpClient.java:290)
    at sun.net.www.http.HttpClient.New(HttpClient.java:306)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:995)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:931)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:849)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1299)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
    at twitter4j.internal.http.HttpResponseImpl.<init>(HttpResponseImpl.java:34)
    at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:156)
    ... 13 more
2013-05-13 15:14:10,385 [Twitter4J Async Dispatcher[0]] TwitterControl ERROR 
TwitterClient.Controls.TwitterControl$1 (TwitterControl.java:74) - 
api.twitter.com
Exception in thread "main" org.eclipse.swt.SWTException: Failed to execute 
runnable (java.lang.NullPointerException)
    at org.eclipse.swt.SWT.error(Unknown Source)
    at org.eclipse.swt.SWT.error(Unknown Source)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    at hk.ust.cse.TwitterClient.TwitterClient.<init>(TwitterClient.java:98)
    at hk.ust.cse.TwitterClient.TwitterClient.main(TwitterClient.java:119)
Caused by: java.lang.NullPointerException
    at hk.ust.cse.TwitterClient.notifier.NotifierDialog$1.run(NotifierDialog.java:168)
    at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
    ... 5 more

Original comment by marchunsum on 13 May 2013 at 7:15