GeoServer
  1. GeoServer
  2. GEOS-3277

Improve error handling for WMS GetMap requests so only a well known set of rendering exceptions are ignored

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta2
    • Fix Version/s: 2.0-RC1
    • Component/s: WMS
    • Labels:
      None
    • Number of attachments :
      0

      Description

      See discussion here http://www.nabble.com/WMS-rendering-eats-all-exceptions-td24543043.html

      Basically, StreamingRenderer defers all the exception handling to it's RenderListener}}s. It does even for {{Throwable.

      GeoServer's WMS GetMap request means to ignore some kind of rendering errors in order to make a best effort at rendering the most possible out of a dataset. So it means to ignore reprojection exceptions, for example.

      But the side effect is that all and every exceptions are being ignored, producing "false positive" getmap responses where some exception that shouldn't be ignored is thrown.

      We can add with no performance penalty a listener that checks if the exception is one of a well known set of exceptions that we're interested in ignoring, and if not fail and hence throw a ServiceException instead of returning a false positive success response.

        Issue Links

          Activity

          Hide
          Gabriel Roldan added a comment -

          fixed at r12919

          Show
          Gabriel Roldan added a comment - fixed at r12919

            People

            • Assignee:
              Gabriel Roldan
              Reporter:
              Gabriel Roldan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: