Project

General

Profile

Sample for File transfer using java

Anusha Anusha
Added over 1 year ago

Hi,

Can anyone help me getting filetransfer sample in java.

Thanks,
Anusha


Replies (3)

Added by Wojciech Kapcia over 1 year ago

There is Example codes section on wiki, which includes usage of Jingle.

Added by Sami Chkeir over 1 year ago

Hi ,

I got an error

java.lang.NullPointerException
    at java.util.HashMap.putMapEntries(HashMap.java:500)
    at java.util.HashMap.putAll(HashMap.java:784)
    at tigase.jaxmpp.core.client.xml.DefaultElement.setAttributes(DefaultElement.java:260)
    at tigase.jaxmpp.core.client.xml.DefaultElement.create(DefaultElement.java:39)
    at tigase.jaxmpp.core.client.xml.DefaultElement.create(DefaultElement.java:42)
    at tigase.jaxmpp.core.client.xml.DefaultElement.create(DefaultElement.java:34)
    at jingleballs.Receiver$JingleSessionInitiateListener.handleEvent(Receiver.java:169)
    at jingleballs.Receiver$JingleSessionInitiateListener.handleEvent(Receiver.java:149)
    at tigase.jaxmpp.j2se.observer.ThreadSafeObservable.fireEvent(ThreadSafeObservable.java:140)
    at tigase.jaxmpp.core.client.xmpp.modules.jingle.JingleModule.processSet(JingleModule.java:269)
    at tigase.jaxmpp.core.client.xmpp.modules.AbstractIQModule.process(AbstractIQModule.java:83)
    at tigase.jaxmpp.core.client.Processor$1.process(Processor.java:132)
    at tigase.jaxmpp.core.client.AbstractStanzaHandler.run(AbstractStanzaHandler.java:45)
    at java.lang.Thread.run(Thread.java:745)

children have none attribute

please any advice

Regards,
Sami Chkeir

Added by Wojciech Kapcia over 1 year ago

It would be easier to help if you would share code that you are trying to execute.

    (1-3/3)