Uploaded image for project: 'MAEviz'
  1. MAEviz
  2. MAE-400

Cannot run report for turkish building damage because the city code returns null

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.1
    • 2.1
    • Data
    • None

      Create a building damage dataset for turkey and run the report: Building Damage Detail v4 and you get the following error:

      [TurkeyUtils]: Getting city for code: null
      [TurkeyUtils]: Failed
      java.lang.NumberFormatException: null
      at java.lang.Integer.parseInt(Integer.java:415)
      at java.lang.Integer.parseInt(Integer.java:497)
      at ncsa.gis.location.turkey.utils.LocationUtils2.getCityFromShapefile(LocationUtils2.java:197)
      at ncsa.gis.location.turkey.utils.TurkeyUtils.getCityFromCode(TurkeyUtils.java:91)
      at ncsa.gis.location.turkey.District.getCity(District.java:40)
      at ncsa.gis.location.turkey.District.getFullName(District.java:51)

              jonglee Jong Lee
              cnavarro Christopher Navarro
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: