incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi Ito (JIRA)" <j...@apache.org>
Subject [jira] Created: (CLEREZZA-244) when an ssp has a scale script error it is impossible to get rid of it - platform has to be restarted
Date Mon, 21 Jun 2010 15:01:23 GMT
when an ssp has a scale script error it is impossible to get rid of it - platform has to be
restarted
-----------------------------------------------------------------------------------------------------

                 Key: CLEREZZA-244
                 URL: https://issues.apache.org/jira/browse/CLEREZZA-244
             Project: Clerezza
          Issue Type: Bug
            Reporter: Tsuyoshi Ito
            Priority: Blocker


I have written an ssp with the following content

<div>{"foo " + (res/rdfs("label")*) </div>

forgot the closing brace " }". i fixed the bug and try to build and update the bundle again
but the following error still exists. After restart the platform the error disappears.



HTTP ERROR 500

Problem accessing /tools/page-manager/draft-pages. Reason:

    org.wymiwyg.wrhapi.HandlerException: java.security.PrivilegedActionException: javax.script.ScriptException:
<script>:96: error: Missing closing brace `}' assumed here		<fieldset>       
        ^<script>:109: error: in XML literal: name expected, but char '
' cannot start a name					{                                         ^<script>:110: error:
in XML literal: '=' expected instead of '('					for(page <- (res/publishing("version"))
                                          ^<script>:110: error: in XML literal: ' or
" delimited attribute value or '{' scala-expr '}' expected					for(page <- (res/publishing("version"))
                                           ^<script>:110: error: in XML literal: whitespace
expected					for(page <- (res/publishing("version"))                                  
          ^<script>:110: error: in XML literal: '=' expected instead of '<'					for(page
<- (res/publishing("version"))                                                 ^<script>:110:
error: in XML literal: ' or " delimited attribute value or '{' scala-expr '}' expected			
	for(page <- (res/publishing("version"))                                              
   ^<script>:110: error: in XML literal: '>' expected instead of '('					for(page
<- (res/publishing("version"))                                                    ^<script>:111:
error: in XML literal: name expected, but char ' ' cannot start a name						.sort((a,b) =>
((a/publishing("publishingStart")*) < (b/publishing("publishingStart")*)))) yield {   
                                                                                         
      ^<script>:111: error: in XML literal: '>' expected instead of '('						.sort((a,b)
=> ((a/publishing("publishingStart")*) < (b/publishing("publishingStart")*)))) yield
{                                                                                        
            ^<script>:124: error: in XML literal: in XML content, please use '}}' to
express '}'					}                                        ^<script>:141: error: in XML
literal: in XML content, please use '}}' to express '}'}^ in script

Caused by:

java.lang.RuntimeException: org.wymiwyg.wrhapi.HandlerException: java.security.PrivilegedActionException:
javax.script.ScriptException: <script>:96: error: Missing closing brace `}' assumed
here		<fieldset>                ^<script>:109: error: in XML literal: name expected,
but char '
' cannot start a name					{                                         ^<script>:110: error:
in XML literal: '=' expected instead of '('					for(page <- (res/publishing("version"))
                                          ^<script>:110: error: in XML literal: ' or
" delimited attribute value or '{' scala-expr '}' expected					for(page <- (res/publishing("version"))
                                           ^<script>:110: error: in XML literal: whitespace
expected					for(page <- (res/publishing("version"))                                  
          ^<script>:110: error: in XML literal: '=' expected instead of '<'					for(page
<- (res/publishing("version"))                                                 ^<script>:110:
error: in XML literal: ' or " delimited attribute value or '{' scala-expr '}' expected			
	for(page <- (res/publishing("version"))                                              
   ^<script>:110: error: in XML literal: '>' expected instead of '('					for(page
<- (res/publishing("version"))                                                    ^<script>:111:
error: in XML literal: name expected, but char ' ' cannot start a name						.sort((a,b) =>
((a/publishing("publishingStart")*) < (b/publishing("publishingStart")*)))) yield {   
                                                                                         
      ^<script>:111: error: in XML literal: '>' expected instead of '('						.sort((a,b)
=> ((a/publishing("publishingStart")*) < (b/publishing("publishingStart")*)))) yield
{                                                                                        
            ^<script>:124: error: in XML literal: in XML content, please use '}}' to
express '}'					}                                        ^<script>:141: error: in XML
literal: in XML content, please use '}}' to express '}'}^ in script
	at org.apache.clerezza.triaxrs.ResponseProcessor$1.writeTo(ResponseProcessor.java:349)
	at org.apache.clerezza.triaxrs.ResponseProcessor$1.access$200(ResponseProcessor.java:260)
	at org.apache.clerezza.triaxrs.ResponseProcessor$1$3.run(ResponseProcessor.java:293)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:396)
	at org.apache.clerezza.triaxrs.ResponseProcessor$1.writeTo(ResponseProcessor.java:289)
	at org.wymiwyg.wrhapi.osgi.OsgiWebServerFactory$1.service(OsgiWebServerFactory.java:112)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.handle(HttpServiceServletHandler.java:64)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.handle(HttpServiceContext.java:111)
	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:64)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
Caused by: org.wymiwyg.wrhapi.HandlerException: java.security.PrivilegedActionException: javax.script.ScriptException:
<script>:96: error: Missing closing brace `}' assumed here		<fieldset>       
        ^<script>:109: error: in XML literal: name expected, but char '
' cannot start a name					{                                         ^<script>:110: error:
in XML literal: '=' expected instead of '('					for(page <- (res/publishing("version"))
                                          ^<script>:110: error: in XML literal: ' or
" delimited attribute value or '{' scala-expr '}' expected					for(page <- (res/publishing("version"))
                                           ^<script>:110: error: in XML literal: whitespace
expected					for(page <- (res/publishing("version"))                                  
          ^<script>:110: error: in XML literal: '=' expected instead of '<'					for(page
<- (res/publishing("version"))                                                 ^<script>:110:
error: in XML literal: ' or " delimited attribute value or '{' scala-expr '}' expected			
	for(page <- (res/publishing("version"))                                              
   ^<script>:110: error: in XML literal: '>' expected instead of '('					for(page
<- (res/publishing("version"))                                                    ^<script>:111:
error: in XML literal: name expected, but char ' ' cannot start a name						.sort((a,b) =>
((a/publishing("publishingStart")*) < (b/publishing("publishingStart")*)))) yield {   
                                                                                         
      ^<script>:111: error: in XML literal: '>' expected instead of '('						.sort((a,b)
=> ((a/publishing("publishingStart")*) < (b/publishing("publishingStart")*)))) yield
{                                                                                        
            ^<script>:124: error: in XML literal: in XML content, please use '}}' to
express '}'					}                                        ^<script>:141: error: in XML
literal: in XML content, please use '}}' to express '}'}^ in script
	at org.apache.clerezza.triaxrs.JaxRsHandler.handleException(JaxRsHandler.java:591)
	at org.apache.clerezza.triaxrs.ResponseProcessor$1.writeTo(ResponseProcessor.java:319)
	... 23 more
Caused by: java.security.PrivilegedActionException: javax.script.ScriptException: <script>:96:
error: Missing closing brace `}' assumed here		<fieldset>                ^<script>:109:
error: in XML literal: name expected, but char '
' cannot start a name					{                                         ^<script>:110: error:
in XML literal: '=' expected instead of '('					for(page <- (res/publishing("version"))
                                          ^<script>:110: error: in XML literal: ' or
" delimited attribute value or '{' scala-expr '}' expected					for(page <- (res/publishing("version"))
                                           ^<script>:110: error: in XML literal: whitespace
expected					for(page <- (res/publishing("version"))                                  
          ^<script>:110: error: in XML literal: '=' expected instead of '<'					for(page
<- (res/publishing("version"))                                                 ^<script>:110:
error: in XML literal: ' or " delimited attribute value or '{' scala-expr '}' expected			
	for(page <- (res/publishing("version"))                                              
   ^<script>:110: error: in XML literal: '>' expected instead of '('					for(page
<- (res/publishing("version"))                                                    ^<script>:111:
error: in XML literal: name expected, but char ' ' cannot start a name						.sort((a,b) =>
((a/publishing("publishingStart")*) < (b/publishing("publishingStart")*)))) yield {   
                                                                                         
      ^<script>:111: error: in XML literal: '>' expected instead of '('						.sort((a,b)
=> ((a/publishing("publishingStart")*) < (b/publishing("publishingStart")*)))) yield
{                                                                                        
            ^<script>:124: error: in XML literal: in XML content, please use '}}' to
express '}'					}                                        ^<script>:141: error: in XML
literal: in XML content, please use '}}' to express '}'}^ in script
	at java.security.AccessController.doPrivileged(Native Method)
	at org.apache.clerezza.scala.scripting.ScriptEngineFactory$MyScriptEngine$.compile(ScriptEngineFactory.scala:221)
	at org.apache.clerezza.platform.typerendering.scalaserverpages.ScalaServerPagesRenderlet.getCompiledScript(ScalaServerPagesRenderlet.java:232)
	at org.apache.clerezza.platform.typerendering.scalaserverpages.ScalaServerPagesRenderlet.render(ScalaServerPagesRenderlet.java:141)
	at org.apache.clerezza.platform.typerendering.RendererImpl.render(RendererImpl.java:92)
	at org.apache.clerezza.platform.typerendering.GenericGraphNodeMBW.writeTo(GenericGraphNodeMBW.java:154)
	at org.apache.clerezza.platform.typerendering.GenericGraphNodeMBW.writeTo(GenericGraphNodeMBW.java:75)
	at org.apache.clerezza.triaxrs.ResponseProcessor$1.writeTo(ResponseProcessor.java:313)
	... 23 more
Caused by: javax.script.ScriptException: <script>:96: error: Missing closing brace `}'
assumed here		<fieldset>                ^<script>:109: error: in XML literal:
name expected, but char '
' cannot start a name					{                                         ^<script>:110: error:
in XML literal: '=' expected instead of '('					for(page <- (res/publishing("version"))
                                          ^<script>:110: error: in XML literal: ' or
" delimited attribute value or '{' scala-expr '}' expected					for(page <- (res/publishing("version"))
                                           ^<script>:110: error: in XML literal: whitespace
expected					for(page <- (res/publishing("version"))                                  
          ^<script>:110: error: in XML literal: '=' expected instead of '<'					for(page
<- (res/publishing("version"))                                                 ^<script>:110:
error: in XML literal: ' or " delimited attribute value or '{' scala-expr '}' expected			
	for(page <- (res/publishing("version"))                                              
   ^<script>:110: error: in XML literal: '>' expected instead of '('					for(page
<- (res/publishing("version"))                                                    ^<script>:111:
error: in XML literal: name expected, but char ' ' cannot start a name						.sort((a,b) =>
((a/publishing("publishingStart")*) < (b/publishing("publishingStart")*)))) yield {   
                                                                                         
      ^<script>:111: error: in XML literal: '>' expected instead of '('						.sort((a,b)
=> ((a/publishing("publishingStart")*) < (b/publishing("publishingStart")*)))) yield
{                                                                                        
            ^<script>:124: error: in XML literal: in XML content, please use '}}' to
express '}'					}                                        ^<script>:141: error: in XML
literal: in XML content, please use '}}' to express '}'}^ in script
	at org.apache.clerezza.scala.scripting.ScriptEngineFactory$MyScriptEngine$$anon$3.run(ScriptEngineFactory.scala:235)
	at org.apache.clerezza.scala.scripting.ScriptEngineFactory$MyScriptEngine$$anon$3.run(ScriptEngineFactory.scala:221)
	... 31 more

Caused by:

org.wymiwyg.wrhapi.HandlerException: java.security.PrivilegedActionException: javax.script.ScriptException:
<script>:96: error: Missing closing brace `}' assumed here		<fieldset>       
        ^<script>:109: error: in XML literal: name expected, but char '
' cannot start a name					{                                         ^<script>:110: error:
in XML literal: '=' expected instead of '('					for(page <- (res/publishing("version"))
                                          ^<script>:110: error: in XML literal: ' or
" delimited attribute value or '{' scala-expr '}' expected					for(page <- (res/publishing("version"))
                                           ^<script>:110: error: in XML literal: whitespace
expected					for(page <- (res/publishing("version"))                                  
          ^<script>:110: error: in XML literal: '=' expected instead of '<'					for(page
<- (res/publishing("version"))                                                 ^<script>:110:
error: in XML literal: ' or " delimited attribute value or '{' scala-expr '}' expected			
	for(page <- (res/publishing("version"))                                              
   ^<script>:110: error: in XML literal: '>' expected instead of '('					for(page
<- (res/publishing("version"))                                                    ^<script>:111:
error: in XML literal: name expected, but char ' ' cannot start a name						.sort((a,b) =>
((a/publishing("publishingStart")*) < (b/publishing("publishingStart")*)))) yield {   
                                                                                         
      ^<script>:111: error: in XML literal: '>' expected instead of '('						.sort((a,b)
=> ((a/publishing("publishingStart")*) < (b/publishing("publishingStart")*)))) yield
{                                                                                        
            ^<script>:124: error: in XML literal: in XML content, please use '}}' to
express '}'					}                                        ^<script>:141: error: in XML
literal: in XML content, please use '}}' to express '}'}^ in script
	at org.apache.clerezza.triaxrs.JaxRsHandler.handleException(JaxRsHandler.java:591)
	at org.apache.clerezza.triaxrs.ResponseProcessor$1.writeTo(ResponseProcessor.java:319)
	at org.apache.clerezza.triaxrs.ResponseProcessor$1.access$200(ResponseProcessor.java:260)
	at org.apache.clerezza.triaxrs.ResponseProcessor$1$3.run(ResponseProcessor.java:293)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:396)
	at org.apache.clerezza.triaxrs.ResponseProcessor$1.writeTo(ResponseProcessor.java:289)
	at org.wymiwyg.wrhapi.osgi.OsgiWebServerFactory$1.service(OsgiWebServerFactory.java:112)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.handle(HttpServiceServletHandler.java:64)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.handle(HttpServiceContext.java:111)
	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:64)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
Caused by: java.security.PrivilegedActionException: javax.script.ScriptException: <script>:96:
error: Missing closing brace `}' assumed here		<fieldset>                ^<script>:109:
error: in XML literal: name expected, but char '
' cannot start a name					{                                         ^<script>:110: error:
in XML literal: '=' expected instead of '('					for(page <- (res/publishing("version"))
                                          ^<script>:110: error: in XML literal: ' or
" delimited attribute value or '{' scala-expr '}' expected					for(page <- (res/publishing("version"))
                                           ^<script>:110: error: in XML literal: whitespace
expected					for(page <- (res/publishing("version"))                                  
          ^<script>:110: error: in XML literal: '=' expected instead of '<'					for(page
<- (res/publishing("version"))                                                 ^<script>:110:
error: in XML literal: ' or " delimited attribute value or '{' scala-expr '}' expected			
	for(page <- (res/publishing("version"))                                              
   ^<script>:110: error: in XML literal: '>' expected instead of '('					for(page
<- (res/publishing("version"))                                                    ^<script>:111:
error: in XML literal: name expected, but char ' ' cannot start a name						.sort((a,b) =>
((a/publishing("publishingStart")*) < (b/publishing("publishingStart")*)))) yield {   
                                                                                         
      ^<script>:111: error: in XML literal: '>' expected instead of '('						.sort((a,b)
=> ((a/publishing("publishingStart")*) < (b/publishing("publishingStart")*)))) yield
{                                                                                        
            ^<script>:124: error: in XML literal: in XML content, please use '}}' to
express '}'					}                                        ^<script>:141: error: in XML
literal: in XML content, please use '}}' to express '}'}^ in script
	at java.security.AccessController.doPrivileged(Native Method)
	at org.apache.clerezza.scala.scripting.ScriptEngineFactory$MyScriptEngine$.compile(ScriptEngineFactory.scala:221)
	at org.apache.clerezza.platform.typerendering.scalaserverpages.ScalaServerPagesRenderlet.getCompiledScript(ScalaServerPagesRenderlet.java:232)
	at org.apache.clerezza.platform.typerendering.scalaserverpages.ScalaServerPagesRenderlet.render(ScalaServerPagesRenderlet.java:141)
	at org.apache.clerezza.platform.typerendering.RendererImpl.render(RendererImpl.java:92)
	at org.apache.clerezza.platform.typerendering.GenericGraphNodeMBW.writeTo(GenericGraphNodeMBW.java:154)
	at org.apache.clerezza.platform.typerendering.GenericGraphNodeMBW.writeTo(GenericGraphNodeMBW.java:75)
	at org.apache.clerezza.triaxrs.ResponseProcessor$1.writeTo(ResponseProcessor.java:313)
	... 23 more
Caused by: javax.script.ScriptException: <script>:96: error: Missing closing brace `}'
assumed here		<fieldset>                ^<script>:109: error: in XML literal:
name expected, but char '
' cannot start a name					{                                         ^<script>:110: error:
in XML literal: '=' expected instead of '('					for(page <- (res/publishing("version"))
                                          ^<script>:110: error: in XML literal: ' or
" delimited attribute value or '{' scala-expr '}' expected					for(page <- (res/publishing("version"))
                                           ^<script>:110: error: in XML literal: whitespace
expected					for(page <- (res/publishing("version"))                                  
          ^<script>:110: error: in XML literal: '=' expected instead of '<'					for(page
<- (res/publishing("version"))                                                 ^<script>:110:
error: in XML literal: ' or " delimited attribute value or '{' scala-expr '}' expected			
	for(page <- (res/publishing("version"))                                              
   ^<script>:110: error: in XML literal: '>' expected instead of '('					for(page
<- (res/publishing("version"))                                                    ^<script>:111:
error: in XML literal: name expected, but char ' ' cannot start a name						.sort((a,b) =>
((a/publishing("publishingStart")*) < (b/publishing("publishingStart")*)))) yield {   
                                                                                         
      ^<script>:111: error: in XML literal: '>' expected instead of '('						.sort((a,b)
=> ((a/publishing("publishingStart")*) < (b/publishing("publishingStart")*)))) yield
{                                                                                        
            ^<script>:124: error: in XML literal: in XML content, please use '}}' to
express '}'					}                                        ^<script>:141: error: in XML
literal: in XML content, please use '}}' to express '}'}^ in script
	at org.apache.clerezza.scala.scripting.ScriptEngineFactory$MyScriptEngine$$anon$3.run(ScriptEngineFactory.scala:235)
	at org.apache.clerezza.scala.scripting.ScriptEngineFactory$MyScriptEngine$$anon$3.run(ScriptEngineFactory.scala:221)
	... 31 more

Caused by:

java.security.PrivilegedActionException: javax.script.ScriptException: <script>:96:
error: Missing closing brace `}' assumed here		<fieldset>                ^<script>:109:
error: in XML literal: name expected, but char '
' cannot start a name					{                                         ^<script>:110: error:
in XML literal: '=' expected instead of '('					for(page <- (res/publishing("version"))
                                          ^<script>:110: error: in XML literal: ' or
" delimited attribute value or '{' scala-expr '}' expected					for(page <- (res/publishing("version"))
                                           ^<script>:110: error: in XML literal: whitespace
expected					for(page <- (res/publishing("version"))                                  
          ^<script>:110: error: in XML literal: '=' expected instead of '<'					for(page
<- (res/publishing("version"))                                                 ^<script>:110:
error: in XML literal: ' or " delimited attribute value or '{' scala-expr '}' expected			
	for(page <- (res/publishing("version"))                                              
   ^<script>:110: error: in XML literal: '>' expected instead of '('					for(page
<- (res/publishing("version"))                                                    ^<script>:111:
error: in XML literal: name expected, but char ' ' cannot start a name						.sort((a,b) =>
((a/publishing("publishingStart")*) < (b/publishing("publishingStart")*)))) yield {   
                                                                                         
      ^<script>:111: error: in XML literal: '>' expected instead of '('						.sort((a,b)
=> ((a/publishing("publishingStart")*) < (b/publishing("publishingStart")*)))) yield
{                                                                                        
            ^<script>:124: error: in XML literal: in XML content, please use '}}' to
express '}'					}                                        ^<script>:141: error: in XML
literal: in XML content, please use '}}' to express '}'}^ in script
	at java.security.AccessController.doPrivileged(Native Method)
	at org.apache.clerezza.scala.scripting.ScriptEngineFactory$MyScriptEngine$.compile(ScriptEngineFactory.scala:221)
	at org.apache.clerezza.platform.typerendering.scalaserverpages.ScalaServerPagesRenderlet.getCompiledScript(ScalaServerPagesRenderlet.java:232)
	at org.apache.clerezza.platform.typerendering.scalaserverpages.ScalaServerPagesRenderlet.render(ScalaServerPagesRenderlet.java:141)
	at org.apache.clerezza.platform.typerendering.RendererImpl.render(RendererImpl.java:92)
	at org.apache.clerezza.platform.typerendering.GenericGraphNodeMBW.writeTo(GenericGraphNodeMBW.java:154)
	at org.apache.clerezza.platform.typerendering.GenericGraphNodeMBW.writeTo(GenericGraphNodeMBW.java:75)
	at org.apache.clerezza.triaxrs.ResponseProcessor$1.writeTo(ResponseProcessor.java:313)
	at org.apache.clerezza.triaxrs.ResponseProcessor$1.access$200(ResponseProcessor.java:260)
	at org.apache.clerezza.triaxrs.ResponseProcessor$1$3.run(ResponseProcessor.java:293)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:396)
	at org.apache.clerezza.triaxrs.ResponseProcessor$1.writeTo(ResponseProcessor.java:289)
	at org.wymiwyg.wrhapi.osgi.OsgiWebServerFactory$1.service(OsgiWebServerFactory.java:112)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.handle(HttpServiceServletHandler.java:64)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.handle(HttpServiceContext.java:111)
	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:64)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
Caused by: javax.script.ScriptException: <script>:96: error: Missing closing brace `}'
assumed here		<fieldset>                ^<script>:109: error: in XML literal:
name expected, but char '
' cannot start a name					{                                         ^<script>:110: error:
in XML literal: '=' expected instead of '('					for(page <- (res/publishing("version"))
                                          ^<script>:110: error: in XML literal: ' or
" delimited attribute value or '{' scala-expr '}' expected					for(page <- (res/publishing("version"))
                                           ^<script>:110: error: in XML literal: whitespace
expected					for(page <- (res/publishing("version"))                                  
          ^<script>:110: error: in XML literal: '=' expected instead of '<'					for(page
<- (res/publishing("version"))                                                 ^<script>:110:
error: in XML literal: ' or " delimited attribute value or '{' scala-expr '}' expected			
	for(page <- (res/publishing("version"))                                              
   ^<script>:110: error: in XML literal: '>' expected instead of '('					for(page
<- (res/publishing("version"))                                                    ^<script>:111:
error: in XML literal: name expected, but char ' ' cannot start a name						.sort((a,b) =>
((a/publishing("publishingStart")*) < (b/publishing("publishingStart")*)))) yield {   
                                                                                         
      ^<script>:111: error: in XML literal: '>' expected instead of '('						.sort((a,b)
=> ((a/publishing("publishingStart")*) < (b/publishing("publishingStart")*)))) yield
{                                                                                        
            ^<script>:124: error: in XML literal: in XML content, please use '}}' to
express '}'					}                                        ^<script>:141: error: in XML
literal: in XML content, please use '}}' to express '}'}^ in script
	at org.apache.clerezza.scala.scripting.ScriptEngineFactory$MyScriptEngine$$anon$3.run(ScriptEngineFactory.scala:235)
	at org.apache.clerezza.scala.scripting.ScriptEngineFactory$MyScriptEngine$$anon$3.run(ScriptEngineFactory.scala:221)
	... 31 more

Caused by:

javax.script.ScriptException: <script>:96: error: Missing closing brace `}' assumed
here		<fieldset>                ^<script>:109: error: in XML literal: name expected,
but char '
' cannot start a name					{                                         ^<script>:110: error:
in XML literal: '=' expected instead of '('					for(page <- (res/publishing("version"))
                                          ^<script>:110: error: in XML literal: ' or
" delimited attribute value or '{' scala-expr '}' expected					for(page <- (res/publishing("version"))
                                           ^<script>:110: error: in XML literal: whitespace
expected					for(page <- (res/publishing("version"))                                  
          ^<script>:110: error: in XML literal: '=' expected instead of '<'					for(page
<- (res/publishing("version"))                                                 ^<script>:110:
error: in XML literal: ' or " delimited attribute value or '{' scala-expr '}' expected			
	for(page <- (res/publishing("version"))                                              
   ^<script>:110: error: in XML literal: '>' expected instead of '('					for(page
<- (res/publishing("version"))                                                    ^<script>:111:
error: in XML literal: name expected, but char ' ' cannot start a name						.sort((a,b) =>
((a/publishing("publishingStart")*) < (b/publishing("publishingStart")*)))) yield {   
                                                                                         
      ^<script>:111: error: in XML literal: '>' expected instead of '('						.sort((a,b)
=> ((a/publishing("publishingStart")*) < (b/publishing("publishingStart")*)))) yield
{                                                                                        
            ^<script>:124: error: in XML literal: in XML content, please use '}}' to
express '}'					}                                        ^<script>:141: error: in XML
literal: in XML content, please use '}}' to express '}'}^ in script
	at org.apache.clerezza.scala.scripting.ScriptEngineFactory$MyScriptEngine$$anon$3.run(ScriptEngineFactory.scala:235)
	at org.apache.clerezza.scala.scripting.ScriptEngineFactory$MyScriptEngine$$anon$3.run(ScriptEngineFactory.scala:221)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.apache.clerezza.scala.scripting.ScriptEngineFactory$MyScriptEngine$.compile(ScriptEngineFactory.scala:221)
	at org.apache.clerezza.platform.typerendering.scalaserverpages.ScalaServerPagesRenderlet.getCompiledScript(ScalaServerPagesRenderlet.java:232)
	at org.apache.clerezza.platform.typerendering.scalaserverpages.ScalaServerPagesRenderlet.render(ScalaServerPagesRenderlet.java:141)
	at org.apache.clerezza.platform.typerendering.RendererImpl.render(RendererImpl.java:92)
	at org.apache.clerezza.platform.typerendering.GenericGraphNodeMBW.writeTo(GenericGraphNodeMBW.java:154)
	at org.apache.clerezza.platform.typerendering.GenericGraphNodeMBW.writeTo(GenericGraphNodeMBW.java:75)
	at org.apache.clerezza.triaxrs.ResponseProcessor$1.writeTo(ResponseProcessor.java:313)
	at org.apache.clerezza.triaxrs.ResponseProcessor$1.access$200(ResponseProcessor.java:260)
	at org.apache.clerezza.triaxrs.ResponseProcessor$1$3.run(ResponseProcessor.java:293)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:396)
	at org.apache.clerezza.triaxrs.ResponseProcessor$1.writeTo(ResponseProcessor.java:289)
	at org.wymiwyg.wrhapi.osgi.OsgiWebServerFactory$1.service(OsgiWebServerFactory.java:112)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.handle(HttpServiceServletHandler.java:64)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.handle(HttpServiceContext.java:111)
	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:64)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)

Powered by Jetty://





















-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message