-
Notifications
You must be signed in to change notification settings - Fork 160
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
Fix NPE in Windows around "!" check #528
Comments
This has to be tested outside of Windows. I would suggest testing the Stream to see if it is null, and if it is, then in another try/catch, switching to your method? In other words, create a block that catches the "normal" NPE (on Windows), then try to use your fix to create the URL in the way Windows likes... |
not the stream null, is the entry, jar.getEntry("\rec-center-hourly.csv") return null |
NullPointerException: entry, in windows env, innerPath startsWith "", and jar.getEntry()return null
The text was updated successfully, but these errors were encountered: