{"action":"opened","issue":{"url":"https://api.github.com/repos/delthas/JavaSkype/issues/47","repository_url":"https://api.github.com/repos/delthas/JavaSkype","labels_url":"https://api.github.com/repos/delthas/JavaSkype/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/delthas/JavaSkype/issues/47/comments","events_url":"https://api.github.com/repos/delthas/JavaSkype/issues/47/events","html_url":"https://github.com/delthas/JavaSkype/issues/47","id":305092848,"number":47,"title":"Error: Feature Set not enabled or wait forever at: connectLatch.await()","user":{"login":"apovn","id":15623657,"avatar_url":"https://avatars2.githubusercontent.com/u/15623657?v=4","gravatar_id":"","url":"https://api.github.com/users/apovn","html_url":"https://github.com/apovn","followers_url":"https://api.github.com/users/apovn/followers","following_url":"https://api.github.com/users/apovn/following{/other_user}","gists_url":"https://api.github.com/users/apovn/gists{/gist_id}","starred_url":"https://api.github.com/users/apovn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apovn/subscriptions","organizations_url":"https://api.github.com/users/apovn/orgs","repos_url":"https://api.github.com/users/apovn/repos","events_url":"https://api.github.com/users/apovn/events{/privacy}","received_events_url":"https://api.github.com/users/apovn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-14T10:04:30Z","updated_at":"2018-03-14T10:04:30Z","closed_at":null,"author_association":"NONE","body":"Hi @delthas \r\n\r\nI can't send the skype message. I describe the error below:\r\nCould you help me.\r\nThank you.\r\n\r\n* **OS, Version, Architecture** *(e.g. Windows 8.1 x64)*: windows 10\r\n* **JRE Vendor, Version** *(e.g. Oracle JDK 8u151)*: jdk 1.8.0_131\r\n\r\n\r\n### Expected behaviour\r\nSend message to an user\r\n\r\n\r\n### Actual behaviour\r\nget error: \r\nfr.delthas.skype.ParseException: Error message received:\r\n202 2 MSGR 26\r\n\r\nFeature Set not enabled.\r\n\tat fr.delthas.skype.NotifConnector.readPacket(NotifConnector.java:552)\r\n\tat fr.delthas.skype.NotifConnector.lambda$new$0(NotifConnector.java:69)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\nException in thread \"Skype-Receiver-Thread\" java.lang.AssertionError: Error message received:\r\n202 2 MSGR 26\r\n\r\nFeature Set not enabled.\r\n\tat org.junit.Assert.fail(Assert.java:88)\r\n\tat fr.delthas.skype.TestConnect.lambda$testConnect$0(TestConnect.java:48)\r\n\tat fr.delthas.skype.Skype.error(Skype.java:281)\r\n\tat fr.delthas.skype.NotifConnector.lambda$new$0(NotifConnector.java:81)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n\r\n\r\n### Steps to reproduce the issue\r\n- Get source\r\n- Apply bug fix: https://github.com/d03n3rfr1tz3/JavaSkype/commit/9e862e68147427f5d5a2512dad0ea8fec32fa832\r\n\r\n- Comment out line: \r\n// connectLatch.await(); // block until connected\r\nat fr/delthas/skype/NotifConnector.java:587\r\n(because if i do not comment out, the application will hang out at this line forever)\r\n- Fill username and pass, run TestConnect.java like this:\r\n\r\npublic void testConnect() {\r\n    Skype skype = new Skype(\"myuser@outlook.com\", \"mypassword\");\r\n\r\n    try {\r\n        skype.connect();\r\n\r\n        for (User user : skype.getContacts()) {\r\n            System.out.println(\"user: \" + user);\r\n            if (user.getUsername().equalsIgnoreCase(\"my-friend-user\")){\r\n                user.sendMessage(\"Hi, \" + user.getDisplayName() + \", what's up?\");\r\n            }\r\n        }\r\n\r\n    } catch (Exception e) {\r\n        e.printStackTrace();\r\n        Assert.fail(e.getMessage());\r\n    }\r\n}\r\n\r\n\r\n### Logs\r\n**Add debug logs (or link to them) if reporting a bug. For that call ```Skype.setDebug(path)``` at any time before calling ```skype.connect()```.**\r\n"}}
{"actor":{"display_login":"apovn"}}