You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Romain Manni-Bucau <rm...@gmail.com> on 2016/03/24 20:01:25 UTC
bug in 8.5.0?
Hi guys,
if I'm not mistaken
org.apache.catalina.loader.WebappClassLoaderBase#getResourceAsStream
can throw a NPE:
1090. URL url = super.findResource(name);
1091. stream = url.openStream(); // url can be null
Romain Manni-Bucau
@rmannibucau | Blog | Github | LinkedIn | Tomitriber
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: bug in 8.5.0?
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Thanks Violeta.
Romain Manni-Bucau
@rmannibucau | Blog | Github | LinkedIn | Tomitriber
2016-03-24 20:29 GMT+01:00 Violeta Georgieva <mi...@gmail.com>:
> Hi,
>
> 2016-03-24 21:01 GMT+02:00 Romain Manni-Bucau <rm...@gmail.com>:
>>
>> Hi guys,
>>
>> if I'm not mistaken
>> org.apache.catalina.loader.WebappClassLoaderBase#getResourceAsStream
>> can throw a NPE:
>>
>> 1090. URL url = super.findResource(name);
>> 1091. stream = url.openStream(); // url can be null
>>
>
> Thanks for the report.
> The fix will be in 8.5.1
>
> Regards,
> Violeta
>
>>
>> Romain Manni-Bucau
>> @rmannibucau | Blog | Github | LinkedIn | Tomitriber
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: dev-help@tomcat.apache.org
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: bug in 8.5.0?
Posted by Violeta Georgieva <mi...@gmail.com>.
Hi,
2016-03-24 21:01 GMT+02:00 Romain Manni-Bucau <rm...@gmail.com>:
>
> Hi guys,
>
> if I'm not mistaken
> org.apache.catalina.loader.WebappClassLoaderBase#getResourceAsStream
> can throw a NPE:
>
> 1090. URL url = super.findResource(name);
> 1091. stream = url.openStream(); // url can be null
>
Thanks for the report.
The fix will be in 8.5.1
Regards,
Violeta
>
> Romain Manni-Bucau
> @rmannibucau | Blog | Github | LinkedIn | Tomitriber
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>