Return-Path: Delivered-To: apmail-beehive-dev-archive@www.apache.org Received: (qmail 635 invoked from network); 9 Dec 2005 21:57:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Dec 2005 21:57:44 -0000 Received: (qmail 82962 invoked by uid 500); 9 Dec 2005 21:57:32 -0000 Delivered-To: apmail-beehive-dev-archive@beehive.apache.org Received: (qmail 82901 invoked by uid 500); 9 Dec 2005 21:57:32 -0000 Mailing-List: contact dev-help@beehive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Developers" Delivered-To: mailing list dev@beehive.apache.org Received: (qmail 82810 invoked by uid 99); 9 Dec 2005 21:57:31 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Dec 2005 13:57:31 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 3834918E for ; Fri, 9 Dec 2005 22:57:10 +0100 (CET) Message-ID: <1424264340.1134165430228.JavaMail.jira@ajax.apache.org> Date: Fri, 9 Dec 2005 22:57:10 +0100 (CET) From: "Rich Feit (JIRA)" To: dev@beehive.apache.org Subject: [jira] Resolved: (BEEHIVE-1022) Exception in iterative dev with a Control in a page flow In-Reply-To: <67948689.1134163328713.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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.(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