commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andre Huertas (JIRA)" <>
Subject [jira] Created: (JELLY-275) j:new casts objects to java.lang.String
Date Tue, 03 Apr 2007 19:45:32 GMT
j:new casts objects to java.lang.String

                 Key: JELLY-275
             Project: Commons Jelly
          Issue Type: Bug
          Components: core / taglib.core
    Affects Versions: 1.1.1
            Reporter: Andre Huertas

I execute the following Jelly script:

	<j:new var="foo" className="" >
		<j:arg value="."/>

	<j:invoke method="isFile" var="isFile" on="${foo}" />

and get the following Exception when I do:

java.lang.NoSuchMethodException: No such accessible method: isFile() on object: java.lang.String.

The same happens if I use the <util:file> tag.

When I take a look at my log4j file I see the following debug statement:

DEBUG main org.apache.commons.beanutils.ConvertUtils - Convert string '' to class

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message