olupotd / asmack

Automatically exported from code.google.com/p/asmack
Other
0 stars 0 forks source link

File transfer is not work properly #80

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I had created a chat application in android using asmack API and i use openfire 
as server. I tried to send a file sometimes it sent successfully but sometimes 
it is not sent. it gives error like:

-------------------------------------------------
 04-16 08:10:28.863: W/System.err(2093): Error in execution: 
04-16 08:10:28.863: W/System.err(2093):   -- caused by:  
java.util.concurrent.ExecutionException: 
04-16 08:10:28.863: W/System.err(2093):   -- caused by: No response from remote 
 client: 
04-16 08:10:28.868: W/System.err(2093):     at   
org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.negotiateStream(Incomi
ngFileTransfer.java:199)
04-16 08:10:28.868: W/System.err(2093):     at 
org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.access$100(IncomingFil
eTransfer.java:47)
04-16 08:10:28.868: W/System.err(2093):     at 
org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$1.run(IncomingFileTran
sfer.java:124)
04-16 08:10:28.878: W/System.err(2093):     at 
java.lang.Thread.run(Thread.java:856)
04-16 08:10:28.878: W/System.err(2093): Nested Exception: 
04-16 08:10:28.878: W/System.err(2093): 
java.util.concurrent.ExecutionException: 
04-16 08:10:28.878: W/System.err(2093):   -- caused by: No response from remote 
client: 
04-16 08:10:28.878: W/System.err(2093):     at 
java.util.concurrent.FutureTask.report(FutureTask.java:94)
04-16 08:10:28.878: W/System.err(2093):     at 
java.util.concurrent.FutureTask.get(FutureTask.java:174)
04-16 08:10:28.889: W/System.err(2093):     at 
org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.negotiateStream(Incomi
ngFileTransfer.java:193)
04-16 08:10:28.889: W/System.err(2093):     at 
org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.access$100(IncomingFil
eTransfer.java:47)
04-16 08:10:28.889: W/System.err(2093):     at 
org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$1.run(IncomingFileTran
sfer.java:124)

 04-16 08:10:28.889: W/System.err(2093):    at java.lang.Thread.run(Thread.java:856)
 04-16 08:10:28.889: W/System.err(2093): Caused by: 
  04-16 08:10:28.889: W/System.err(2093):   -- caused by: No response from remote client: 
04-16 08:10:28.899: W/System.err(2093):     at 
org.jivesoftware.smackx.filetransfer.FaultTolerantNegotiator.createIncomingStrea
m(FaultTolerantNegotiator.java:113)
04-16 08:10:28.899: W/System.err(2093):     at 
org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$2.call(IncomingFileTra
nsfer.java:186)
04-16 08:10:28.899: W/System.err(2093):     at 
org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$2.call(IncomingFileTra
nsfer.java:183)
04-16 08:10:28.910: W/System.err(2093):     at 
java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-16 08:10:28.910: W/System.err(2093):     at 
org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.negotiateStream(Incomi
ngFileTransfer.java:190)
04-16 08:10:28.910: W/System.err(2093):     ... 3 more
----------------------------------------------------------------------

Original issue reported on code.google.com by bhaveshj...@gmail.com on 16 Apr 2013 at 9:30