wrapper.releaseResources();
}catch(SQLException sql){
logger.error(sql.getMessage(),sql);
}
}
<BUG>logger.error(e.getMessage(),e);
logger.error("Preparation of the stream source failed : "+streamSource.getAlias()+ " from the input stream : "+inputStream.getInputStreamName());
</BUG>
}
}

wrapper.releaseResources();
}
wrapper=null;
} catch (Exception e) {
if (wrapper!=null){
try{
wrapper.releaseResources();
}catch(SQLException sql){
logger.error(sql.getMessage(),sql);
}
}
logger.error("Preparation of the stream source failed : "+streamSource.getAlias()+ " from the input stream : "+inputStream.getInputStreamName()+". " + e.getMessage(),e);
}
}
