You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2008/11/10 04:04:44 UTC
[jira] Created: (LUCENE-1447) Improve payload error
handling/reporting
Improve payload error handling/reporting
----------------------------------------
Key: LUCENE-1447
URL: https://issues.apache.org/jira/browse/LUCENE-1447
Project: Lucene - Java
Issue Type: Improvement
Reporter: Mark Miller
Priority: Trivial
Fix For: 2.9
If you try to load a payload more than once you get the exception: IOException("Payload cannot be loaded more than once for the same term position.");
You also get this exception if their is no payload to load, and its a bit confusing, as the message doesn't relate to the actual problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Assigned: (LUCENE-1447) Improve payload error
handling/reporting
Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-1447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless reassigned LUCENE-1447:
------------------------------------------
Assignee: Michael McCandless
> Improve payload error handling/reporting
> ----------------------------------------
>
> Key: LUCENE-1447
> URL: https://issues.apache.org/jira/browse/LUCENE-1447
> Project: Lucene - Java
> Issue Type: Improvement
> Reporter: Mark Miller
> Assignee: Michael McCandless
> Priority: Trivial
> Fix For: 2.9
>
> Attachments: LUCENE-1447.patch
>
>
> If you try to load a payload more than once you get the exception: IOException("Payload cannot be loaded more than once for the same term position.");
> You also get this exception if their is no payload to load, and its a bit confusing, as the message doesn't relate to the actual problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Updated: (LUCENE-1447) Improve payload error
handling/reporting
Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-1447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Miller updated LUCENE-1447:
--------------------------------
Attachment: LUCENE-1447.patch
Not sure whats best here, but I don't like the idea of adding another variable just to know which case the error is. So how about just changing the message to alert you that either case could be the problem?
> Improve payload error handling/reporting
> ----------------------------------------
>
> Key: LUCENE-1447
> URL: https://issues.apache.org/jira/browse/LUCENE-1447
> Project: Lucene - Java
> Issue Type: Improvement
> Reporter: Mark Miller
> Priority: Trivial
> Fix For: 2.9
>
> Attachments: LUCENE-1447.patch
>
>
> If you try to load a payload more than once you get the exception: IOException("Payload cannot be loaded more than once for the same term position.");
> You also get this exception if their is no payload to load, and its a bit confusing, as the message doesn't relate to the actual problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Resolved: (LUCENE-1447) Improve payload error
handling/reporting
Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-1447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless resolved LUCENE-1447.
----------------------------------------
Resolution: Fixed
Committed revision 714231.
Thanks Mark!
> Improve payload error handling/reporting
> ----------------------------------------
>
> Key: LUCENE-1447
> URL: https://issues.apache.org/jira/browse/LUCENE-1447
> Project: Lucene - Java
> Issue Type: Improvement
> Reporter: Mark Miller
> Assignee: Michael McCandless
> Priority: Trivial
> Fix For: 2.9
>
> Attachments: LUCENE-1447.patch
>
>
> If you try to load a payload more than once you get the exception: IOException("Payload cannot be loaded more than once for the same term position.");
> You also get this exception if their is no payload to load, and its a bit confusing, as the message doesn't relate to the actual problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org