mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-20 06:35:50 +02:00
If you right click on a shell in the Remote Systems view and select Remove Shell, there is a null pointer exception in the log. This fix gets rid of the null pointer exception.
This commit is contained in:
parent
fadb48867c
commit
53cfed7107
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ public class OutputRefreshJob extends UIJob
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
SystemRegistry registry = RSEUIPlugin.getTheSystemRegistry();
|
SystemRegistry registry = RSEUIPlugin.getTheSystemRegistry();
|
||||||
if (_outputs != null)
|
if ((_outputs != null) && (_outputs[0] != null))
|
||||||
{
|
{
|
||||||
registry.fireEvent(
|
registry.fireEvent(
|
||||||
new SystemResourceChangeEvent(_outputs, ISystemResourceChangeEvents.EVENT_REFRESH, _command));
|
new SystemResourceChangeEvent(_outputs, ISystemResourceChangeEvents.EVENT_REFRESH, _command));
|
||||||
|
|
Loading…
Add table
Reference in a new issue