cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: HostSelector broken
Date Mon, 18 Jun 2001 05:03:36 GMT
On Sun, 17 Jun 2001, Andreas Neuenschwander wrote:

> Hi,
>
> I updated today to cocoon2.1-dev version.
>
> It seems that the HostSelector sitemap component is broken.
> With my previous version of cocoon (2.0a7)  it worked fine.
>
> Can someone fix this problem?

A patch would be appreciated.

Giacomo

>
>
> andi
>
>
>
> --------------------------
>
> type internal-server-error
>
> message Exception in Handler
>
> description org.apache.cocoon.ProcessingException: Exception in
> Handler:org.apache.cocoon.ProcessingException: Language
> Exception:org.apache.cocoon.components.language.LanguageException: Error
> compiling sitemap_xmap: Line 0, column 0:
> /tmp/JettyContext36400.tmp/org/apache/cocoon/www/sitemap_xmap.java:1820:
> Type expected. if (hostSelect(selector_host_N15E_expr, objectModel,
> emptyParam)) { ^
>
> sender org.apache.cocoon.servlet.CocoonServlet
>
> source Cocoon servlet
>
> request-uri
>
> /
>
> embedded exception
>
> org.apache.cocoon.ProcessingException: Language
> Exception:org.apache.cocoon.components.language.LanguageException: Error
> compiling sitemap_xmap:
> Line 0, column 0:
> /tmp/JettyContext36400.tmp/org/apache/cocoon/www/sitemap_xmap.java:1820:
> Type expected.
>   if (hostSelect(selector_host_N15E_expr, objectModel, emptyParam)) {
>   ^
>
>
> embedded exception stacktrace
>
> org.apache.cocoon.ProcessingException: Language
> Exception:org.apache.cocoon.components.language.LanguageException: Error
> compiling sitemap_xmap:
> Line 0, column 0:
> /tmp/JettyContext36400.tmp/org/apache/cocoon/www/sitemap_xmap.java:1820:
> Type expected.
>   if (hostSelect(selector_host_N15E_expr, objectModel, emptyParam)) {
>   ^
>
>  at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
> ogramGeneratorImpl.java:162)
>  at org.apache.cocoon.sitemap.Handler.run(Handler.java:214)
>  at java.lang.Thread.run(Thread.java:484)
> org.apache.cocoon.components.language.LanguageException: Error compiling
> sitemap_xmap:
> Line 0, column 0:
> /tmp/JettyContext36400.tmp/org/apache/cocoon/www/sitemap_xmap.java:1820:
> Type expected.
>   if (hostSelect(selector_host_N15E_expr, objectModel, emptyParam)) {
>   ^
>
>  at
> org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(
> JavaLanguage.java:203)
>  at
> org.apache.cocoon.components.language.programming.CompiledProgrammingLanguag
> e.load(CompiledProgrammingLanguage.java:131)
>  at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
> eResource(ProgramGeneratorImpl.java:250)
>  at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
> ogramGeneratorImpl.java:159)
>  at org.apache.cocoon.sitemap.Handler.run(Handler.java:214)
>  at java.lang.Thread.run(Thread.java:484)
>
>
> exception
>
> org.apache.cocoon.ProcessingException: Exception in
> Handler:org.apache.cocoon.ProcessingException: Language
> Exception:org.apache.cocoon.components.language.LanguageException: Error
> compiling sitemap_xmap:
> Line 0, column 0:
> /tmp/JettyContext36400.tmp/org/apache/cocoon/www/sitemap_xmap.java:1820:
> Type expected.
>   if (hostSelect(selector_host_N15E_expr, objectModel, emptyParam)) {
>   ^
>
>
> path-info
>
>
>
> stacktrace
>
> org.apache.cocoon.ProcessingException: Exception in
> Handler:org.apache.cocoon.ProcessingException: Language
> Exception:org.apache.cocoon.components.language.LanguageException: Error
> compiling sitemap_xmap:
> Line 0, column 0:
> /tmp/JettyContext36400.tmp/org/apache/cocoon/www/sitemap_xmap.java:1820:
> Type expected.
>   if (hostSelect(selector_host_N15E_expr, objectModel, emptyParam)) {
>   ^
>
>  at
> org.apache.cocoon.sitemap.Handler.throwEventualException(Handler.java:246)
>  at org.apache.cocoon.sitemap.Handler.regenerate(Handler.java:161)
>  at org.apache.cocoon.sitemap.Manager.getHandler(Manager.java:168)
>  at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:93)
>  at org.apache.cocoon.Cocoon.process(Cocoon.java:328)
>  at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
> com.mortbay.HTTP.Handler.Servlet.ServletHolder.handle(ServletHolder.java:474
> )
>  at
> com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHandler.java:4
> 30)
>  at
> com.mortbay.HTTP.Handler.Servlet.ServletHandler.handle(ServletHandler.java:2
> 86)
>  at com.mortbay.HTTP.HandlerContext.handle(HandlerContext.java:1087)
>  at com.mortbay.HTTP.HttpServer.service(HttpServer.java:662)
>  at com.mortbay.HTTP.HttpConnection.service(HttpConnection.java:457)
>  at com.mortbay.HTTP.HttpConnection.handle(HttpConnection.java:317)
>  at com.mortbay.HTTP.SocketListener.handleConnection(SocketListener.java:99)
>  at com.mortbay.Util.ThreadedServer.handle(ThreadedServer.java:254)
>  at com.mortbay.Util.ThreadPool$PoolThreadRunnable.run(ThreadPool.java:601)
>  at java.lang.Thread.run(Thread.java:484)
> org.apache.cocoon.ProcessingException: Language
> Exception:org.apache.cocoon.components.language.LanguageException: Error
> compiling sitemap_xmap:
> Line 0, column 0:
> /tmp/JettyContext36400.tmp/org/apache/cocoon/www/sitemap_xmap.java:1820:
> Type expected.
>   if (hostSelect(selector_host_N15E_expr, objectModel, emptyParam)) {
>   ^
>
>  at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
> ogramGeneratorImpl.java:162)
>  at org.apache.cocoon.sitemap.Handler.run(Handler.java:214)
>  at java.lang.Thread.run(Thread.java:484)
> org.apache.cocoon.components.language.LanguageException: Error compiling
> sitemap_xmap:
> Line 0, column 0:
> /tmp/JettyContext36400.tmp/org/apache/cocoon/www/sitemap_xmap.java:1820:
> Type expected.
>   if (hostSelect(selector_host_N15E_expr, objectModel, emptyParam)) {
>   ^
>
>  at
> org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(
> JavaLanguage.java:203)
>  at
> org.apache.cocoon.components.language.programming.CompiledProgrammingLanguag
> e.load(CompiledProgrammingLanguage.java:131)
>  at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
> eResource(ProgramGeneratorImpl.java:250)
>  at
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
> ogramGeneratorImpl.java:159)
>  at org.apache.cocoon.sitemap.Handler.run(Handler.java:214)
>  at java.lang.Thread.run(Thread.java:484)
>
>
>
>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
>
>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message