yplo6403 / android-rcs-ims-stack

Automatically exported from code.google.com/p/android-rcs-ims-stack
0 stars 0 forks source link

Failed to get real path from URI with Android KitKat #257

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
steps will reproduce the problem:
1. A initiate a FT with B

Expected output:
A sends a SIP invitation to B

What we see instead:
FT invitation fails with NPE

03-27 08:56:03.161: V/[RCS][InitiateFileTransfer](7106): Selected 
file:content://com.android.providers.media.documents/document/image%3A58
03-27 08:56:03.291: E/[RCS][InitiateFileTransfer](7106): Exception occurred
03-27 08:56:03.291: W/System.err(7106): java.lang.NullPointerException
03-27 08:56:03.291: W/System.err(7106):     at 
java.io.File.fixSlashes(File.java:185)
03-27 08:56:03.291: W/System.err(7106):     at java.io.File.<init>(File.java:134)
03-27 08:56:03.291: W/System.err(7106):     at 
com.orangelabs.rcs.ri.messaging.InitiateFileTransfer.onActivityResult(InitiateFi
leTransfer.java:406)

Original issue reported on code.google.com by lemordan...@gmail.com on 27 Mar 2014 at 7:58

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r524.

Original comment by lemordan...@gmail.com on 27 Mar 2014 at 8:56