You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tutorial Nitpick that got me stuck for no reason for quite a bit. #76
Taking advice from the home page of usb4java's website regarding reporting bugs of the software or even the website in the case of a typo I thought I should let you guys know about a pretty annoying beginner pitfall in the low-level usb api tutorial.
in the Initialization/deinitialization section, users are instructed to initialize a context called context. The next step in the tutorial has the user running LibUsb.getDeviceList on a null context. This got me staring at the same piece of code for a while as IllegalStateException: Default context is not initialized doesn't make sense to me without the prior knowledge that null is the default context.
I'm not a designer of tutorial instruction by any means but it'd be nice to have some more context on what a context is instead of having new users try and figure it out on their own with a pretty tricky early issue.
Activity