Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Exception in thread "main"
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
yomna shabaiek  
View profile  
 More options May 27 2011, 7:34 am
From: yomna shabaiek <eng.yomnaah...@gmail.com>
Date: Fri, 27 May 2011 04:34:09 -0700 (PDT)
Local: Fri, May 27 2011 7:34 am
Subject: Exception in thread "main"
Hi all,
i am trying to send tweets through my application and i use twitter4j
library and OAuth but when i run it in my
laptop i got the below exception but i sent the application to my
friend it runs normally so what is the reason for that ?
thanks,
Yomna

Exception in thread "main" 401:Authentication credentials (http://
dev.twitter.com/pages/auth) were missing or incorrect. Ensure that you
have set valid conumer key/secret, access token/secret, and the system
clock in in sync.
Failed to validate oauth signature and token
Relevant discussions can be on the Internet at:
        http://www.google.co.jp/search?q=0eeacd7f or
        http://www.google.co.jp/search?q=d19ce51d
TwitterException{exceptionCode=[0eeacd7f-d19ce51d], statusCode=401,
retryAfter=0, rateLimitStatus=null, version=2.2.2}
        at
twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:
189)
        at
twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:
65)
        at
twitter4j.internal.http.HttpClientWrapper.post(HttpClientWrapper.java:
102)
        at
twitter4j.auth.OAuthAuthorization.getOAuthRequestToken(OAuthAuthorization.j ava:
108)
        at
twitter4j.TwitterBaseImpl.getOAuthRequestToken(TwitterBaseImpl.java:
271)
        at
twitter4j.TwitterBaseImpl.getOAuthRequestToken(TwitterBaseImpl.java:
264)
        at
sarmadyassignment.TwitterAssignment.main(TwitterAssignment.java:40)

=========


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "回复:Exception in thread "main"" by huai zhi huang
huai zhi huang  
View profile  
 More options Aug 11 2011, 5:10 am
From: huai zhi huang <hzhhua...@gmail.com>
Date: Thu, 11 Aug 2011 02:10:15 -0700 (PDT)
Local: Thurs, Aug 11 2011 5:10 am
Subject: 回复:Exception in thread "main"

Hi all
     I got the same problems,when I execute the code :
                        twitter = new TwitterFactory().getInstance();
requestToken = twitter.getOAuthRequestToken();
    I got the error:
  connect timed outRelevant discussions can be on the Internet at:
http://www.google.co.jp/search?q=0eeacd7f or
http://www.google.co.jp/search?q=d19ce52c
  TwitterException{exceptionCode=[0eeacd7f-d19ce52c 0eeacd7f-d19ce502],
statusCode=-1, retryAfter=0, rateLimitStatus=null, version=2.2.1}
at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:204)
at
twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:65 )
at
twitter4j.internal.http.HttpClientWrapper.post(HttpClientWrapper.java:102)
at
twitter4j.auth.OAuthAuthorization.getOAuthRequestToken(OAuthAuthorization.j ava:108)
at twitter4j.TwitterBaseImpl.getOAuthRequestToken(TwitterBaseImpl.java:271)
at twitter4j.TwitterBaseImpl.getOAuthRequestToken(TwitterBaseImpl.java:264)
at net.hydom.common.TwitterFilter.loginPage(TwitterFilter.java:108)
at net.hydom.common.TwitterFilter.doFilter(TwitterFilter.java:70)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio nFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC hain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j ava:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j ava:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:12 8)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:10 2)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav a:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Htt p11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown
Source)
at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:162)
... 19 more

any idea?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »