beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Feit (JIRA)" <...@beehive.apache.org>
Subject [jira] Resolved: (BEEHIVE-1022) Exception in iterative dev with a Control in a page flow
Date Fri, 09 Dec 2005 21:57:10 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-1022?page=all ]
     
Rich Feit resolved BEEHIVE-1022:
--------------------------------

    Resolution: Fixed
     Assign To: Alejandro Ramirez  (was: Rich Feit)

Fixed with revision 355612.

> Exception in iterative dev with a Control in a page flow
> --------------------------------------------------------
>
>          Key: BEEHIVE-1022
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-1022
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1
>     Reporter: Rich Feit
>     Assignee: Alejandro Ramirez
>      Fix For: 1.1
>  Attachments: repro.zip
>
> Repro:
>     - Build the attached webapp ('ant build') and deploy it.
>     - Run the page flow http://localhost:8080/repro/bar/Controller.jpf .
>     - Edit Controller.java so that it only contains a single line:
>           protected String myControl;
>     - Build, using 'ant build' (no 'ant clean').
>     - Hit http://localhost:8080/repro/bar/Controller.jpf .
> EXPECTED: the page flow runs fine
> ACTUAL: get the following exception:
> Throwable: java.lang.IllegalArgumentException: class java.lang.String must be Control
or annotation type
> Stack Trace:
> java.lang.IllegalArgumentException: class java.lang.String must be Control or annotation
type
>         at org.apache.beehive.controls.api.properties.BaseMap.setMapClass(BaseMap.java:64)
>         at org.apache.beehive.controls.api.properties.AnnotatedElementMap.<init>(AnnotatedElementMap.java:50)
>         at org.apache.beehive.netui.pageflow.internal.JavaControlUtils.getAccessibleControlFieldAnnotations(JavaControlUtils.java:194)
>         at org.apache.beehive.netui.pageflow.internal.JavaControlUtils.initJavaControls(JavaControlUtils.java:238)
>         at org.apache.beehive.netui.pageflow.PageFlowManagedObject.create(PageFlowManagedObject.java:83)
>         at org.apache.beehive.netui.pageflow.FlowController.create(FlowController.java:549)
>         at org.apache.beehive.netui.pageflow.PageFlowController.create(PageFlowController.java:401)
>         at org.apache.beehive.netui.pageflow.FlowControllerFactory.createPageFlow(FlowControllerFactory.java:382)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.getFlowController(PageFlowRequestProcessor.java:595)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:500)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:826)
>         at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:633)
>         at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:156)
>         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>         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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
>         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
>         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
>         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
>         at org.apache.beehive.netui.pageflow.internal.DefaultForwardRedirectHandler.forward(DefaultForwardRedirectHandler.java:127)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:1795)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processPageFlowRequest(PageFlowRequestProcessor.java:724)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:461)
>         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:826)
>         at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:633)
>         at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:156)
>         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message