You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> on 2008/01/26 00:00:58 UTC

[jira] Closed: (TAPESTRY-2064) java.lang.ClassNotFoundException for array properties

     [ https://issues.apache.org/jira/browse/TAPESTRY-2064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAPESTRY-2064.
------------------------------------------

       Resolution: Duplicate
    Fix Version/s:     (was: 5.0.10)
         Assignee: Howard M. Lewis Ship

Duplicate of TAPESTRY-2088, which has been fixed.

> java.lang.ClassNotFoundException for array properties
> -----------------------------------------------------
>
>                 Key: TAPESTRY-2064
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2064
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.0.8
>            Reporter: Alexey Pomogaev
>            Assignee: Howard M. Lewis Ship
>
> In 5.0.7 snapshot properties with type "String[]" normally worked, after
> update last revision problems have begun:
> java.lang.ClassNotFoundException
> java/lang/String[]
> Stack trace
>         * java.lang.Class.forName0(Native Method)
>         * java.lang.Class.forName(Class.java:247)
>         * org.apache.tapestry.internal.services.ComponentClassCacheImpl.forName(ComponentClassCacheImpl.java:50)
>         * org.apache.tapestry.internal.structure.InternalComponentResourcesImpl.readParameter(InternalComponentResourcesImpl.java:235)
>         * ru.getdone.view.components.OrdersList._$read_parameter_urlParams(OrdersList.java)
> I have made small testing:
>         public static void main(String[] args) throws ClassNotFoundException {
>                 String[] test = new String[] {};
>                 List<String> test2 = new ArrayList<String>();
>                 Class.forName(test.getClass().getCanonicalName()); //java.lang.ClassNotFoundException
>                 Class.forName(test2.getClass().getCanonicalName()); //ok
>                 Class.forName(test.getClass().getName()); //ok
>         }
> Probably in the tapestry it is necessary to use "getClass().getName()"
> for Array for the decision of a problem.

-- 
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org