[jbosstools-issues] [JBoss JIRA] (JBIDE-9518) WebPortPoller #onePing swallows Exceptions without any logging
Max Rydahl Andersen (Resolved) (JIRA)
jira-events at lists.jboss.org
Tue Nov 8 10:49:45 EST 2011
[ https://issues.jboss.org/browse/JBIDE-9518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Rydahl Andersen resolved JBIDE-9518.
----------------------------------------
Fix Version/s: 3.3.0.M4
(was: 3.3.x)
Resolution: Done
fixed by better error handling.
> WebPortPoller #onePing swallows Exceptions without any logging
> --------------------------------------------------------------
>
> Key: JBIDE-9518
> URL: https://issues.jboss.org/browse/JBIDE-9518
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: JBossAS/Servers
> Affects Versions: 3.3.0.M3
> Reporter: Andre Dietisheim
> Assignee: Rob Stryker
> Fix For: 3.3.0.M4
>
>
> WebPortPoller#onePing swallows a plain Exception without at least logging it.
> See https://source.jboss.org/cru/REV-JBIDE-4/#c23
> {code}
> private static boolean onePing(String url) {
> try {
> URL pingUrl = new URL(url);
> URLConnection conn = pingUrl.openConnection();
> ((HttpURLConnection)conn).getResponseCode();
> return true;
> } catch( FileNotFoundException fnfe ) {
> return true;
> } catch( Exception e) {
> }
> return false;
> }
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list