]
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: