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] Closed: (UIMA-281) org.apache.uima.pear.util.UIMAUtil.identifyUimaComponentCategory method may throw NullPointerException
Date Mon, 12 Feb 2007 17:06:32 GMT
On 2/8/07, Adam Lally <alally@alum.rpi.edu> wrote:
> On 2/7/07, Lev Kozakov <lev.kozakov@gmail.com> wrote:
> > This exception is never thrown in our test cases, because we don't use
> URLs
> > containing wrong descriptor XML files. We encountered this problem in
> the
> > OSGi context, and I decided to fix it in all releases of the code.
> >
> Can we add a test case for this?
> -Adam

I'm not quite sure that we need a special test case for this particular
problem. The bug was introduced long time ago when I added support for
descriptor URLs and overlooked several occurrences of the old code. We
already have ComponentCategoryTest, which uses 5 XML descriptor samples. If
you believe, additional test case is necessary, we can add one 'incorrect'
XML descriptor case to existing 5 cases.

-- Lev

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