Correct handling of exception: “getParameters failed (empty parameters)”

In my case I was getting this error :

getParameters failed (empty parameters)

when I called getParameters() after unlocking the camera. So, please call getParameters() before you call camera.unlock().

Leave a Comment