You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2005/11/01 07:57:55 UTC

[jira] Commented: (COCOON-1668) o.a.c.forms.formmodel.GroupTestCase fails

    [ http://issues.apache.org/jira/browse/COCOON-1668?page=comments#action_12356475 ] 

Bertrand Delacretaz commented on COCOON-1668:
---------------------------------------------

Looks like the problem is in src/blocks/forms/test/org/apache/cocoon/forms/formmodel/GroupTestCase.xtest which refers to the o.a.c.core.container.DefaultServiceSelector class which does not exist in the 2.1 branch:

  <role name="org.apache.cocoon.forms.validation.WidgetValidatorBuilderSelector"
        shorthand="forms-validators"
        default-class="org.apache.cocoon.core.container.DefaultServiceSelector"/>

...

So we must either find a way to make this test compatible with both the 2.1 branch and trunk (as the forms block code is shared between these two), or deactivate this test in the 2.1 branch.

> o.a.c.forms.formmodel.GroupTestCase fails
> -----------------------------------------
>
>          Key: COCOON-1668
>          URL: http://issues.apache.org/jira/browse/COCOON-1668
>      Project: Cocoon
>         Type: Bug
>   Components: Blocks: Forms
>     Versions: 2.1.8-dev (Current SVN)
>     Reporter: Bertrand Delacretaz
>     Assignee: Cocoon Developers Team
>     Priority: Minor
>      Fix For: 2.1.8-dev (Current SVN)

>
> In revision 329128, org.apache.cocoon.forms.formmodel.GroupTestCase fails on my macosx/JDK 1.4.2-38 system, the core problem seems to be "class org.apache.cocoon.core.container.DefaultServiceSelector not found".
> testInheritance:
> Could not get class
> org.apache.avalon.framework.configuration.ConfigurationException: Could not get class at org.apache.avalon.excalibur.component.ExcaliburComponentManager.configure(ExcaliburComponentManager.java:458) at org.apache.cocoon.core.container.ContainerTestCase.setupManagers(ContainerTestCase.java:267) at org.apache.cocoon.core.container.ContainerTestCase.prepare(ContainerTestCase.java:190) at org.apache.cocoon.core.container.ContainerTestCase.prepare(ContainerTestCase.java:162) at org.apache.cocoon.core.container.ContainerTestCase.setUp(ContainerTestCase.java:146)Caused by: java.lang.ClassNotFoundException: org.apache.cocoon.core.container.DefaultServiceSelector at java.net.URLClassLoader$1.run(URLClassLoader.java:199) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at org.apache.avalon.excalibur.component.ExcaliburComponentManager.configure(ExcaliburComponentManager.java:444) ... 14 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira