You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "Marvin Humphrey (Created) (JIRA)" <ji...@apache.org> on 2011/11/02 02:44:33 UTC

[lucy-issues] [jira] [Created] (LUCY-185) Improve error handling when required params not supplied

Improve error handling when required params not supplied
--------------------------------------------------------

                 Key: LUCY-185
                 URL: https://issues.apache.org/jira/browse/LUCY-185
             Project: Lucy
          Issue Type: Bug
          Components: Clownfish, Perl bindings
    Affects Versions: 0.2.1 (incubating), 0.2.0 (incubating), 0.1.0 (incubating)
            Reporter: Marvin Humphrey
            Assignee: Marvin Humphrey
             Fix For: 0.3.0 (incubating)
         Attachments: LUCY-185.patch

The XS argument processing code for Lucy's Perl bindings is supposed to detect
when required parameters were not supplied by the user and throw an
informative exception.  Sometimes, it does not, resulting in invalid input
being passed to core functions.  Typically, this would be a missing required
object, resulting in a NULL-deref by the core code.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[lucy-issues] [jira] [Resolved] (LUCY-185) Improve error handling when required params not supplied

Posted by "Marvin Humphrey (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCY-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marvin Humphrey resolved LUCY-185.
----------------------------------

    Resolution: Fixed
    
> Improve error handling when required params not supplied
> --------------------------------------------------------
>
>                 Key: LUCY-185
>                 URL: https://issues.apache.org/jira/browse/LUCY-185
>             Project: Lucy
>          Issue Type: Bug
>          Components: Clownfish, Perl bindings
>    Affects Versions: 0.1.0 (incubating), 0.2.0 (incubating), 0.2.1 (incubating)
>            Reporter: Marvin Humphrey
>            Assignee: Marvin Humphrey
>             Fix For: 0.3.0 (incubating)
>
>         Attachments: LUCY-185.patch
>
>
> The XS argument processing code for Lucy's Perl bindings is supposed to detect
> when required parameters were not supplied by the user and throw an
> informative exception.  Sometimes, it does not, resulting in invalid input
> being passed to core functions.  Typically, this would be a missing required
> object, resulting in a NULL-deref by the core code.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[lucy-issues] [jira] [Updated] (LUCY-185) Improve error handling when required params not supplied

Posted by "Marvin Humphrey (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCY-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marvin Humphrey updated LUCY-185:
---------------------------------

    Attachment: LUCY-185.patch
    
> Improve error handling when required params not supplied
> --------------------------------------------------------
>
>                 Key: LUCY-185
>                 URL: https://issues.apache.org/jira/browse/LUCY-185
>             Project: Lucy
>          Issue Type: Bug
>          Components: Clownfish, Perl bindings
>    Affects Versions: 0.1.0 (incubating), 0.2.0 (incubating), 0.2.1 (incubating)
>            Reporter: Marvin Humphrey
>            Assignee: Marvin Humphrey
>             Fix For: 0.3.0 (incubating)
>
>         Attachments: LUCY-185.patch
>
>
> The XS argument processing code for Lucy's Perl bindings is supposed to detect
> when required parameters were not supplied by the user and throw an
> informative exception.  Sometimes, it does not, resulting in invalid input
> being passed to core functions.  Typically, this would be a missing required
> object, resulting in a NULL-deref by the core code.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira