beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eddie O'Neil (JIRA)" <...@beehive.apache.org>
Subject [jira] Created: (BEEHIVE-919) controls-spring sample throws exception when refreshing the browser page familyTree.jsp
Date Fri, 09 Sep 2005 19:35:30 GMT
controls-spring sample throws exception when refreshing the browser page familyTree.jsp
---------------------------------------------------------------------------------------

         Key: BEEHIVE-919
         URL: http://issues.apache.org/jira/browse/BEEHIVE-919
     Project: Beehive
        Type: Bug
  Components: Samples  
    Versions: v1m1    
    Reporter: Eddie O'Neil
     Fix For: TBD


The controls + spring integration sample works, but only the first time the JSP is run in
a single HttpSession.  Looks like a Control is being added with the same name into the same
control context.

Not sure it's worth fixing for 1.0, but will take a look at it.

Repro:
1) build / run the controls-spring sample
2) view http://localhost:8080/springControls/familyTree.jsp
3) refresh the page

The result is this stack trace:
org.apache.beehive.controls.api.ControlException: Exception creating ControlBean[Exception
creating ControlBean[Attempting to add control with duplicate ID: PersonBean0]]
	org.apache.beehive.controls.api.bean.Controls.instantiate(Controls.java:108)
	org.apache.beehive.samples.spring.control.AdultImpl.getChild(AdultImpl.java:47)
	org.apache.beehive.samples.spring.control.PersonBean.getChild(PersonBean.java:161)
	org.apache.jsp.familyTree_jsp.showPerson(familyTree_jsp.java:32)
	org.apache.jsp.familyTree_jsp.showPerson(familyTree_jsp.java:35)
	org.apache.jsp.familyTree_jsp._jspService(familyTree_jsp.java:89)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	org.apache.beehive.controls.runtime.servlet.ControlFilter.doFilter(ControlFilter.java:131)

-- 
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