if ( node != null ) {
final ResourceProviderHandler handler = node.getValue();
try {
this.parentResolveContext = this.resolveContextManager.getOrCreateResolveContext(handler, this.control);
if ( this.parentResolveContext != null ) {
<BUG>this.parentProvider = handler.getResourceProvider();
}</BUG>
} catch ( final LoginException se) {
}
<BUG>if ( this.parentProvider == null ) {
</BUG>
path = ResourceUtil.getParent(path);

if ( node != null ) {
final ResourceProviderHandler handler = node.getValue();
try {
this.parentResolveContext = this.resolveContextManager.getOrCreateResolveContext(handler, this.control);
if ( this.parentResolveContext != null ) {
this.parentProviderHandler = handler;
