I think you erased the selectors.
You cannot just erase nodes, even if you don't use them. Replace them with empty nodes.
 
Add this in the map:components node
<map:selectors/>
 
HTH
 
Bert
----- Original Message -----
Sent: Thursday, February 19, 2004 4:13 PM
Subject: Message error : UnnamedSelector

Hi,
 
i'm new with cocoon.
I try to execute the "traditional" hello world.
When i type the following URL " http://localhost:8080/cocoonCfort/hello.html" i have the following error message

Message: UnnamedSelector: ComponentSelector Attempted to retrieve component with null hint.

Description: org.apache.avalon.framework.component.ComponentException: UnnamedSelector: ComponentSelector Attempted to retrieve component with null hint.

Sender: org.apache.cocoon.servlet.CocoonServlet

Source: Cocoon Servlet

Request URI

hello.html

cause

org.apache.avalon.framework.component.ComponentException: UnnamedSelector: ComponentSelector Attempted to retrieve component with null hint.

request-uri

/cocoonCfort/hello.html
 
My sitemap is as follow :

<?xml version="1.0"?>

 

<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">

<!-- =========================== Views =================================== -->

<map:components>

<map:generators default="file">

<map:generator name="file" label="content,data"

src="" pool-max="32"

pool-min="16" pool-grow="4"/>

</map:generators>

<map:transformers default="xslt">

<map:transformer logger="sitemap.transformer.xslt" name="xslt" pool-grow="2" pool-max="32" pool-min="8" src=""/>

</map:transformers>

<map:serializers default="html">

<map:serializer logger="sitemap.serializer.html" mime-type="text/html" name="html" pool-grow="4" pool-max="32" pool-min="4" src="">

<doctype-public>-//W3C//DTD HTML 4.01 Transitional//EN</doctype-public>

<doctype-system>http://www.w3.org/TR/html4/loose.dtd</doctype-system>

</map:serializer>

</map:serializers>

<map:matchers default="wildcard">

<map:matcher logger="sitemap.matcher.wildcard" name="wildcard" src=""/>

</map:matchers>

</map:components>

<!-- =========================== Pipelines ================================= -->

<map:pipelines>

<map:pipeline>

<map:match pattern="*.html">

<map:generate src=""/>

<map:transform src=""/>

<map:serialize type="html"/>

</map:match>

</map:pipeline>

</map:pipelines>

</map:sitemap>

 

what's wrong ???

 

I use cocoon 2.1.4

 

THANKS

Reply via email to