You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Eddie O'Neil (JIRA)" <de...@beehive.apache.org> on 2005/09/09 21:35:30 UTC
[jira] Created: (BEEHIVE-919) controls-spring sample throws exception when refreshing the browser page familyTree.jsp
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
[jira] Assigned: (BEEHIVE-919) controls-spring sample throws
exception when refreshing the browser page familyTree.jsp
Posted by "Chad Schoettger (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-919?page=all ]
Chad Schoettger reassigned BEEHIVE-919:
---------------------------------------
Assignee: Chad Schoettger
> 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
> Issue Type: Bug
> Components: Samples
> Affects Versions: v1m1
> Reporter: Eddie O'Neil
> Assigned To: Chad Schoettger
>
> 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