skype-java-api icon indicating copy to clipboard operation
skype-java-api copied to clipboard

.send() appears to repeat infinitely

Open AJCStriker opened this issue 12 years ago • 5 comments

There doesn't seem to be anywhere for help requests on this project so i will post it here.

I have built a test program however it simply loops, forever repeating the send message command. The code does not progress further forward. On debugging, it appears line 861 of Connector.java repeats infinitely. I also noticed it was using more memory than normal during this period.

Any help is appreciated.

EDIT Further testing shows that after two cycles both the send and manual API command throw the following errors:

com.skype.connector.NotAttachedException at com.skype.connector.Connector.execute(Connector.java:871) at com.skype.connector.Connector.execute(Connector.java:827) at com.skype.connector.Connector.executeWithId(Connector.java:677) at net.countercraft.skype_bot.App.main(App.java:45) Caused by: com.skype.connector.NotAttachedException at com.skype.connector.Connector$11.call(Connector.java:935) at com.skype.connector.Connector$11.call(Connector.java:907) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680)

AJCStriker avatar Jan 18 '12 23:01 AJCStriker