Ignore:
Timestamp:
2021-02-01T10:33:15+01:00 (4 years ago)
Author:
malcolmh
Message:

catch null pointer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/seachart/src/render/Signals.java

    r35687 r35693  
    617617                                }
    618618                        } else {
    619                                 if ((Renderer.zoom >= 15) && (lights.get(0) != null)) {
    620                                         AttMap atts = lights.get(0);
     619                                AttMap atts = lights.get(0);
     620                                if ((Renderer.zoom >= 15) && (atts != null)) {
    621621                                        ArrayList<CatLIT> cats = new ArrayList<>();
    622622                                        if (atts.containsKey(Att.CATLIT)) {
Note: See TracChangeset for help on using the changeset viewer.