Skip to Content
author's profile photo Former Member
Former Member

Visual Composer - check box exception

Hi,

if I use a Checkbox in the visual composer for compisition environment (NW CE 7.1 SR3) I always get this exception when executing the program:

[code]java.lang.ClassCastException: class java.lang.String:null incompatible with class java.lang.Boolean:null

at com.sap.tc.webdynpro.progmodel.context.NodeElement.wdGetBoolean(NodeElement.java:665)

at com.sap.tc.webdynpro.progmodel.context.MappedNodeElement.wdGetBoolean(MappedNodeElement.java:93)

at com.sap.tc.webdynpro.progmodel.context.MappedNodeElement.wdGetBoolean(MappedNodeElement.java:90)

at com.sap.tc.webdynpro.progmodel.context.MappedNodeElement.wdGetBoolean(MappedNodeElement.java:90)

at com.sap.tc.webdynpro.progmodel.context.AttributePointer.getBoolean(AttributePointer.java:254)

at com.sap.tc.webdynpro.clientserver.data.DataContainer.getBoolean(DataContainer.java:733)

at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.AbstractToggle.getChecked(AbstractToggle.java:328)

at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.CheckBoxAdapter.getChecked(CheckBoxAdapter.java:381)

at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.CheckBoxAdapter.getValue(CheckBoxAdapter.java:572)

at com.sap.tc.ur.renderer.ie6.CheckBoxRenderer.render(CheckBoxRenderer.java:50)

at com.sap.tc.webdynpro.clientimpl.html.renderer.classic.base.URRenderManager.render(URRenderManager.java:163)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:479)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:262)

at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutCellFragment(MatrixLayoutRenderer.java:759)

at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutRowFragment(MatrixLayoutRenderer.java:338)

at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutFragment(MatrixLayoutRenderer.java:303)

at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.render(MatrixLayoutRenderer.java:62)

at com.sap.tc.webdynpro.clientimpl.html.renderer.classic.base.URRenderManager.render(URRenderManager.java:163)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:479)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:262)

at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:562)

at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:59)

at com.sap.tc.webdynpro.clientimpl.html.renderer.classic.base.URRenderManager.render(URRenderManager.java:163)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:479)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:262)

at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutCellFragment(MatrixLayoutRenderer.java:759)

at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutRowFragment(MatrixLayoutRenderer.java:338)

at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutFragment(MatrixLayoutRenderer.java:303)

at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.render(MatrixLayoutRenderer.java:62)

at com.sap.tc.webdynpro.clientimpl.html.renderer.classic.base.URRenderManager.render(URRenderManager.java:163)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:479)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:262)

at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:562)

at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:59)

at com.sap.tc.webdynpro.clientimpl.html.renderer.classic.base.URRenderManager.render(URRenderManager.java:163)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:479)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:262)

at com.sap.tc.ur.renderer.ie6.ViewContainerRenderer.renderViewContainerFragment(ViewContainerRenderer.java:113)

at com.sap.tc.ur.renderer.ie6.ViewContainerRenderer.render(ViewContainerRenderer.java:38)

at com.sap.tc.webdynpro.clientimpl.html.renderer.classic.base.URRenderManager.render(URRenderManager.java:163)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:479)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:262)

at com.sap.tc.ur.renderer.ie6.ViewContainerRenderer.renderViewContainerFragment(ViewContainerRenderer.java:113)

at com.sap.tc.ur.renderer.ie6.ViewContainerRenderer.render(ViewContainerRenderer.java:38)

at com.sap.tc.webdynpro.clientimpl.html.renderer.classic.base.URRenderManager.render(URRenderManager.java:163)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:479)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:262)

at com.sap.tc.ur.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutItemFragment(FlowLayoutRenderer.java:246)

at com.sap.tc.ur.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutFragment(FlowLayoutRenderer.java:209)

at com.sap.tc.ur.renderer.ie6.FlowLayoutRenderer.render(FlowLayoutRenderer.java:38)

at com.sap.tc.webdynpro.clientimpl.html.renderer.classic.base.URRenderManager.render(URRenderManager.java:163)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:479)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:262)

at com.sap.tc.ur.renderer.ie6.GroupRenderer.renderGroupFragment(GroupRenderer.java:1089)

at com.sap.tc.ur.renderer.ie6.GroupRenderer.render(GroupRenderer.java:58)

at com.sap.tc.webdynpro.clientimpl.html.renderer.classic.base.URRenderManager.render(URRenderManager.java:163)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:479)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:262)

at com.sap.tc.ur.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutItemFragment(FlowLayoutRenderer.java:246)

at com.sap.tc.ur.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutFragment(FlowLayoutRenderer.java:209)

at com.sap.tc.ur.renderer.ie6.FlowLayoutRenderer.render(FlowLayoutRenderer.java:38)

at com.sap.tc.webdynpro.clientimpl.html.renderer.classic.base.URRenderManager.render(URRenderManager.java:163)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:479)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:262)

at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:562)

at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:59)

at com.sap.tc.webdynpro.clientimpl.html.renderer.classic.base.URRenderManager.render(URRenderManager.java:163)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:479)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:262)

at com.sap.tc.ur.renderer.ie6.ViewContainerRenderer.renderViewContainerFragment(ViewContainerRenderer.java:113)

at com.sap.tc.ur.renderer.ie6.ViewContainerRenderer.render(ViewContainerRenderer.java:38)

at com.sap.tc.webdynpro.clientimpl.html.renderer.classic.base.URRenderManager.render(URRenderManager.java:163)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:479)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:262)

at com.sap.tc.ur.renderer.ie6.ViewContainerRenderer.renderViewContainerFragment(ViewContainerRenderer.java:113)

at com.sap.tc.ur.renderer.ie6.ViewContainerRenderer.render(ViewContainerRenderer.java:38)

at com.sap.tc.webdynpro.clientimpl.html.renderer.classic.base.URRenderManager.render(URRenderManager.java:163)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:479)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:262)

at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutCellFragment(MatrixLayoutRenderer.java:759)

at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutRowFragment(MatrixLayoutRenderer.java:338)

at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutFragment(MatrixLayoutRenderer.java:303)

at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.render(MatrixLayoutRenderer.java:62)

at com.sap.tc.webdynpro.clientimpl.html.renderer.classic.base.URRenderManager.render(URRenderManager.java:163)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:479)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:262)

at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:562)

at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:59)

at com.sap.tc.webdynpro.clientimpl.html.renderer.classic.base.URRenderManager.render(URRenderManager.java:163)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:479)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:262)

at com.sap.tc.ur.renderer.ie6.ViewContainerRenderer.renderViewContainerFragment(ViewContainerRenderer.java:113)

at com.sap.tc.ur.renderer.ie6.ViewContainerRenderer.render(ViewContainerRenderer.java:38)

at com.sap.tc.webdynpro.clientimpl.html.renderer.classic.base.URRenderManager.render(URRenderManager.java:163)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:479)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:262)

at com.sap.tc.ur.renderer.ie6.ViewContainerRenderer.renderViewContainerFragment(ViewContainerRenderer.java:113)

at com.sap.tc.ur.renderer.ie6.ViewContainerRenderer.render(ViewContainerRenderer.java:38)

at com.sap.tc.webdynpro.clientimpl.html.renderer.classic.base.URRenderManager.render(URRenderManager.java:163)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:479)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:262)

at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutCellFragment(MatrixLayoutRenderer.java:759)

at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutRowFragment(MatrixLayoutRenderer.java:338)

at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutFragment(MatrixLayoutRenderer.java:303)

at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.render(MatrixLayoutRenderer.java:62)

at com.sap.tc.webdynpro.clientimpl.html.renderer.classic.base.URRenderManager.render(URRenderManager.java:163)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:479)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:262)

at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:562)

at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:59)

at com.sap.tc.webdynpro.clientimpl.html.renderer.classic.base.URRenderManager.render(URRenderManager.java:163)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:479)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:262)

at com.sap.tc.ur.renderer.ie6.ViewContainerRenderer.renderViewContainerFragment(ViewContainerRenderer.java:113)

at com.sap.tc.ur.renderer.ie6.ViewContainerRenderer.render(ViewContainerRenderer.java:38)

at com.sap.tc.webdynpro.clientimpl.html.renderer.classic.base.URRenderManager.render(URRenderManager.java:163)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:479)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:262)

at com.sap.tc.webdynpro.clientimpl.html.renderer.classic.base.UiWindowRenderer.render(UiWindowRenderer.java:26)

at com.sap.tc.webdynpro.clientimpl.html.renderer.classic.base.URRenderManager.render(URRenderManager.java:163)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:479)

at com.sap.tc.webdynpro.clientimpl.html.client.RenderManager.render(RenderManager.java:262)

at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.getHtmlEtc(HtmlClient.java:1602)

at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.fillDynamicTemplateContext(HtmlClient.java:894)

at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:2207)

at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.retrieveData(HtmlClient.java:242)

at com.sap.tc.webdynpro.clientserver.phases.RetrieveDataPhase.execute(RetrieveDataPhase.java:69)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequestPartly(WindowPhaseModel.java:161)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doProcessRequest(WindowPhaseModel.java:109)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:96)

at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:469)

at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:52)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doExecute(ClientApplication.java:1388)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doProcessing(ClientApplication.java:1208)

at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToApplicationDoProcessing(AbstractExecutionContextDispatcher.java:145)

at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForAppProcessing.doService(DispatchHandlerForAppProcessing.java:35)

at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)

at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)

at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToApplicationDoProcessing(ExecutionContextDispatcher.java:114)

at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:80)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:506)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:526)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessingStandalone(ApplicationSession.java:457)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:248)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:698)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:230)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:228)

at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:192)

at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.doService(DispatchHandlerForRequestManager.java:38)

at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)

at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)

at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToRequestManager(ExecutionContextDispatcher.java:140)

at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:92)

at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:104)

at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)

at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doPost(AbstractDispatcherServlet.java:61)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)

at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)

at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)

at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309)

at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)

[/code

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2007 at 03:19 PM

    I found my mistake. I had the field name in the form view defined as Text and used a checkbox as control element.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.