delthas / JavaSkype

A lightweight, comprehensive Java API for Skype using MSNP24
MIT License
72 stars 28 forks source link

Exception in thread "Skype-Receiver-Thread" java.lang.IllegalArgumentException: Must supply a valid URL #27

Closed MrPowerGamerBR closed 7 years ago

MrPowerGamerBR commented 7 years ago
        at org.jsoup.helper.Validate.notEmpty(Validate.java:102)
        at org.jsoup.helper.HttpConnection.url(HttpConnection.java:72)
        at org.jsoup.helper.HttpConnection.connect(HttpConnection.java:36)
        at org.jsoup.Jsoup.connect(Jsoup.java:73)
        at fr.delthas.skype.WebConnector.sendRequest(WebConnector.java:190)
        at fr.delthas.skype.WebConnector.getAvatar(WebConnector.java:71)
        at fr.delthas.skype.Skype.getAvatar(Skype.java:319)
        at fr.delthas.skype.User.getAvatar(User.java:167)
        at com.mrpowergamerbr.sparklywhistlerbot.SkypeWhistler.lambda$0(SkypeWhistler.java:31)
        at fr.delthas.skype.Skype.groupMessageReceived(Skype.java:434)
        at fr.delthas.skype.NotifConnector.processPacket(NotifConnector.java:241)
        at fr.delthas.skype.NotifConnector.lambda$connect$4(NotifConnector.java:516)
        at java.lang.Thread.run(Thread.java:745)

At line 31

System.out.println(user.getAvatar());
delthas commented 7 years ago

Hi! I'm back. I'm trying to fix this but I can't get to reproduce this issue. I never get the exception when printing the avatar of any of my contacts. Does this still happen for you in 1.0.19?

MrPowerGamerBR commented 7 years ago

@Delthas I didn't test yet because I 100% migrated to Discord after Skype decided to crash for the nth time.

delthas commented 7 years ago

@MrPowerGamerBR hahahahaha haha okay

delthas commented 7 years ago

Closing the issue since avatar fetching has largely changed since then.