Uploaded image for project: 'OODT (Retired)'
  1. OODT (Retired)
  2. OODT-538

oodt/grid produces unclear ClassNotFound messages with trailing spaces after product/profile class names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.4
    • 1.1
    • grid
    • None
    • PDP-11/35 running TOPS-19.5

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kelly Sean Kelly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: