Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | - |
Not Applicable | - |
The following ClassCastException is seen during deployment of BE project:
+++++++++++++++++++++++++++++++++++++++++++
java.lang.ClassCastException: java.lang.String cannot be cast to com.tibco.infra.repository.Assoc
at com.tibco.objectrepo.mapper.GSVMapper.prepareAssocFromXML(GSVMapper.java:137)
at com.tibco.objectrepo.mapper.NodesMapper.callPrepareAssocFromXML(NodesMapper.java:729)
at com.tibco.objectrepo.mapper.GSVMapper.map(GSVMapper.java:127)
at com.tibco.objectrepo.vfile.tibrepo.RepoGV.readDefaultVars(RepoGV.java:420)
at com.tibco.objectrepo.vfile.tibrepo.RepoGV.update(RepoGV.java:151)
at com.tibco.pof.admindomain.impl.BwServerDeploymentPlugIn.a(BwServerDeploymentPlugIn.java:1109)
at com.tibco.pof.admindomain.impl.BwServerDeploymentPlugIn.a(BwServerDeploymentPlugIn.java:381)
at com.tibco.pof.admindomain.impl.BwServerDeploymentPlugIn.a(BwServerDeploymentPlugIn.java:366)
at com.tibco.pof.admindomain.impl.BwServerDeploymentPlugIn.onDeploy(BwServerDeploymentPlugIn.java:509)
at com.tibco.pof.admindomain.impl.ApplicationConfigurationImpl.a(ApplicationConfigurationImpl.java:1002)
at com.tibco.pof.admindomain.impl.ApplicationConfigurationImpl.a(ApplicationConfigurationImpl.java:753)
at com.tibco.pof.admindomain.impl.ApplicationConfigurationImpl.deploy(ApplicationConfigurationImpl.java:592)
at com.tibco.pof.admindomain.impl.ApplicationConfigurationImpl.deploy(ApplicationConfigurationImpl.java:573)
at com.tibco.administrator.consoles.deploymentconfiguration.DeployUndeployDialog.a(DeployUndeployDialog.java:870)
at com.tibco.administrator.consoles.deploymentconfiguration.DeployUndeployDialog.deploy(DeployUndeployDialog.java:817)
at com.tibco.administrator.consoles.deploymentconfiguration.DeployUndeployDialog.onOk(DeployUndeployDialog.java:692)
at com.tibco.wfc.ModalDialog$1.actionPerformed(ModalDialog.java:254)
at com.tibco.wfc.ModalDialog.fireOkActionPerformed(ModalDialog.java:163)
at com.tibco.wfc.ModalDialog.actionPerformed(ModalDialog.java:151)
at com.tibco.wfc.AbstractComponent.notifyListeners(AbstractComponent.java:143)
at com.tibco.wfc.AbstractComponent.fireActionPerformed(AbstractComponent.java:133)
at com.tibco.wfc.AbstractComponent.processCommand(AbstractComponent.java:157)
at com.tibco.wfc.AbstractFrame.processCommand(AbstractFrame.java:115)
at com.tibco.wfc.FrameManager.a(FrameManager.java:254)
at com.tibco.wfc.FrameManager.service(FrameManager.java:142)
at com.tibco.administrator.AdministratorServlet.service(AdministratorServlet.java:957)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.tibco.administrator.AdministratorServletFilter.doFilter(AdministratorServletFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source) +++++++++++++++++++++++++++++++++++++++++++
Exception : java.lang.ClassCastException: java.lang.String cannot be cast to com.tibco.infra.repository.Assoc : during deployment of BE project. (complete error trace above in description field)
The BE studio project has some BW processes, because of which the deployment process tries to invoke the BW Deployment service instead of the BE deployment service which results in the ClassCastException.
Remove any BW process and/or component from the BE Studio project and then try deploying.