You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2022/05/09 10:12:00 UTC

[jira] [Updated] (SLING-11307) Different exception passed to error handler with bundled scripts

     [ https://issues.apache.org/jira/browse/SLING-11307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated SLING-11307:
-------------------------------------
    Affects Version/s: Servlets Resolver 2.9.4

> Different exception passed to error handler  with bundled scripts
> -----------------------------------------------------------------
>
>                 Key: SLING-11307
>                 URL: https://issues.apache.org/jira/browse/SLING-11307
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>    Affects Versions: Servlets Resolver 2.9.4
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: Servlets Resolver 2.9.6
>
>
> At least for JSPs, different exceptions are passed to the error handler if bundled scripts are used. 
> Example: if a NullPointerException is thrown, the NPE is passed to the error handler for repository based scripts - which is correct. For bundled scripts a ServletException is passed to the error handler - which is not correct



--
This message was sent by Atlassian Jira
(v8.20.7#820007)