You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by "Henrik W. Hansen" <sp...@gyvelvej.dk> on 2003/11/06 20:55:15 UTC
setTemplate in VelocityPortletAction gives InvocationTargetException
Hi all
This should be a trivial question. But i have been struggeling with it
for a while now.
When executing the following action :
public void doAddmonitor(RunData data, Context context) {
setTemplate(data, "webmonitor/createMonitorParam.vm");
}
I get the following excetion:
Horrible Exception: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
I am running Jetspeed 1.4b3.
If i set the template from within i.e "protected void
buildNormalContext" everything works fine.
What can i be doing wrong??
/Henrik
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org