Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6169201
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T22:49:02+00:00 2026-05-23T22:49:02+00:00

I recently released my app on the marketplace. I tested it on two devices

  • 0

I recently released my app on the marketplace. I tested it on two devices and several emulalators, and it worked fine. However, I am now getting a few crash reports with the following error:

java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=32665, result=-1, data=Intent { (has extras) }} to activity {com.eden.statusphere/com.eden.statussphere.FacebookConnect}: java.lang.NullPointerException

I pass only one thing to FacebookConnect: a string… here is the code. (I am using easyandroidfacebooksdk)

private OnClickListener FacebookonListener = new OnClickListener() {
    public void onClick(View v) {
        try{

            ConnectivityManager cMgr = (ConnectivityManager) v.getContext().getSystemService(Context.CONNECTIVITY_SERVICE);         
            NetworkInfo netInfo = cMgr.getActiveNetworkInfo();
            String status = netInfo.getState().toString();

            if (status.equals("CONNECTED")) {
                intent.putExtra(".myMsg",statusHolder);
                startActivity(intent);
            } else {
                Toast.makeText(getApplicationContext(), "No connection available",
                Toast.LENGTH_SHORT).show(); 
            }

        }
        catch (Exception e) {
            Toast.makeText(getApplicationContext(), "Connection refused",
            Toast.LENGTH_SHORT).show(); 
        }
   }
};

The above is the onClickListener, statusHolder is a string which gets passed on to my FacebookConnect activity. This is the part in FacebookConnect where the error happens:

    public void loginSuccess(Facebook facebook) {

    GraphApi graphApi= new GraphApi(facebook);
    if(intent.getStringExtra(".myMsg")!="null"){

    try {

        graphApi.setStatus(intent.getStringExtra(".myMsg"));
        fbManager.displayToast("Status posted!");
        Intent myIntent = new Intent(this, mainActivity.class);
        startActivityForResult(myIntent, 0);

    } catch (EasyFacebookError e) {
        e.toString();
    }
    } else {
        fbManager.displayToast("Fatal error occured: Your device refuses to pass the information to Facebook.");
    }



}

The if-else statement I just added to check if maybe the intent is getting passed as null, but I get crash reports about the same issue regardless. I have been pulling my hair out about this for quite a while. Does anyone have a clue? One device it didn’t work on was the HTC Thunderbolt.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T22:49:03+00:00Added an answer on May 23, 2026 at 10:49 pm

    I completely forgot about this question, but I figured I should probably document it. Anyway, it turns out it was Facebooks fault at the time. The problem solved itself after a few days of my app being on the Facebook servers.

    Thought I should mention this:

    Throughout the ordeal however I did a ton of searching trying to figure this out, and curiously enough, this is the same issue caused if the API key is invalid (the one you generate with keytool). So if someone is having this issue, I would suggest to make sure that their keys are all correct. If the keys are correct, wait a few days before publishing your app on the Android Market or whatever.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Recently I have released my app into the US AppStore. Now I Planed for
I recently released my first app. Having only tested in SDK emulator and on
Recently, we had released an app. Before we releasing, we tested it on Samsung
i've recently released an app to the App store, i went to have a
I recently released a new version of my iPhone app that was built for
Recently, an app was released on the AppStore that secretly allowed wifi-tethering from your
Microsoft recently (12-29-2011) released an update to address several serious security vulnerabilities in the
The GitHub guys recently released their background processing app which uses Redis: http://github.com/defunkt/resque http://github.com/blog/542-introducing-resque
I've released an app, and I recently found out that its not working 100%
I have recently released an app on Google play see here When using Google

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.