Android Question Error Sub _newconnection was not found

Neojoy

Member
Licensed User
Longtime User
Hi,

Anybody knows what means this error and how to fix or avoid it?

My app crash when this error happen and I don't know where is the trouble.


Thanks!
 

Neojoy

Member
Licensed User
Longtime User
Where is the relevant code you are using?

Are you using a ServerSocket and did set the Eventprefix to ""?

I don't know exactly where crash happens, because my app run as a service and it does many tasks.

Yes, I'm using ServerSocket and seting Eventprefix to "".

So, maybe ServerSocket is the responsable by this error?
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Yes, I'm using ServerSocket and seting Eventprefix to "".
This is the Problem. It is a mistake not to set an EventPrefix for Objects which do use Events.

Set the prefix, make sure to have a Eventsub yourprefix_newconnection
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…