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

Hotfix CreateThumbnailModule.java:192 #85

Closed
yevheniishabelnyk opened this issue Jan 23, 2023 · 1 comment
Closed

Hotfix CreateThumbnailModule.java:192 #85

yevheniishabelnyk opened this issue Jan 23, 2023 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@yevheniishabelnyk
Copy link

Hello!
When I try to deploy the app, I am getting the bug with:

> Task :react-native-create-thumbnail:compileReleaseJavaWithJavac FAILED
/Users/runner/work/1/s/node_modules/react-native-create-thumbnail/android/src/main/java/com/createthumbnail/CreateThumbnailModule.java:192: error: unreported exception IOException; must be caught or declared to be thrown
        retriever.release();

I found the solution, we should to change line 192 with:

try {
  retriever.release();
} catch (IOException ex) {
  // handle the exception here
}

Could you do it ASAP, please, cause I can't deploy my app.

Thank you!

@yevheniishabelnyk yevheniishabelnyk added the bug Something isn't working label Jan 23, 2023
@souvik-ghosh
Copy link
Owner

@yevheniishabelnyk, Duplicate of #76

@souvik-ghosh souvik-ghosh added the duplicate This issue or pull request already exists label Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants