wlstks7 / interactive-spaces

Automatically exported from code.google.com/p/interactive-spaces
Other
0 stars 0 forks source link

Persistent error after configuring un-deployed activity #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create a live activity (but do not deploy)
2. give the live activity a live config
3. click 'configure' to push the live configuration 

What is the expected output? What do you see instead?
Expected: The web interface informs you to first deploy before configuring
Instead: An error is reported in the web interface, and when you go back to the 
'Live Activities' page, an error is continually displayed in the Status column 
for that Live Activity. (error message copied below)

What version of the product are you using? On what operating system?
v1.4.2 snapshot 3?

Please provide any additional information below.

Method public java.lang.String 
org.springframework.web.servlet.support.RequestContext.getMessage(java.lang.Stri
ng) throws org.springframework.context.NoSuchMessageException threw an 
exception when invoked on 
org.springframework.web.servlet.support.RequestContext@16dad9bf with arguments 
of types [java.lang.String,] The problematic instruction: ---------- ==> 
${springMacroRequestContext.getMessage(code)} [on line 28, column 22 in 
spring.ftl] in user-directive spring.message [on line 67, column 98 in 
liveactivity/LiveActivityViewAll.ftl] ---------- Java backtrace for 
programmers: ---------- freemarker.template.TemplateModelException: Method 
public java.lang.String 
org.springframework.web.servlet.support.RequestContext.getMessage(java.lang.Stri
ng) throws org.springframework.context.NoSuchMessageException threw an 
exception when invoked on 
org.springframework.web.servlet.support.RequestContext@16dad9bf with arguments 
of types [java.lang.String,] at 
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:134) 
at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at 
freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at 
freemarker.core.Expression.getStringValue(Expression.java:93) at 
freemarker.core.DollarVariable.accept(DollarVariable.java:76) at 
freemarker.core.Environment.visit(Environment.java:209) at 
freemarker.core.Macro$Context.runMacro(Macro.java:168) at 
freemarker.core.Environment.visit(Environment.java:602) at 
freemarker.core.UnifiedCall.accept(UnifiedCall.java:106) at 
freemarker.core.Environment.visit(Environment.java:209) at 
freemarker.core.MixedContent.accept(MixedContent.java:92) at 
freemarker.core.Environment.visit(Environment.java:209) at 
freemarker.core.IfBlock.accept(IfBlock.java:82) at 
freemarker.core.Environment.visit(Environment.java:209) at 
freemarker.core.MixedContent.accept(MixedContent.java:92) at 
freemarker.core.Environment.visit(Environment.java:209) at 
freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:179) at 
freemarker.core.Environment.visit(Environment.java:416) at 
freemarker.core.IteratorBlock.accept(IteratorBlock.java:102) at 
freemarker.core.Environment.visit(Environment.java:209) at 
freemarker.core.MixedContent.accept(MixedContent.java:92) at 
freemarker.core.Environment.visit(Environment.java:209) at 
freemarker.core.Environment.process(Environment.java:189) at 
freemarker.template.Template.process(Template.java:237) at 
org.springframework.web.servlet.view.freemarker.FreeMarkerView.processTemplate(F
reeMarkerView.java:366) at 
org.springframework.web.servlet.view.freemarker.FreeMarkerView.doRender(FreeMark
erView.java:283) at 
org.springframework.web.servlet.view.freemarker.FreeMarkerView.renderMergedTempl
ateModel(FreeMarkerView.java:233) at 
org.springframework.web.servlet.view.AbstractTemplateView.renderMergedOutputMode
l(AbstractTemplateView.java:167) at 
org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:262) 
at 
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:
1180) at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.j
ava:950) at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.ja
va:852) at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet
.java:882) at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778
) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538) at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.jav
a:1352) at 
interactivespaces.master.ui.internal.web.CrossDomainResponseHeadersFilter.doFilt
er(CrossDomainResponseHeadersFilter.java:52) at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.jav
a:1323) at 
org.ops4j.pax.web.service.internal.WelcomeFilesFilter.doFilter(WelcomeFilesFilte
r.java:193) at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.jav
a:1323) at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476) at 
org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(Http
ServiceServletHandler.java:70) at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) 
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517) 
at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225
) at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937
) at 
org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpService
Context.java:116) at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
 at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
 at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) 
at 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java
:149) at 
org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(Jet
tyServerHandlerCollection.java:66) at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) 
at org.eclipse.jetty.server.Server.handle(Server.java:346) at 
org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589) 
at 
org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnec
tion.java:1048) at 
org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601) at 
org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214) at 
org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411) at 
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java
:535) at 
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:
40) at 
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529) 
at java.lang.Thread.run(Thread.java:722) Caused by: 
org.springframework.context.NoSuchMessageException: No message found under code 
'space.activity.state.nonexistent' for locale 'en_US'. at 
org.springframework.context.support.AbstractMessageSource.getMessage(AbstractMes
sageSource.java:135) at 
org.springframework.context.support.AbstractApplicationContext.getMessage(Abstra
ctApplicationContext.java:1210) at 
org.springframework.web.servlet.support.RequestContext.getMessage(RequestContext
.java:549) at 
org.springframework.web.servlet.support.RequestContext.getMessage(RequestContext
.java:515) at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source) at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:43) at java.lang.reflect.Method.invoke(Method.java:601) at 
freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840) at 
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104) 
... 65 more

Original issue reported on code.google.com by quinkenn...@gmail.com on 3 May 2013 at 2:43

GoogleCodeExporter commented 9 years ago

Original comment by khug...@google.com on 7 May 2013 at 3:11