[jitsi-dev] Error receiving file


#1

Hi

When receiving a file via google talk protocal the file transfer stops, telling me it was cancelled, the originator (also jitsi) gets a message saying there was an error
The log shows some java exceptions
13:15:46.435 SEVERE: impl.protocol.jabber.OperationSetFileTransferJabberImpl.run().622 An exception occured while transfering file:
Error in execution:
   -- caused by: java.util.concurrent.ExecutionException: No response from file transfer initiator:
     at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.negotiateStream(IncomingFileTransfer.java:199)
     at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.access$100(IncomingFileTransfer.java:47)
     at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$1.run(IncomingFileTransfer.java:124)
     at java.lang.Thread.run(Unknown Source)
Nested Exception:
java.util.concurrent.ExecutionException: No response from file transfer initiator:
     at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
     at java.util.concurrent.FutureTask.get(Unknown Source)
     at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.negotiateStream(IncomingFileTransfer.java:193)
     at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.access$100(IncomingFileTransfer.java:47)
     at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$1.run(IncomingFileTransfer.java:124)
     at java.lang.Thread.run(Unknown Source)
Caused by: No response from file transfer initiator:
     at org.jivesoftware.smackx.filetransfer.StreamNegotiator.initiateIncomingStream(StreamNegotiator.java:97)
     at org.jivesoftware.smackx.filetransfer.IBBTransferNegotiator.createIncomingStream(IBBTransferNegotiator.java:80)
     at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$2.call(IncomingFileTransfer.java:186)
     at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$2.call(IncomingFileTransfer.java:185)
     at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
     at java.util.concurrent.FutureTask.run(Unknown Source)
     at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.negotiateStream(IncomingFileTransfer.java:190)
     ... 3 more
13:15:46.437 SEVERE: util.UtilActivator.uncaughtException().99 An uncaught exception occurred in thread=Thread[Thread-10844,5,main] and message was: null
java.lang.NullPointerException
     at net.java.sip.communicator.impl.protocol.jabber.OperationSetFileTransferJabberImpl$FileTransferProgressThread.run(OperationSetFileTransferJabberImpl.java:630)
13:30:59.935 SEVERE: util.UtilActivator.uncaughtException().99 An uncaught exception occurred in thread=Thread[AWT-EventQueue-0,6,main] and message was: String index out of range: -926
java.lang.StringIndexOutOfBoundsException: String index out of range: -926
     at java.lang.String.substring(Unknown Source)
     at net.java.sip.communicator.impl.gui.main.chat.ChatConversationPanel.replaceMessageDivID(ChatConversationPanel.java:1858)
     at net.java.sip.communicator.impl.gui.main.chat.ChatConversationPanel.appendConsecutiveMessage(ChatConversationPanel.java:601)
     at net.java.sip.communicator.impl.gui.main.chat.ChatConversationPanel.processMessage(ChatConversationPanel.java:385)
     at net.java.sip.communicator.impl.gui.main.chat.ChatConversationPanel.processMessage(ChatConversationPanel.java:545)
     at net.java.sip.communicator.impl.gui.main.chat.ChatPanel.processHistoryMessage(ChatPanel.java:970)
     at net.java.sip.communicator.impl.gui.main.chat.ChatPanel.processHistory(ChatPanel.java:630)
     at net.java.sip.communicator.impl.gui.main.chat.ChatPanel.access$700(ChatPanel.java:53)
     at net.java.sip.communicator.impl.gui.main.chat.ChatPanel$5.finished(ChatPanel.java:1769)
     at net.java.sip.communicator.util.swing.SwingWorker$1$2.run(SwingWorker.java:96)
     at java.awt.event.InvocationEvent.dispatch(Unknown Source)
     at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
     at java.awt.EventQueue.access$000(Unknown Source)
     at java.awt.EventQueue$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)


#2

Updated to a nightly 4292

receiving file from miranda (google talk) worked ok, sending the file back failed

Log has exception

13:55:05.464 SEVERE: impl.protocol.jabber.OperationSetFileTransferJabberImpl.run().622 An exception occured while transfering file:
error writing to output stream:
   -- caused by: java.io.IOException: Error while closing stream: No response from server.
     at org.jivesoftware.smackx.filetransfer.FileTransfer.writeToStream(FileTransfer.java:219)
     at org.jivesoftware.smackx.filetransfer.OutgoingFileTransfer$2.run(OutgoingFileTransfer.java:233)
     at java.lang.Thread.run(Unknown Source)
Nested Exception:
java.io.IOException: Error while closing stream: No response from server.
     at org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession.closeByLocal(InBandBytestreamSession.java:213)
     at org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession.close(InBandBytestreamSession.java:153)
     at org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession$IQIBBOutputStream.writeToXML(InBandBytestreamSession.java:768)
     at org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession$IBBOutputStream.flushBuffer(InBandBytestreamSession.java:707)
     at org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession$IBBOutputStream.writeOut(InBandBytestreamSession.java:679)
     at org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession$IBBOutputStream.write(InBandBytestreamSession.java:641)
     at org.jivesoftware.smackx.filetransfer.FileTransfer.writeToStream(FileTransfer.java:217)
     at org.jivesoftware.smackx.filetransfer.OutgoingFileTransfer$2.run(OutgoingFileTransfer.java:233)
     at java.lang.Thread.run(Unknown Source)
13:55:05.465 SEVERE: util.UtilActivator.uncaughtException().99 An uncaught exception occurred in thread=Thread[Thread-122,5,main] and message was: null
java.lang.NullPointerException
     at net.java.sip.communicator.impl.protocol.jabber.OperationSetFileTransferJabberImpl$FileTransferProgressThread.run(OperationSetFileTransferJabberImpl.java:630)

···

On 25/10/2012 1:38 PM, Craig Chandler wrote:

Hi

When receiving a file via google talk protocal the file transfer stops, telling me it was cancelled, the originator (also jitsi) gets a message saying there was an error
The log shows some java exceptions
13:15:46.435 SEVERE: impl.protocol.jabber.OperationSetFileTransferJabberImpl.run().622 An exception occured while transfering file:
Error in execution:
  -- caused by: java.util.concurrent.ExecutionException: No response from file transfer initiator:
    at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.negotiateStream(IncomingFileTransfer.java:199)
    at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.access$100(IncomingFileTransfer.java:47)
    at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$1.run(IncomingFileTransfer.java:124)
    at java.lang.Thread.run(Unknown Source)
Nested Exception:
java.util.concurrent.ExecutionException: No response from file transfer initiator:
    at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
    at java.util.concurrent.FutureTask.get(Unknown Source)
    at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.negotiateStream(IncomingFileTransfer.java:193)
    at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.access$100(IncomingFileTransfer.java:47)
    at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$1.run(IncomingFileTransfer.java:124)
    at java.lang.Thread.run(Unknown Source)
Caused by: No response from file transfer initiator:
    at org.jivesoftware.smackx.filetransfer.StreamNegotiator.initiateIncomingStream(StreamNegotiator.java:97)
    at org.jivesoftware.smackx.filetransfer.IBBTransferNegotiator.createIncomingStream(IBBTransferNegotiator.java:80)
    at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$2.call(IncomingFileTransfer.java:186)
    at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$2.call(IncomingFileTransfer.java:185)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.negotiateStream(IncomingFileTransfer.java:190)
    ... 3 more
13:15:46.437 SEVERE: util.UtilActivator.uncaughtException().99 An uncaught exception occurred in thread=Thread[Thread-10844,5,main] and message was: null
java.lang.NullPointerException
    at net.java.sip.communicator.impl.protocol.jabber.OperationSetFileTransferJabberImpl$FileTransferProgressThread.run(OperationSetFileTransferJabberImpl.java:630)
13:30:59.935 SEVERE: util.UtilActivator.uncaughtException().99 An uncaught exception occurred in thread=Thread[AWT-EventQueue-0,6,main] and message was: String index out of range: -926
java.lang.StringIndexOutOfBoundsException: String index out of range: -926
    at java.lang.String.substring(Unknown Source)
    at net.java.sip.communicator.impl.gui.main.chat.ChatConversationPanel.replaceMessageDivID(ChatConversationPanel.java:1858)
    at net.java.sip.communicator.impl.gui.main.chat.ChatConversationPanel.appendConsecutiveMessage(ChatConversationPanel.java:601)
    at net.java.sip.communicator.impl.gui.main.chat.ChatConversationPanel.processMessage(ChatConversationPanel.java:385)
    at net.java.sip.communicator.impl.gui.main.chat.ChatConversationPanel.processMessage(ChatConversationPanel.java:545)
    at net.java.sip.communicator.impl.gui.main.chat.ChatPanel.processHistoryMessage(ChatPanel.java:970)
    at net.java.sip.communicator.impl.gui.main.chat.ChatPanel.processHistory(ChatPanel.java:630)
    at net.java.sip.communicator.impl.gui.main.chat.ChatPanel.access$700(ChatPanel.java:53)
    at net.java.sip.communicator.impl.gui.main.chat.ChatPanel$5.finished(ChatPanel.java:1769)
    at net.java.sip.communicator.util.swing.SwingWorker$1$2.run(SwingWorker.java:96)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$000(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)


#3

Still getting this error in 10118 nightly

07:46:27.459 INFO: impl.protocol.jabber.JingleNodesServiceDiscovery.run().129 Found 0 Jingle Nodes relay for account: craig.chandler@interdynamics.com in 896 ms.
12:18:01.530 SEVERE: impl.protocol.jabber.OperationSetFileTransferJabberImpl.run().622 An exception occured while transfering file:
error writing to output stream:
   -- caused by: java.io.IOException: Error while closing stream: No response from server.
     at org.jivesoftware.smackx.filetransfer.FileTransfer.writeToStream(FileTransfer.java:219)
     at org.jivesoftware.smackx.filetransfer.OutgoingFileTransfer$2.run(OutgoingFileTransfer.java:233)
     at java.lang.Thread.run(Unknown Source)
Nested Exception:
java.io.IOException: Error while closing stream: No response from server.
     at org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession.closeByLocal(InBandBytestreamSession.java:213)
     at org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession.close(InBandBytestreamSession.java:153)
     at org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession$IQIBBOutputStream.writeToXML(InBandBytestreamSession.java:768)
     at org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession$IBBOutputStream.flushBuffer(InBandBytestreamSession.java:707)
     at org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession$IBBOutputStream.writeOut(InBandBytestreamSession.java:679)
     at org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession$IBBOutputStream.write(InBandBytestreamSession.java:641)
     at org.jivesoftware.smackx.filetransfer.FileTransfer.writeToStream(FileTransfer.java:217)
     at org.jivesoftware.smackx.filetransfer.OutgoingFileTransfer$2.run(OutgoingFileTransfer.java:233)
     at java.lang.Thread.run(Unknown Source)
12:18:01.531 SEVERE: util.UtilActivator.uncaughtException().103 An uncaught exception occurred in thread=Thread[Thread-3118,5,main] and message was: null
java.lang.NullPointerException
     at net.java.sip.communicator.impl.protocol.jabber.OperationSetFileTransferJabberImpl$FileTransferProgressThread.run(OperationSetFileTransferJabberImpl.java:630)

···

On 25/10/2012 1:58 PM, Craig Chandler wrote:

Updated to a nightly 4292

receiving file from miranda (google talk) worked ok, sending the file back failed

Log has exception

13:55:05.464 SEVERE: impl.protocol.jabber.OperationSetFileTransferJabberImpl.run().622 An exception occured while transfering file:
error writing to output stream:
  -- caused by: java.io.IOException: Error while closing stream: No response from server.
    at org.jivesoftware.smackx.filetransfer.FileTransfer.writeToStream(FileTransfer.java:219)
    at org.jivesoftware.smackx.filetransfer.OutgoingFileTransfer$2.run(OutgoingFileTransfer.java:233)
    at java.lang.Thread.run(Unknown Source)
Nested Exception:
java.io.IOException: Error while closing stream: No response from server.
    at org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession.closeByLocal(InBandBytestreamSession.java:213)
    at org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession.close(InBandBytestreamSession.java:153)
    at org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession$IQIBBOutputStream.writeToXML(InBandBytestreamSession.java:768)
    at org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession$IBBOutputStream.flushBuffer(InBandBytestreamSession.java:707)
    at org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession$IBBOutputStream.writeOut(InBandBytestreamSession.java:679)
    at org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession$IBBOutputStream.write(InBandBytestreamSession.java:641)
    at org.jivesoftware.smackx.filetransfer.FileTransfer.writeToStream(FileTransfer.java:217)
    at org.jivesoftware.smackx.filetransfer.OutgoingFileTransfer$2.run(OutgoingFileTransfer.java:233)
    at java.lang.Thread.run(Unknown Source)
13:55:05.465 SEVERE: util.UtilActivator.uncaughtException().99 An uncaught exception occurred in thread=Thread[Thread-122,5,main] and message was: null
java.lang.NullPointerException
    at net.java.sip.communicator.impl.protocol.jabber.OperationSetFileTransferJabberImpl$FileTransferProgressThread.run(OperationSetFileTransferJabberImpl.java:630)

On 25/10/2012 1:38 PM, Craig Chandler wrote:

Hi

When receiving a file via google talk protocal the file transfer stops, telling me it was cancelled, the originator (also jitsi) gets a message saying there was an error
The log shows some java exceptions
13:15:46.435 SEVERE: impl.protocol.jabber.OperationSetFileTransferJabberImpl.run().622 An exception occured while transfering file:
Error in execution:
  -- caused by: java.util.concurrent.ExecutionException: No response from file transfer initiator:
    at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.negotiateStream(IncomingFileTransfer.java:199)
    at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.access$100(IncomingFileTransfer.java:47)
    at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$1.run(IncomingFileTransfer.java:124)
    at java.lang.Thread.run(Unknown Source)
Nested Exception:
java.util.concurrent.ExecutionException: No response from file transfer initiator:
    at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
    at java.util.concurrent.FutureTask.get(Unknown Source)
    at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.negotiateStream(IncomingFileTransfer.java:193)
    at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.access$100(IncomingFileTransfer.java:47)
    at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$1.run(IncomingFileTransfer.java:124)
    at java.lang.Thread.run(Unknown Source)
Caused by: No response from file transfer initiator:
    at org.jivesoftware.smackx.filetransfer.StreamNegotiator.initiateIncomingStream(StreamNegotiator.java:97)
    at org.jivesoftware.smackx.filetransfer.IBBTransferNegotiator.createIncomingStream(IBBTransferNegotiator.java:80)
    at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$2.call(IncomingFileTransfer.java:186)
    at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$2.call(IncomingFileTransfer.java:185)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.negotiateStream(IncomingFileTransfer.java:190)
    ... 3 more
13:15:46.437 SEVERE: util.UtilActivator.uncaughtException().99 An uncaught exception occurred in thread=Thread[Thread-10844,5,main] and message was: null
java.lang.NullPointerException
    at net.java.sip.communicator.impl.protocol.jabber.OperationSetFileTransferJabberImpl$FileTransferProgressThread.run(OperationSetFileTransferJabberImpl.java:630)
13:30:59.935 SEVERE: util.UtilActivator.uncaughtException().99 An uncaught exception occurred in thread=Thread[AWT-EventQueue-0,6,main] and message was: String index out of range: -926
java.lang.StringIndexOutOfBoundsException: String index out of range: -926
    at java.lang.String.substring(Unknown Source)
    at net.java.sip.communicator.impl.gui.main.chat.ChatConversationPanel.replaceMessageDivID(ChatConversationPanel.java:1858)
    at net.java.sip.communicator.impl.gui.main.chat.ChatConversationPanel.appendConsecutiveMessage(ChatConversationPanel.java:601)
    at net.java.sip.communicator.impl.gui.main.chat.ChatConversationPanel.processMessage(ChatConversationPanel.java:385)
    at net.java.sip.communicator.impl.gui.main.chat.ChatConversationPanel.processMessage(ChatConversationPanel.java:545)
    at net.java.sip.communicator.impl.gui.main.chat.ChatPanel.processHistoryMessage(ChatPanel.java:970)
    at net.java.sip.communicator.impl.gui.main.chat.ChatPanel.processHistory(ChatPanel.java:630)
    at net.java.sip.communicator.impl.gui.main.chat.ChatPanel.access$700(ChatPanel.java:53)
    at net.java.sip.communicator.impl.gui.main.chat.ChatPanel$5.finished(ChatPanel.java:1769)
    at net.java.sip.communicator.util.swing.SwingWorker$1$2.run(SwingWorker.java:96)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$000(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)