Issue #2287 Fix yet another NullPointer in GFEColorBarResource
Change-Id: I96ff6cdff49d444f4cb90fb219531901c19460ae Former-commit-id: dabdce1482cc80b794e8f82ac55d6867a43f0c89
This commit is contained in:
parent
4e768e812d
commit
37d94d921b
1 changed files with 2 additions and 1 deletions
|
@ -691,7 +691,8 @@ public class GFEColorbarResource extends
|
|||
updateColorbar(parm);
|
||||
} else if (message instanceof GridDataChangedMsg) {
|
||||
GridDataChangedMsg msg = (GridDataChangedMsg) message;
|
||||
if (msg.getParmID().equals(currentParm.getParmID())
|
||||
if (currentParm != null
|
||||
&& msg.getParmID().equals(currentParm.getParmID())
|
||||
&& msg.getTimeRange().contains(
|
||||
currentParm.getDataManager()
|
||||
.getSpatialDisplayManager()
|
||||
|
|
Loading…
Add table
Reference in a new issue