1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-13 20:15:22 +02:00

[284917] Deleting a folder in a fresh workspace throws NPE

This commit is contained in:
David McKnight 2009-07-29 13:56:21 +00:00
parent 5840ebb9cd
commit be84d81f18

View file

@ -16,6 +16,7 @@
* David McKnight (IBM) - [216161] table view needs to handle context when filter reference is input
* David McKnight (IBM) - [225506] [api][breaking] RSE UI leaks non-API types
* David McKnight (IBM) - [278848] NPE in Remote System Details view
* David McKnight (IBM) - [284917] Deleting a folder in a fresh workspace throws NPE
*******************************************************************************/
package org.eclipse.rse.ui.view;
@ -150,7 +151,7 @@ public class SystemTableViewProvider implements ILabelProvider, ITableLabelProvi
result.setPropertySourceInput(object);
// for bug 278848
if (_viewer.getInput() instanceof ISystemViewInputProvider)
if (_viewer != null && _viewer.getInput() instanceof ISystemViewInputProvider)
{
ISystemViewInputProvider inputProvider = (ISystemViewInputProvider)_viewer.getInput();
result.setInput(inputProvider);