[
https://issues.apache.org/jira/browse/OODT-538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris A. Mattmann resolved OODT-538.
------------------------------------
Resolution: Won't Fix
- won't fix
> 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: 1.1
>
>
> 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 was sent by Atlassian JIRA
(v6.4.14#64029)