portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arnold, David" <David.Arn...@factiva.com>
Subject Velocity ViewServlet Exception
Date Wed, 30 Jun 2004 16:51:20 GMT
Hello,

 

I have built Jetspeed 2 and have it running on Tomcat 4.1.29.  I am
however getting the following error when I access the default Jetspeed
page.

 

All other portlets are being displayed fine.

 

Please let me know if you have seen this before, and if so how to go
about fixing it.

 

 

java.lang.IllegalStateException: Unable to generate portlet entity. 


VelocityViewServlet : Error processing the template

Invocation of method 'getDecoratorActions' in  class
org.apache.jetspeed.velocity.JetspeedPowerTool threw exception class
java.lang.IllegalStateException : Unable to generate portlet entity.

org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'getDecoratorActions' in  class
org.apache.jetspeed.velocity.JetspeedPowerTool threw exception class
java.lang.IllegalStateException : Unable to generate portlet entity.
        at
org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentif
ier.java:193)
        at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc
e.java:175)
        at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.
java:327)
        at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpressio
n.java:51)
        at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDir
ective.java:95)
        at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:230)
        at org.apache.velocity.Template.merge(Template.java:256)
        at
org.apache.jetspeed.velocity.JetspeedVelocityViewServlet.mergeTemplate(J
etspeedVelocityViewServlet.java:98)
        at
org.apache.velocity.tools.view.servlet.VelocityViewServlet.doRequest(Vel
ocityViewServlet.java:455)
        at
org.apache.velocity.tools.view.servlet.VelocityViewServlet.doGet(Velocit
yViewServlet.java:411)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
her.java:684)
        at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDisp
atcher.java:575)
        at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispat
cher.java:498)
        at
org.apache.jetspeed.dispatcher.JetspeedRequestDispatcher.include(Jetspee
dRequestDispatcher.java:63)
        at
org.apache.jetspeed.velocity.JetspeedPowerTool.decorateAndInclude(Jetspe
edPowerTool.java:570)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:267)
        at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
:197)
        at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc
e.java:175)
        at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference
.java:220)
        at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55
)
        at
org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166)
        at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective
.java:114)
        at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55
)
        at
org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166)
        at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective
.java:114)
        at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:230)
        at org.apache.velocity.Template.merge(Template.java:256)
        at
org.apache.jetspeed.velocity.JetspeedVelocityViewServlet.mergeTemplate(J
etspeedVelocityViewServlet.java:98)
        at
org.apache.velocity.tools.view.servlet.VelocityViewServlet.doRequest(Vel
ocityViewServlet.java:455)
        at
org.apache.velocity.tools.view.servlet.VelocityViewServlet.doGet(Velocit
yViewServlet.java:411)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
her.java:684)
        at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDisp
atcher.java:575)
        at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispat
cher.java:498)
        at
org.apache.jetspeed.dispatcher.JetspeedRequestDispatcher.include(Jetspee
dRequestDispatcher.java:63)
        at
org.apache.jetspeed.portlet.ServletPortlet.doView(ServletPortlet.java:33
9)
        at
org.apache.jetspeed.portlets.layout.LayoutPortlet.doView(LayoutPortlet.j
ava:103)
        at
org.apache.jetspeed.portlets.layout.MultiColumnPortlet.doView(MultiColum
nPortlet.java:82)
        at
javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247)
        at javax.portlet.GenericPortlet.render(GenericPortlet.java:175)
        at
org.apache.jetspeed.container.JetspeedContainerServlet.doGet(JetspeedCon
tainerServlet.java:214)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
her.java:684)
        at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDisp
atcher.java:575)
        at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispat
cher.java:498)
        at
org.apache.jetspeed.container.invoker.ServletPortletInvoker.invoke(Servl
etPortletInvoker.java:208)
        at
org.apache.jetspeed.container.invoker.ServletPortletInvoker.render(Servl
etPortletInvoker.java:122)
        at
org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerImpl
.java:103)
        at
org.apache.jetspeed.container.JetspeedPortletContainerWrapper.renderPort
let(JetspeedPortletContainerWrapper.java:97)
        at
org.apache.jetspeed.aggregator.impl.PortletRendererImpl.renderNow(Portle
tRendererImpl.java:95)
        at
org.apache.jetspeed.aggregator.impl.PageAggregatorImpl.build(PageAggrega
torImpl.java:231)
        at
org.apache.jetspeed.aggregator.AggregatorValve.invoke(AggregatorValve.ja
va:47)
        at
org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipelin
e.java:255)
        at
org.apache.jetspeed.pipeline.valve.impl.ActionValveImpl.invoke(ActionVal
veImpl.java:107)
        at
org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipelin
e.java:255)
        at
org.apache.jetspeed.container.ContainerValve.invoke(ContainerValve.java:
76)
        at
org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipelin
e.java:255)
        at
org.apache.jetspeed.profiler.impl.ProfilerValveImpl.invoke(ProfilerValve
Impl.java:57)
        at
org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipelin
e.java:255)
        at
org.apache.jetspeed.security.impl.SecurityValveImpl.invoke(SecurityValve
Impl.java:89)
        at
org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipelin
e.java:255)
        at
org.apache.jetspeed.capabilities.impl.CapabilityValveImpl.invoke(Capabil
ityValveImpl.java:132)
        at
org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipelin
e.java:255)
        at
org.apache.jetspeed.localization.impl.LocalizationValveImpl.invoke(Local
izationValveImpl.java:62)
        at
org.apache.jetspeed.pipeline.JetspeedPipeline.invokeNext(JetspeedPipelin
e.java:255)
        at
org.apache.jetspeed.pipeline.JetspeedPipeline.invoke(JetspeedPipeline.ja
va:237)
        at
org.apache.jetspeed.engine.JetspeedEngine.service(JetspeedEngine.java:27
9)
        at
org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:20
7)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc
her.java:684)
        at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp
atcher.java:432)
        at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat
cher.java:356)
        at
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:4
30)
        at org.apache.jsp.index_jsp._jspService(index_jsp.java:43)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:210)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
        at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:256)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:494)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241
7)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:171)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:172)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:174)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:78
1)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:549)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:58
9)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:666)
        at java.lang.Thread.run(Thread.java:534)

 

 

-- David Arnold


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message