You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Gerald Turner (JIRA)" <ji...@apache.org> on 2011/05/03 18:42:03 UTC

[jira] [Created] (DIRSHARED-123) Root exceptions are discarded

Root exceptions are discarded
-----------------------------

                 Key: DIRSHARED-123
                 URL: https://issues.apache.org/jira/browse/DIRSHARED-123
             Project: Directory Shared
          Issue Type: Wish
    Affects Versions: 1.0.0-M3
            Reporter: Gerald Turner
            Priority: Trivial


Last week I burnt many hours trying to debug why LdapNetworkConnection bind was failing.  Eventually after getting LDAP client API and Apache Mina in a debugger I found the SocketException stored in a Future object which is discarded by the LDAP client API.  Later I was working on LDAP search, my filter had a syntax error but all I would get is the exception message "The filter is invalid" when it turns out the internal FilterParser has a more elaborate exception message which is discarded.

Personally I prefer exceptions that keep their root causes intact as that saves a lot of time and yields some insight into the underlying system.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (DIRSHARED-123) Root exceptions are discarded

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSHARED-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIRSHARED-123.
-----------------------------------------

    Resolution: Fixed

Fixed with http://svn.apache.org/viewvc?rev=1126274&view=rev


Thanks for the patch !

> Root exceptions are discarded
> -----------------------------
>
>                 Key: DIRSHARED-123
>                 URL: https://issues.apache.org/jira/browse/DIRSHARED-123
>             Project: Directory Shared
>          Issue Type: Wish
>    Affects Versions: 1.0.0-M3
>            Reporter: Gerald Turner
>            Priority: Trivial
>             Fix For: 1.0.0-M4
>
>         Attachments: apache-ldap-api-add-causes-to-exceptions.patch
>
>
> Last week I burnt many hours trying to debug why LdapNetworkConnection bind was failing.  Eventually after getting LDAP client API and Apache Mina in a debugger I found the SocketException stored in a Future object which is discarded by the LDAP client API.  Later I was working on LDAP search, my filter had a syntax error but all I would get is the exception message "The filter is invalid" when it turns out the internal FilterParser has a more elaborate exception message which is discarded.
> Personally I prefer exceptions that keep their root causes intact as that saves a lot of time and yields some insight into the underlying system.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (DIRSHARED-123) Root exceptions are discarded

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSHARED-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSHARED-123:
----------------------------------------

    Fix Version/s: 1.0.0-M4

> Root exceptions are discarded
> -----------------------------
>
>                 Key: DIRSHARED-123
>                 URL: https://issues.apache.org/jira/browse/DIRSHARED-123
>             Project: Directory Shared
>          Issue Type: Wish
>    Affects Versions: 1.0.0-M3
>            Reporter: Gerald Turner
>            Priority: Trivial
>             Fix For: 1.0.0-M4
>
>         Attachments: apache-ldap-api-add-causes-to-exceptions.patch
>
>
> Last week I burnt many hours trying to debug why LdapNetworkConnection bind was failing.  Eventually after getting LDAP client API and Apache Mina in a debugger I found the SocketException stored in a Future object which is discarded by the LDAP client API.  Later I was working on LDAP search, my filter had a syntax error but all I would get is the exception message "The filter is invalid" when it turns out the internal FilterParser has a more elaborate exception message which is discarded.
> Personally I prefer exceptions that keep their root causes intact as that saves a lot of time and yields some insight into the underlying system.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (DIRSHARED-123) Root exceptions are discarded

Posted by "Gerald Turner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSHARED-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerald Turner updated DIRSHARED-123:
------------------------------------

    Attachment: apache-ldap-api-add-causes-to-exceptions.patch

Patch against M3 which links root cases.

> Root exceptions are discarded
> -----------------------------
>
>                 Key: DIRSHARED-123
>                 URL: https://issues.apache.org/jira/browse/DIRSHARED-123
>             Project: Directory Shared
>          Issue Type: Wish
>    Affects Versions: 1.0.0-M3
>            Reporter: Gerald Turner
>            Priority: Trivial
>         Attachments: apache-ldap-api-add-causes-to-exceptions.patch
>
>
> Last week I burnt many hours trying to debug why LdapNetworkConnection bind was failing.  Eventually after getting LDAP client API and Apache Mina in a debugger I found the SocketException stored in a Future object which is discarded by the LDAP client API.  Later I was working on LDAP search, my filter had a syntax error but all I would get is the exception message "The filter is invalid" when it turns out the internal FilterParser has a more elaborate exception message which is discarded.
> Personally I prefer exceptions that keep their root causes intact as that saves a lot of time and yields some insight into the underlying system.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira