beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chad Schoettger (JIRA)" <...@beehive.apache.org>
Subject [jira] Created: (BEEHIVE-1082) Controls ClientIntializer runtime error
Date Fri, 17 Mar 2006 16:33:23 GMT
Controls ClientIntializer runtime error
---------------------------------------

         Key: BEEHIVE-1082
         URL: http://issues.apache.org/jira/browse/BEEHIVE-1082
     Project: Beehive
        Type: Bug
  Components: Controls  
    Versions: 1.0.1    
    Reporter: Chad Schoettger
 Assigned to: Chad Schoettger 
     Fix For: v.next


To recreate this issue:

1) Create a control foo control
2) Create a control bar control
3) Create a BaseControler that has a reference to foo control make the identifier for the
control testControl.
4) Create a DerivedController that extends BaseController that has a reference to bar control,
also name this identifier testControl.
5) Run the page flow.

When run the following stack trace is generated by Tomcat:


5 Mar 2006 14:42:15,990 ERROR JavaControlUtils []: Exception occurred while initializing controls

Throwable: org.apache.beehive.controls.api.ControlException: Exception trying to run client
initializer: java.lang.ClassCastException, controls.FooBean[controls.FooBean]
Stack Trace:
org.apache.beehive.controls.api.ControlException: Exception trying to run client initializer:
java.lang.ClassCastException, controls.FooBean[controls.FooBean]
	at org.apache.beehive.controls.api.bean.Controls.initializeClient(Controls.java:148)
	at org.apache.beehive.netui.pageflow.internal.JavaControlUtils.initJavaControls(JavaControlUtils.java:172)
	at org.apache.beehive.netui.pageflow.PageFlowManagedObject.create(PageFlowManagedObject.java:83)
	at org.apache.beehive.netui.pageflow.FlowController.create(FlowController.java:556)
	at org.apache.beehive.netui.pageflow.PageFlowController.create(PageFlowController.java:416)
	at org.apache.beehive.netui.pageflow.FlowControllerFactory.createPageFlow(FlowControllerFactory.java:363)
	at org.apache.beehive.netui.pageflow.FlowControllerFactory.createPageFlow(FlowControllerFactory.java:182)
	at org.apache.beehive.netui.pageflow.FlowControllerFactory.getPageFlowForPath(FlowControllerFactory.java:157)
	at org.apache.beehive.netui.pageflow.FlowControllerFactory.getPageFlowForRequest(FlowControllerFactory.java:123)
	at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:190)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
	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.ClassCastException: controls.FooBean
	at derivedFlow.DerivedFlowControllerClientInitializer.initializeFields(DerivedFlowControllerClientInitializer.java:41)
	at derivedFlow.DerivedFlowControllerClientInitializer.initialize(DerivedFlowControllerClientInitializer.java:60)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.beehive.controls.api.bean.Controls.initializeClient(Controls.java:136)
	... 33 more

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