uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lev Kozakov" <lev.koza...@gmail.com>
Subject Re: [jira] Resolved: (UIMA-288) NPE possible in PEAR Util XMLUtil printError method
Date Mon, 12 Feb 2007 17:19:21 GMT
On 2/7/07, Marshall Schor (JIRA) <uima-dev@incubator.apache.org> wrote:
>
>
>     [
> https://issues.apache.org/jira/browse/UIMA-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Marshall Schor resolved UIMA-288.
> ---------------------------------
>
>    Resolution: Fixed
>
> Fixed, but there are still some questions - assigning to Lev to review.
>
> Question: is this the right fix?
> If "ex" is null, 3 "!" are printed to System.out, while the rest of the
> messages are directed to System.err.  What should the behavior be in this
> case - the current behavior doesn't seem helpful.


Well, I don't remember what was the purpose of printing 3 '!'s
there, probably, it was done for debugging. I can fix the problem by just
removing this code.

-- Lev

> NPE possible in PEAR Util XMLUtil printError method
> > ---------------------------------------------------
> >
> >                 Key: UIMA-288
> >                 URL: https://issues.apache.org/jira/browse/UIMA-288
> >             Project: UIMA
> >          Issue Type: Bug
> >          Components: Core Java Framework
> >    Affects Versions: 2.1
> >            Reporter: Marshall Schor
> >         Assigned To: Marshall Schor
> >            Priority: Trivial
> >             Fix For: 2.1
> >
> >
> > If null is passed as the SAXParseException, there is incomplete code
> handling this case.  Add necessary additional handling for this case.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message