You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Sean Kelly (JIRA)" <ji...@apache.org> on 2012/11/27 15:53:57 UTC

[jira] [Created] (OODT-538) oodt/grid produces unclear ClassNotFound messages with trailing spaces after product/profile class names

Sean Kelly created OODT-538:
-------------------------------

             Summary: 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.5


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