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

Running pubber with non existent device results in non-friendly error #329

Open
noursaidi opened this issue May 10, 2022 · 0 comments
Open

Comments

@noursaidi
Copy link
Collaborator

When running pubber with a device which does not exist, there is no user friendly error message

nournew@macbook-2 udmi % bin/pubber ~/udmi_site_model daq1-273309 AHU-9 567   
Building pubber...
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Running tools version 1.3.12-79-g2faea092
Exception in thread "main" java.lang.NullPointerException
	at daq.pubber.Pubber.processDeviceMetadata(Pubber.java:283)
	at daq.pubber.Pubber.loadDeviceMetadata(Pubber.java:266)
	at daq.pubber.Pubber.initializeDevice(Pubber.java:344)
	at daq.pubber.Pubber.initialize(Pubber.java:511)
	at daq.pubber.Pubber.singularPubber(Pubber.java:214)
	at daq.pubber.Pubber.main(Pubber.java:199)
nournew@macbook-2 udmi % git pull
@noursaidi noursaidi changed the title Running pubber with non existent device results in error Running pubber with non existent device results in non-friendly error May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant