tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Schwab (JIRA)" <j...@apache.org>
Subject [jira] Created: (TAP5-1054) Not able to pass an empty string as appName to PageTester
Date Tue, 16 Mar 2010 18:34:27 GMT
Not able to pass an empty string as appName to PageTester

                 Key: TAP5-1054
                 URL: https://issues.apache.org/jira/browse/TAP5-1054
             Project: Tapestry 5
          Issue Type: Bug
          Components: documentation, tapestry-core
    Affects Versions:
            Reporter: Stephan Schwab

On http://tapestry.apache.org/tapestry5.1/apidocs/org/apache/tapestry5/test/PageTester.html
it states that one can pass in an empty string for appName to PageTester(appPackage, appName)
or PageTester(appPackage, appName, contextPath, moduleClasses).

Doing so causes an IllegalArgumentException:

java.lang.IllegalArgumentException: Parameter appName was null or contained only whitespace.
	at org.apache.tapestry5.ioc.internal.util.Defense.notBlank(Defense.java:59)
	at org.apache.tapestry5.test.PageTester.<init>(PageTester.java:92)
	at org.apache.tapestry5.test.PageTester.<init>(PageTester.java:75)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message