Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.net.BindException after errors #68

Open
k1o0 opened this issue Oct 23, 2018 · 0 comments
Open

java.net.BindException after errors #68

k1o0 opened this issue Oct 23, 2018 · 0 comments

Comments

@k1o0
Copy link
Contributor

k1o0 commented Oct 23, 2018

After some errors MATLAB doesn't call the onCleanup function in srv.expServer, resulting in the Java Web socket remaining open. When expServer is restarted the following silent message appears in the command window:

onError: java.net.BindException: Address already in use: bind

Thereafter expServer is unreachable and users become very confused. Ideally this would raise a proper error that MATLAB could handle by clearing the Java class and re-binding. This is a very common and confusing error for people, especially those debugging a signals experiment at a rig.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants