Hi Eddie,

I looked through my app and the failures occur when I pass request params. If I remove the request param and go just to the action, no exception occurs. I grabbed an example from html returned to my browser and the links look like so:

<td class="datagrid" align="center"><a href="/taskWeb/task/deleteTask.do?task.id=732"><span>delete</span></a></td>

<td class="datagrid" align="center"><a href="/taskWeb/task/viewFiles.do?task.id=732"><span>view</span></a></td>

I generate the links via tags in a datagrid, like this:

   <netui-data:rows>
<netui-data:anchorCell cellAlign="center" value="delete" action="deleteTask" >
           <netui:parameter name="task.id" value="${container.item.id}" />
       </netui-data:anchorCell>
<netui-data:anchorCell cellAlign="center" value="view" action="viewFiles" >
           <netui:parameter name="task.id" value="${container.item.id}" />
       </netui-data:anchorCell>
<netui-data:spanCell cellAlign="center" value="${container.item.id}"/> <netui-data:spanCell cellAlign="center" value="${container.item.name}"/>

.....

The data source is defined as follows:

<netui-data:dataGrid dataSource="pageFlow.data.taskList" name="taskList" >
   <netui-data:configurePager defaultPageSize="20" />

taskList is a List of bean objects: List<TaskDto> taskList


Patrick.

Eddie ONeil wrote:

Patrick--

 Hey; this is actually coming out of Struts which we defer to at the
lowest level for handling request parameters.

 Can you provide some detail about:

- the request parameters that are POSTed
- how those parameters are POSTed
 - do they come from NetUI tags, for example?
 - if so, what dataSource values are they using
- the type of action that receives the parameters (does it have a form
bean, etc)

 Thanks!

Eddie


On 6/1/05, Patrick Osborne <[EMAIL PROTECTED]> wrote:
I'm working with an app that has been running for some time.  I am know
getting this exception on some actions.  Can someone give me a clue as
to what may cause this.  Any help is appreciated.

Patrick.

Exception:    java.lang.RuntimeException: Exception processing bean and
request parameters:
caused by : java.lang.IllegalArgumentException: No bean specified
Stack Trace:    java.lang.RuntimeException: Exception processing bean
and request parameters:
at
org.apache.beehive.netui.pageflow.ProcessPopulate.handleStrutsProperties(ProcessPopulate.java:347)

at
org.apache.beehive.netui.pageflow.ProcessPopulate.populate(ProcessPopulate.java:288)

at
org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processPopulate(PageFlowRequestProcessor.java:390)

at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:205)

at
org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:600)

at
org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:864)

at
org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:600)

at
org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:163)

at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)

at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)

at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)

at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)

at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)

at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)

at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)

at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)

at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)

at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.IllegalArgumentException: No bean specified
at
org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUtils.java:837)

at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:934)
at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
at
org.apache.beehive.netui.pageflow.ProcessPopulate.handleStrutsProperties(ProcessPopulate.java:343)

... 34 more


Reply via email to