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

NullPointerException for ubuntu 12.04 #55

Open
GoogleCodeExporter opened this issue Mar 28, 2015 · 0 comments
Open

NullPointerException for ubuntu 12.04 #55

GoogleCodeExporter opened this issue Mar 28, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

hid_mgr = HIDManager.getInstance();
dev = hid_mgr.openById(VENDOR_ID, PRODUCT_ID,null );
System.out.println("Manufacturer: " + dev.getManufacturerString() + "\n"); 
System.out.println("Product: " + dev.getProductString() + "\n");
System.out.println("Serial Number: " + dev.getSerialNumberString() + "\n");

When i run System.out.println("Manufacturer: " + dev.getManufacturerString() + 
"\n") 
NullPointerException  .But this is No problem for Windows7 and Mac .Why?

Original issue reported on code.google.com by [email protected] on 22 Sep 2013 at 3:09

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

1 participant