cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agsoftware.dnsalias.com>
Subject Re: DO NOT REPLY [Bug 16248] New: - Reloading a modified page causes NPE
Date Mon, 20 Jan 2003 06:34:04 GMT
Hi!

I can confirm that the new cache implementation is a little buggy. I was
the last 5 days trying to make run my application (that is already tested)
in the lastest CVS.

I am another error with the new cache interface. I dont know where is the
problem. Throw an exception about some UnnamedSelector:

ERROR   (2003-01-14) 17:12.17:171   [core.manager] (/myapp/aut-inicio)
> Thread-7/ExcaliburComponentSelector: UnnamedSelector: ComponentSelector
> Attempted to retrieve component with null hint.

Carsten said me about trying to find the component. But I dont know where
the problem is. The sitemap with redirection (line 2) is:

1  <map:match pattern="">
2    <map:redirect-to uri="aut-inicio"/>
3  </map:match>
4
5  <map:match pattern="aut-inicio">
6    <map:act type="auth-loggedIn">
7      <map:parameter name="handler" value="myhandler"/>
8        <map:redirect-to uri="bienvenidos"/>
9    </map:act>
10   <map:generate src="docs/aut-inicio.xsp" type="serverpages"/>
11   <map:transform src="stylesheets/tohtml.xsl"/>
12   <map:transform type="encodeURL"/>
13   <map:serialize/>
14 </map:match>

After redirection it execute the action auth-loggedIn (line 6) and the it
crash with:

ERROR   (2003-01-14) 17:12.17:171   [core.manager] (/myapp/aut-inicio)
> Thread-7/ExcaliburComponentSelector: UnnamedSelector: ComponentSelector
> Attempted to retrieve component with null hint.

I think that the problem can be related to the XSP generator (line 10) .
But this XSP page is just a simple form for logging. I am going really
crazy with this.

I am searching in the 3 books of Cocoon trying to figure out how works
internally but I think I need a debuger to do this.

Please tell me if there is a chance to run Cocoon under Debug mode using
clipse.org or another tool. I am just thinking in the Sun environment
"Forte". Maybe it can help?!

Currently I am setting some logging using logkit but this is a time
consuming approach.

Best Regards,

Antonio Gallardo


Note: Here is the docs/aut-inicio.xsp file. As you can see it is very
simple. This is translated from spanish to english to post on the list.

***************** The XSP Page ****************
<xsp:page xmlns:xsp="http://apache.org/xsp">
> <document menu="false">
>   <permiso>publico</permiso>
>   <header>
>     <title>Price Exchange System</title>
>   </header>
>   <t1 title="User Authentication">
>     <loginform>
>       <url resource="bienvenidos">my-login</url>
>       <field name="username" type="text" size="24"
>         label="User" help="Write the username"/>
>       <field name="password" type="password" size="10"
>         label="Password" help="Write the password"/>
>     </loginform>
>   </t1>
>   <note>Please write your username and password</note>
> </document>
> </xsp:page>

***********************************************



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message