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

serialdriver.SerialDriverAdapter Error in System console #2524

Closed
spassmo opened this issue Nov 15, 2016 · 3 comments
Closed

serialdriver.SerialDriverAdapter Error in System console #2524

spassmo opened this issue Nov 15, 2016 · 3 comments

Comments

@spassmo
Copy link

spassmo commented Nov 15, 2016

I'm seeing the following errors in the System Console when a C/MRI node is configured with a serial connection.
Errors do not appear when a Simulated C/MRI connection is configured.
C/MRI does appear to be working normally despite errors.
Error started appearing in version 4.5.5

2016-11-14 23:44:15,369 serialdriver.SerialDriverAdapter ERROR - getInputStream called before load(), stream not available [main]
2016-11-14 23:44:15,369 serialdriver.SerialDriverAdapter ERROR - getOutputStream called before load(), stream not available [main]
2016-11-14 23:44:15,369 jmrix.AbstractMRTrafficController ERROR - Failed to start up communications. Error was java.lang.NullPointerException [main]

@bobjacobsen
Copy link
Member

This is usually a configuration error and/or problem with the port hardware or driver. Do you have another connection besides C/MRI configured? E.g. does your preferences show two tabs under "Connections"?

@rhwood
Copy link
Contributor

rhwood commented Dec 17, 2016

Closing since OP has not responded.

@rhwood rhwood closed this as completed Dec 17, 2016
@spassmo
Copy link
Author

spassmo commented Jan 29, 2017

Sorry I missed the question on this one. No there is only one connection tab.

I see this is also covered in:
C/MRI infrastructure code needs significant rework #2953

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