I want to integrate TWITTER api in my application

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

I want to integrate TWITTER api in my application

Postby maulik6758 » Thu Apr 14, 2011 2:48 pm

Hi, i m trying to include twitter api into my application. But i m getting and error after running the upload button...

04-14 19:18:14.094: ERROR/AndroidRuntime(336): FATAL EXCEPTION: main
04-14 19:18:14.094: ERROR/AndroidRuntime(336): java.lang.NullPointerException
04-14 19:18:14.094: ERROR/AndroidRuntime(336): at java.lang.String$CaseInsensitiveComparator.compare(String.java:88)
04-14 19:18:14.094: ERROR/AndroidRuntime(336): at java.lang.String$CaseInsensitiveComparator.compare(String.java:70)
04-14 19:18:14.094: ERROR/AndroidRuntime(336): at java.util.TreeMap.find(TreeMap.java:277)
04-14 19:18:14.094: ERROR/AndroidRuntime(336): at java.util.TreeMap.findByObject(TreeMap.java:351)
04-14 19:18:14.094: ERROR/AndroidRuntime(336): at java.util.TreeMap.get(TreeMap.java:177)
04-14 19:18:14.094: ERROR/AndroidRuntime(336): at java.util.Collections$UnmodifiableMap.get(Collections.java:1324)
04-14 19:18:14.094: ERROR/AndroidRuntime(336): at winterwell.jtwitter.URLConnectionHttpClient.processError(URLConnectionHttpClient.java:161)
04-14 19:18:14.094: ERROR/AndroidRuntime(336): at winterwell.jtwitter.URLConnectionHttpClient.post(URLConnectionHttpClient.java:317)
04-14 19:18:14.094: ERROR/AndroidRuntime(336): at winterwell.jtwitter.Twitter.updateStatus(Twitter.java:3220)
04-14 19:18:14.094: ERROR/AndroidRuntime(336): at winterwell.jtwitter.Twitter.updateStatus(Twitter.java:3161)
04-14 19:18:14.094: ERROR/AndroidRuntime(336): at winterwell.jtwitter.Twitter.setStatus(Twitter.java:2917)
04-14 19:18:14.094: ERROR/AndroidRuntime(336): at com.example.MyTwitter.onClick(MyTwitter.java:43)
04-14 19:18:14.094: ERROR/AndroidRuntime(336): at android.view.View.performClick(View.java:2485)
04-14 19:18:14.094: ERROR/AndroidRuntime(336): at android.view.View$PerformClick.run(View.java:9080)
04-14 19:18:14.094: ERROR/AndroidRuntime(336): at android.os.Handler.handleCallback(Handler.java:587)
04-14 19:18:14.094: ERROR/AndroidRuntime(336): at android.os.Handler.dispatchMessage(Handler.java:92)
04-14 19:18:14.094: ERROR/AndroidRuntime(336): at android.os.Looper.loop(Looper.java:123)
04-14 19:18:14.094: ERROR/AndroidRuntime(336): at android.app.ActivityThread.main(ActivityThread.java:3683)
04-14 19:18:14.094: ERROR/AndroidRuntime(336): at java.lang.reflect.Method.invokeNative(Native Method)
04-14 19:18:14.094: ERROR/AndroidRuntime(336): at java.lang.reflect.Method.invoke(Method.java:507)
04-14 19:18:14.094: ERROR/AndroidRuntime(336): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
04-14 19:18:14.094: ERROR/AndroidRuntime(336): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
04-14 19:18:14.094: ERROR/AndroidRuntime(336): at dalvik.system.NativeStart.main(Native Method)
maulik6758
Freshman
Freshman
 
Posts: 4
Joined: Wed Apr 13, 2011 7:55 pm

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 3 guests