mbien commented on issue #4652: URL: https://github.com/apache/netbeans/issues/4652#issuecomment-1264494300
null is actually a valid return value: https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/net/URLConnection.html#getContentType() so the JDK should probably check for that (haven't looked at the code yet since the source I am looking at doesn't match the line numbers :P). It could still be invalid input which ends up throwing the internal NPE. Figuring out what the actual URL is which causes this situation might give some leads too. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
