oodt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris A. Mattmann (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OODT-538) oodt/grid produces unclear ClassNotFound messages with trailing spaces after product/profile class names
Date Fri, 14 Dec 2012 00:34:16 GMT

     [ https://issues.apache.org/jira/browse/OODT-538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris A. Mattmann updated OODT-538:
-----------------------------------

    Fix Version/s:     (was: 0.5)
                   0.6

- push out to 0.6
                
> oodt/grid produces unclear ClassNotFound messages with trailing spaces after product/profile
class names
> --------------------------------------------------------------------------------------------------------
>
>                 Key: OODT-538
>                 URL: https://issues.apache.org/jira/browse/OODT-538
>             Project: OODT
>          Issue Type: Bug
>          Components: grid
>    Affects Versions: 0.4
>         Environment: PDP-11/35 running TOPS-19.5
>            Reporter: Sean Kelly
>             Fix For: 0.6
>
>
> In order to avoid typing overly long class names into the OODT Web Grid configuration
panel, users commonly resort to copy & paste.  However, there's a risk of grabbing a trailing
space when copying & pasting.  Web Grid happily records a long class name as "a.b.c.d.DProductHandler
", along with that trailing space, but the user in unaware since it looks just fine in the
HTML-marked up web page.
> The problem occurs when Web Grid tries to instantiate such a class.  This produces a
nice Tomcat error page with a java.lang.ClassNotFoundException; however, the user is still
unaware that anything's amiss because the error page is also rendered in HTML and hides the
trailing space.
> To avoid such time losses in the future, Web Grid should strip spaces from class names
that are entered into its config page.  It may as well and do that for other items on the
config page as well, such as the code bases list.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message