NilayDeshmukh
Contributor
Contributor

Getting error while using string input parameter

Hi there, I have created a work flow to print the entered name in log file using System.log(). This work flow has only one input parameter of type string, I am calling this work flow from "Request" tab using a new button. When I click on this button, a page appear with a text box, here I am putting string "abcd" and click on submit button. The string value printed on log file successfully but I also got following exceptios in log :

2010-09-17 15:18:07.717+0530 TRACE StringRepresentationString representation in bad format (urlParameter: abcd)

2010-09-17 15:18:07.717+0530 TRACE StringRepresentation Error when trying to convert urlParameter ('abcd') to 'string'.

ch.dunes.model.type.ConvertorException: String representation in bad format (urlParameter: abcd)

at ch.dunes.model.StringRepresentation.getFromUrlParameter(Unknown Source)

at ch.dunes.model.StringRepresentation.getFromUrlParameterOrStringValue(Unknown Source)

at ch.dunes.vso.web.webform.WebformParameter.convert(Unknown Source)

at ch.dunes.vso.web.webform.WebformParameter.convertAndSetEditorValue(Unknown Source)

at ch.dunes.web.webview.pages.Webform.saveAndValidActiveStepParameters(Unknown Source)

at ch.dunes.web.webview.pages.Webform.submitWebform(Unknown Source)

at ch.dunes.web.webview.pages.Webform.pageValidate(Unknown Source)

at com.vmware.lcm.webui.SecureWebformPage.pageValidate(Unknown Source)

at org.apache.tapestry.AbstractPage.firePageValidate(AbstractPage.java:585)

at org.apache.tapestry.AbstractPage.validate(AbstractPage.java:307)

at org.apache.tapestry.engine.RequestCycle.activate(RequestCycle.java:625)

at org.apache.tapestry.engine.RequestCycle.activate(RequestCycle.java:611)

at org.apache.tapestry.engine.PageService.service(PageService.java:66)

at $IEngineService_12b1a72a4ea.service($IEngineService_12b1a72a4ea.java)

at org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(EngineServiceOuterProxy.java:66)

at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:248)

at org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:60)

at $WebRequestServicer_12b1a72a4c4.service($WebRequestServicer_12b1a72a4c4.java)

at $WebRequestServicer_12b1a72a4c0.service($WebRequestServicer_12b1a72a4c0.java)

at org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(WebRequestServicerPipelineBridge.java:56)

at $ServletRequestServicer_12b1a72a4a6.service($ServletRequestServicer_12b1a72a4a6.java)

at org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInjector.java:55)

at $ServletRequestServicerFilter_12b1a72a4a2.service($ServletRequestServicerFilter_12b1a72a4a2.java)

at $ServletRequestServicer_12b1a72a4a8.service($ServletRequestServicer_12b1a72a4a8.java)

at org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:52)

at $ServletRequestServicerFilter_12b1a72a4a0.service($ServletRequestServicerFilter_12b1a72a4a0.java)

at $ServletRequestServicer_12b1a72a4a8.service($ServletRequestServicer_12b1a72a4a8.java)

at org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53)

at $ServletRequestServicerFilter_12b1a72a4a4.service($ServletRequestServicerFilter_12b1a72a4a4.java)

at $ServletRequestServicer_12b1a72a4a8.service($ServletRequestServicer_12b1a72a4a8.java)

at $ServletRequestServicer_12b1a72a49a.service($ServletRequestServicer_12b1a72a49a.java)

at ch.dunes.web.webview.engine.WebviewApplicationServlet.doService(Unknown Source)

at ch.dunes.web.webview.engine.WebviewApplicationServlet.doPost(Unknown Source)

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

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

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at ch.dunes.vso.web.ProxyResponseFilter.doNothing(Unknown Source)

at ch.dunes.vso.web.ProxyResponseFilter.doFilter(Unknown Source)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)

at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)

at java.lang.Thread.run(Unknown Source)

Thanks

Nilay

0 Kudos
3 Replies
tschoergez
Leadership
Leadership

Hi!

Have you created your own webview?

Can you post the html-code which executes the workflow?

cheers,

joerg

0 Kudos
NilayDeshmukh
Contributor
Contributor

Hi Joerg, Thanks for ur reply.

I have not created any new webview, I am using the vCenter Lifecycle Manager web view only.

I have created a new workflow and I am calling this work flow using a button which I have added under the "Request" tab (present in vCenter Lifecycle Manager web view)

So there is no HTML code required.

I have added some string input parameter in the presentation tab of this workflow, and getting the above error in log files when i was trying to access this workflow using button.

Thanks

Nilay

0 Kudos
tschoergez
Leadership
Leadership

Can you give it a try not to use the LCM web-interface to start the workflow, but the orchestrator "fat-"client. And another one: use the orchestrator "weboperator"-webview to start your workflow (http://your-vco-server:8280/vmo/weboperator).

We have to figure out if the error is inside your workflow, the use of webviews at all or specific to the lifecycle-manager webview...

cheers,

joerg

0 Kudos