Re: [android-developers] Re: Video Sharing to Facebook from Android App using "share" intent FAIL :( .

2012-04-05 Thread Chris Stratton
On Thursday, April 5, 2012 5:41:37 AM UTC-4, softy wrote:
>
> The exception is coming form inside the >>> 
> *com.facebook.katana.service.method.VideoUpload.getRealPathFromURI 
>
> that is a part of android.jar I guess.
> *


No, it's part of a facebook client application which is launched in 
response to your share Intent.  

It's failing either due to incorrect information in the intent (which you 
can do something about, but it still looks bad on their part that they 
don't validate the Intent and handle errors), or due to some sort of 
internal failure in the facebook client app or issue in communicating with 
facebook's server - again, something they should have trapped.

 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Video Sharing to Facebook from Android App using "share" intent FAIL :( .

2012-04-05 Thread s.rawat
I coulnt find the answer but created a post here for further follow up :

http://stackoverflow.com/questions/10029371/video-sharing-on-facebook-using-the-android-share-intent


Thanks @Mike above.

"..pain is temporary.quitting lasts forever."
 My Blog "



On Thu, Apr 5, 2012 at 4:59 PM, Jim Graham  wrote:

> On Thu, Apr 05, 2012 at 03:11:37PM +0530, s.rawat wrote:
> > The exception is coming form inside the >>>
> > *com.facebook.katana.service.method.VideoUpload.getRealPathFromURI
> >
> > that is a part of android.jar I guess.
>
> The null pointer exception, however, is not.  Use Log.d statements at the
> point where it appears to crash.  Put Log statements all over the place
> in that area.  If a variable is assigned somewhere near the crash, Log
> it.  If it's used, Log it.  Sooner or later, you'll find something like,
>
>   TAG:   Currently in [method], just set foo to 42;  foo = null
>
> (where TAG is whatever you set for TAG, e.g., initials, etc.).
>
> When you find that, you've either found the problem, or at the very
> least, you'll be very, very close
>
> Later,
>   --jim
>
> --
> THE SCORE:  ME:  2  CANCER:  0
> 73 DE N5IAL (/4)MiSTie #49997  < Running FreeBSD 7.0 >
> spooky1...@gmail.com ICBM/Hurricane: 30.44406N 86.59909W
>
>Do not look into waveguide with remaining eye!
>
> Android Apps Listing at http://www.jstrack.org/barcodes.html
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Video Sharing to Facebook from Android App using "share" intent FAIL :( .

2012-04-05 Thread Jim Graham
On Thu, Apr 05, 2012 at 03:11:37PM +0530, s.rawat wrote:
> The exception is coming form inside the >>>
> *com.facebook.katana.service.method.VideoUpload.getRealPathFromURI
> 
> that is a part of android.jar I guess.

The null pointer exception, however, is not.  Use Log.d statements at the
point where it appears to crash.  Put Log statements all over the place
in that area.  If a variable is assigned somewhere near the crash, Log
it.  If it's used, Log it.  Sooner or later, you'll find something like,

   TAG:   Currently in [method], just set foo to 42;  foo = null

(where TAG is whatever you set for TAG, e.g., initials, etc.).

When you find that, you've either found the problem, or at the very
least, you'll be very, very close

Later,
   --jim

-- 
THE SCORE:  ME:  2  CANCER:  0
73 DE N5IAL (/4)MiSTie #49997  < Running FreeBSD 7.0 >
spooky1...@gmail.com ICBM/Hurricane: 30.44406N 86.59909W

Do not look into waveguide with remaining eye!

Android Apps Listing at http://www.jstrack.org/barcodes.html

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Video Sharing to Facebook from Android App using "share" intent FAIL :( .

2012-04-05 Thread s.rawat
The exception is coming form inside the >>>
*com.facebook.katana.service.method.VideoUpload.getRealPathFromURI

that is a part of android.jar I guess.


*"..pain is temporary.quitting lasts forever."
 My Blog "



On Thu, Apr 5, 2012 at 12:39 PM, Ali Chousein wrote:

> Look at the following lines in your logcat. Your implementation throws
> NullPointerException. You have your source code, so only you can solve
> this problem, by debugging it and by finding what causes this
> NullPointerException. Your question contains the answer that you need
> actually.
>
> E/AndroidRuntime( 7160): java.lang.NullPointerException
> E/AndroidRuntime( 7160): at
>
> com.facebook.katana.service.method.VideoUpload.getRealPathFromURI(VideoUpload.java:
> 144)
>
> -
> Ali Chousein
> http://socialnav.blogspot.com | http://twitter.com/socialnav1
> http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy
> http://www.codeproject.com/KB/android/PayGol-Android.aspx
> http://geo-filtered-assistant.blogspot.com
>
>
> On Apr 4, 4:39 pm, "s.rawat"  wrote:
> > How short>?
> > I am using
> > *  android:name="android.permission.WRITE_EXTERNAL_STORAGE"
> > /> *
> > in the manifest
> > and
> >  
> > in the Intent Filter for the app/
> > Still getting the same crash.
> > "..pain is temporary.quitting lasts forever."
> >  My Blog "
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Video Sharing to Facebook from Android App using "share" intent FAIL :( .

2012-04-05 Thread Ali Chousein
Look at the following lines in your logcat. Your implementation throws
NullPointerException. You have your source code, so only you can solve
this problem, by debugging it and by finding what causes this
NullPointerException. Your question contains the answer that you need
actually.

E/AndroidRuntime( 7160): java.lang.NullPointerException
E/AndroidRuntime( 7160): at
com.facebook.katana.service.method.VideoUpload.getRealPathFromURI(VideoUpload.java:
144)

-
Ali Chousein
http://socialnav.blogspot.com | http://twitter.com/socialnav1
http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy
http://www.codeproject.com/KB/android/PayGol-Android.aspx
http://geo-filtered-assistant.blogspot.com


On Apr 4, 4:39 pm, "s.rawat"  wrote:
> How short>?
> I am using
> *  /> *
> in the manifest
> and
>  
> in the Intent Filter for the app/
> Still getting the same crash.
> "..pain is temporary.quitting lasts forever."
>  My Blog "

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en