cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Manuel Dodero Beardo <jmdod...@idealobjects.com>
Subject java.util.NoSuchElementException
Date Fri, 23 Jun 2000 08:28:20 GMT

I succesfully finish configuring Cocoon as said in Brett McLaughlin's book,
and when I try the examples in chapter 9 to transform XML into HTML, I get
this:
Error found handling the request.
	java.util.NoSuchElementException
		at java.util.StringTokenizer.nextToken(StringTokenizer.java,
Compiled Code)
		at org.apache.cocoon.Utils.getPIPseudoAttributes(Utils.java,
Compiled Code)
		at
org.apache.cocoon.processor.xslt.XSLTProcessor.getResource(XSLTProcessor.jav
a, Compiled Code)
		at
org.apache.cocoon.processor.xslt.XSLTProcessor.process(XSLTProcessor.java:10
0)
		at org.apache.cocoon.Engine.handle(Engine.java, Compiled
Code)
		at org.apache.cocoon.Cocoon.service(Cocoon.java:145)
		at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
		at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
Compiled Code)
		at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
		at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:160)
		at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
		at java.lang.Thread.run(Thread.java:479)

Is it possible that cocoon calls StringTokenizer.nextToken when it is
empty??
How can I manage this?

Thanks.
,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,
Juan Manuel Dodero Beardo
jmdodero@idealobjects.com


Mime
View raw message