cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hugo Burm" <hu...@xs4all.nl>
Subject Samples broken 2
Date Fri, 19 Jul 2002 02:47:35 GMT
"Samples broken 1" was the easy one. This one is more serious.

I downloaded the  current version from the CVS today and installed it on Win
XP / JVM 1.4 / Tomcat 4.1
I have a problem with the authentication example (and the portal login).
"/cocoon/samples/authentication/do-login" returns with a null-pointer
exception.
>From the sitemap log en de core log, it looks that the problem has something
to do with importing the userlist.xml file into a fragment. E.g. there is a
line in the log: loadXMLFromURI fragment=<?xml version="1.0"
encoding="ISO-8859-1"?>. Header only?

Can someone confirm this is a problem with the current version, or is it a
problem with my setup?


hugo burm
hugob@xs4all.nl


SITEMAP LOG
===========

DEBUG   (2002-07-19) 13:46.31:302   [sitemap.generator.file]
(/cocoon/samples/authentication/do-login) Thread-14/FileGenerator:
processing file docs/userlist.xml
DEBUG   (2002-07-19) 13:46.31:302   [sitemap.generator.file]
(/cocoon/samples/authentication/do-login) Thread-14/FileGenerator: file
resolved to
file:/C:/Tomcat4.1/webapps/cocoon/samples/authentication/docs/userlist.xml
[skipped four debugmessages about putting components back in the pool]
ERROR   (2002-07-19) 13:46.31:352   [sitemap]
(/cocoon/samples/authentication/do-login) Thread-14/PipelineNode: Error
while processing pipeline at
file:/C:/Tomcat4.1/webapps/cocoon/samples/authentication/sitemap.xmap:31:17
java.lang.NullPointerException
	at
org.apache.cocoon.webapps.session.xml.XMLUtil.getFirstNodeFromPath(XMLUtil.j
ava:801)
	at
org.apache.cocoon.webapps.session.xml.XMLUtil.getFirstNodeFromPath(XMLUtil.j
ava:748)
	at
org.apache.cocoon.webapps.authentication.components.AuthenticationManager.au
thenticate(AuthenticationManager.java:823)
	at
org.apache.cocoon.webapps.authentication.acting.LoginAction.act(LoginAction.
java:130)


CORE LOG
========
file:/C:/Tomcat4.1/webapps/cocoon/samples/authentication/stylesheets/authent
icate.xsl;use-request-parameters=true;name=request:username
DEBUG   (2002-07-19) 13:46.31:312   [core.store.transient]
(/cocoon/samples/authentication/do-login) Thread-14/MRUMemoryStore:   value:
org.apache.cocoon.caching.CachedResponse@9cd8db
DEBUG   (2002-07-19) 13:46.31:312   [core.manager]
(/cocoon/samples/authentication/do-login) Thread-14/ResourceLimitingPool:
Put a org.apache.cocoon.components.sax.XMLByteStreamCompiler back into the
pool.
DEBUG   (2002-07-19) 13:46.31:342   [core.manager]
(/cocoon/samples/authentication/do-login) Thread-14/ResourceConnectorImpl:
END loadXMLFromURI fragment=<?xml version="1.0" encoding="ISO-8859-1"?>
<authentication/>
DEBUG   (2002-07-19) 13:46.31:342   [core.manager]
(/cocoon/samples/authentication/do-login) Thread-14/ResourceConnectorImpl:
finished loading 'cocoon:raw:/authenticate'
DEBUG   (2002-07-19) 13:46.31:342   [core.authentication-manager]
(/cocoon/samples/authentication/do-login) Thread-14/AuthenticationManager:
end invoking auth resource
DEBUG   (2002-07-19) 13:46.31:342   [core.authentication-manager]
(/cocoon/samples/authentication/do-login) Thread-14/AuthenticationManager:
BEGIN isValidAuthenticationFragment fragment=[#document-fragment: null]
DEBUG   (2002-07-19) 13:46.31:342   [core.authentication-manager]
(/cocoon/samples/authentication/do-login) Thread-14/AuthenticationManager:
END isValidAuthenticationFragment valid=false
INFO    (2002-07-19) 13:46.31:342   [core.authentication-manager]
(/cocoon/samples/authentication/do-login) Thread-14/AuthenticationManager:
AuthenticationManager: Failed authentication using handler 'demohandler'


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


Mime
View raw message