Facebook SDK now returns error with "java.lang.NullPointerException"?

When my app requests to post via Facebook SDK, it was working yesterday but now it returns error with “java.lang.NullPointerException”

Here are the logs:

I/Corona (19859): facebookListener\_phase1 -\> event.name fbconnect I/Corona (19859): facebookListener\_phase1 -\> event.type: session I/Corona (19859): facebookListener\_phase1 -\> event.phase: login I/Corona (19859): facebookListener\_phase1 -\> isError: false I/Corona (19859): facebookListener\_phase1 -\> didComplete: nil I/Corona (19859): facebookListener\_phase1 -\> event.response: I/Corona (19859): facebookListener -\> event.name fbconnect I/Corona (19859): facebookListener -\> event.type: session I/Corona (19859): facebookListener -\> event.phase: login I/Corona (19859): facebookListener -\> isError: false I/Corona (19859): facebookListener -\> didComplete: nil I/Corona (19859): facebookListener -\> event.response: I/Corona (19859): succesfully logged in, access\_token = CAAMUKkUQhFYBAApVIr6Yf7zbMND8modF2g3ZBkxqjVyjgFQ14Ye6qeb0ZCrRdZAMERTYfuWpxTnf8ACjiOco9NTr15D0QcyGN6i1LtJNKkUqlbAMzpLvN3MY5kH92AusNYqruToyPItcfwPpWxh3m4Mpah8wJhTTPjjGMru2KlzXR28Xf4MI3mRH7OlN9hRxFL6sugLVgGMzk2ZB8gql I/Corona (19859): facebookListener -\> event.name fbconnect I/Corona (19859): facebookListener -\> event.type: request I/Corona (19859): facebookListener -\> event.phase: I/Corona (19859): facebookListener -\> isError: true I/Corona (19859): facebookListener -\> didComplete: false I/Corona (19859): facebookListener -\> event.response: java.lang.NullPointerException

No code change was made in my app.

Did Corona SDK make any changes in Facebook SDK?

I just tested with one of my apps that have been published in Google Play store and Facebook sharing was working fine, now the app is having the same problem as described above.

Could Corona help?

Have you changed Corona SDK builds?  What other things could be different than the last time you built this?  Also please post the entire java exception backtrace.

Rob

Corona build is the same.

It was working two days ago. Today without any code change, it’s not working.

No Java exception backtrace, only callback events as shown above.

Besides, as I said in the second post… I have a working app published in Google Play and I didn’t update it for a long time and I just found out it’s Facebook posting fails too with same callback events: 

I/Corona (19859): facebookListener -> event.response:     java.lang.NullPointerException

Then it sounds like Facebook broke something.  We can’t magically change things in your live apps.  I’ll report this to engineering but you may need to build with the latest SDK and pick up the latest plugin in case Facebook made another one of their breaking changes.

However be aware, we are in the middle of a major Apple created crisis right now that’s preventing people from submitting their apps.  Engineering time is incredibly limited right now.

Rob

It’s working now.

Even for the live app, Facebook posting was successful from my last testing.

It sounds like it was a transient issue with Facebook.

I just tested with one of my apps that have been published in Google Play store and Facebook sharing was working fine, now the app is having the same problem as described above.

Could Corona help?

Have you changed Corona SDK builds?  What other things could be different than the last time you built this?  Also please post the entire java exception backtrace.

Rob

Corona build is the same.

It was working two days ago. Today without any code change, it’s not working.

No Java exception backtrace, only callback events as shown above.

Besides, as I said in the second post… I have a working app published in Google Play and I didn’t update it for a long time and I just found out it’s Facebook posting fails too with same callback events: 

I/Corona (19859): facebookListener -> event.response:     java.lang.NullPointerException

Then it sounds like Facebook broke something.  We can’t magically change things in your live apps.  I’ll report this to engineering but you may need to build with the latest SDK and pick up the latest plugin in case Facebook made another one of their breaking changes.

However be aware, we are in the middle of a major Apple created crisis right now that’s preventing people from submitting their apps.  Engineering time is incredibly limited right now.

Rob

It’s working now.

Even for the live app, Facebook posting was successful from my last testing.

It sounds like it was a transient issue with Facebook.