VMware Cloud Community
QLD
Enthusiast
Enthusiast

vCO 5.5 Webview - Exception occurred expanding AD

Greetings,

vCO 5.5 Applicance using the lastest AD Plug-in 4 connecting to AD via LDAPS / 636.

Using the vCO client I can browse AD no problem, add objects etc.

However, using the weboperator URL, opening a workflow, then opening a task,  'create computer in OU' and selecting the domain, it shows:

Webview - An exception has occurred.

Reason: $ChooserTreeDetail_62.type

You may continue by restarting the session.

When trying to expand the domain it shows: RPC Error: XMLHttpTrnasportError: 500 Internal Server Error

Does this work for anyone else?  I see it was an issue with the previous release also.

0 Kudos
6 Replies
QLD
Enthusiast
Enthusiast

Did some further testing.  Fresh OOB install using AD plugin 1.0.4.  Same problem.  (replaced the DN of my domain in the pasted log)

2014-02-10 14:49:12.708+1000 [http-bio-0.0.0.0-8281-exec-9] INFO  {} [WebviewServletContextListener] WEB - The webview 'weboperator' (weboperator) is started. Action security strategy: disabled (default) - Attributes shared: true

2014-02-10 14:49:12.708+1000 [http-bio-0.0.0.0-8281-exec-9] INFO  {} [ContextHandler] started o.e.j.w.WebAppContext{/vco/vmo,file:/var/lib/vco/app-server/temp/jetty-0.0.0.0-0-o11n-webview6937774316419182141war-_vco_vmo-any-/webapp/},/var/lib/vco/app-server/temp/o11n-webview6937774316419182141war

2014-02-10 14:49:13.554+1000 [http-bio-0.0.0.0-8281-exec-9] INFO  {} [AbstractConnector] Started NestedConnector@0.0.0.0:0

2014-02-10 14:49:14.727+1000 [http-bio-0.0.0.0-8281-exec-9] INFO  {} [WebViewItemFactory] Loading ignored resource file

2014-02-10 14:50:50.713+1000 [http-bio-0.0.0.0-8281-exec-8] WARN  {} [ComponentTemplateLoader] Template for component vco:ChooserTree does not reference embedded component: icon.

2014-02-10 14:50:50.713+1000 [http-bio-0.0.0.0-8281-exec-9] WARN  {} [ComponentTemplateLoader] Template for component vco:ChooserTree does not reference embedded component: icon.

2014-02-10 14:50:54.928+1000 [http-bio-0.0.0.0-8281-exec-9] WARN  {} [Container] DN not corresponding to an object of this type

2014-02-10 14:50:54.928+1000 [http-bio-0.0.0.0-8281-exec-9] WARN  {} [MSPluginFactory] Object 'OU:DC=my,DC=domain' of type ActiveDirectory not found

2014-02-10 14:50:54.985+1000 [http-bio-0.0.0.0-8281-exec-12] WARN  {} [Container] DN not corresponding to an object of this type

2014-02-10 14:50:54.992+1000 [http-bio-0.0.0.0-8281-exec-12] WARN  {} [MSPluginFactory] Object 'OU:DC=my,DC=domain' of type ActiveDirectory not found

2014-02-10 14:50:55.103+1000 [http-bio-0.0.0.0-8281-exec-12] INFO  {} [WebviewExceptionPage] Webview Exception - message:

org.apache.tapestry.BindingException: Unable to read OGNL expression '<parsed OGNL expression>' of $ChooserSelectPart_63@227870f1[weboperator/system/vmo/partials/chooser_selectpart/isNotAnArray]: onClickMethodName [classpath:/ch/dunes/vso/web/webform/components/editors/ChooserSelectPart.html, line 22]

at org.apache.tapestry.binding.ExpressionBinding.resolveExpression(ExpressionBinding.java:114)

at org.apache.tapestry.binding.ExpressionBinding.getObject(ExpressionBinding.java:103)

at org.apache.tapestry.AbstractComponent.renderInformalParameters(AbstractComponent.java:273)

at org.apache.tapestry.form.Submit.renderFormComponent(Submit.java:65)

at org.apache.tapestry.form.AbstractFormComponent.renderComponent(AbstractFormComponent.java:122)

at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)

at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:434)

at org.apache.tapestry.components.IfBean.renderComponent(IfBean.java:86)

at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)

at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:434)

at org.apache.tapestry.form.FormSupportImpl.render(FormSupportImpl.java:494)

at org.apache.tapestry.form.Form.renderComponent(Form.java:250)

at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)

at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:434)

at org.apache.tapestry.components.ElseBean.renderComponent(ElseBean.java:45)

at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)

at org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:92)

at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)

at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:434)

at org.apache.tapestry.components.IfBean.renderComponent(IfBean.java:86)

at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)

at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:434)

at org.apache.tapestry.components.IfBean.renderComponent(IfBean.java:86)

at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)

at org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:92)

at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)

at org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:275)

at org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:366)

at org.apache.tapestry.services.impl.ResponseRendererImpl.renderResponse(ResponseRendererImpl.java:71)

at $ResponseRenderer_1441a20ace3.renderResponse($ResponseRenderer_1441a20ace3.java)

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

at $IEngineService_1441a20ad5d.service($IEngineService_1441a20ad5d.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_1441a20ad39.service($WebRequestServicer_1441a20ad39.java)

at $WebRequestServicer_1441a20ad35.service($WebRequestServicer_1441a20ad35.java)

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

at $ServletRequestServicer_1441a20ad1b.service($ServletRequestServicer_1441a20ad1b.java)

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

at $ServletRequestServicerFilter_1441a20ad17.service($ServletRequestServicerFilter_1441a20ad17.java)

at $ServletRequestServicer_1441a20ad1d.service($ServletRequestServicer_1441a20ad1d.java)

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

at $ServletRequestServicerFilter_1441a20ad15.service($ServletRequestServicerFilter_1441a20ad15.java)

at $ServletRequestServicer_1441a20ad1d.service($ServletRequestServicer_1441a20ad1d.java)

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

at $ServletRequestServicerFilter_1441a20ad19.service($ServletRequestServicerFilter_1441a20ad19.java)

at $ServletRequestServicer_1441a20ad1d.service($ServletRequestServicer_1441a20ad1d.java)

at $ServletRequestServicer_1441a20ad0f.service($ServletRequestServicer_1441a20ad0f.java)

at ch.dunes.web.webview.engine.WebviewApplicationServlet.doService(WebviewApplicationServlet.java:100)

at ch.dunes.web.webview.engine.WebviewApplicationServlet.doPost(WebviewApplicationServlet.java:144)

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

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

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:598)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1367)

at ch.dunes.vso.web.ProxyResponseFilter.doNothing(ProxyResponseFilter.java:91)

at ch.dunes.vso.web.ProxyResponseFilter.doFilter(ProxyResponseFilter.java:64)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1338)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:484)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:413)

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)

at org.eclipse.jetty.server.Server.handle(Server.java:350)

at org.eclipse.jetty.nested.NestedConnection.service(NestedConnection.java:85)

at org.eclipse.jetty.nested.NestedConnector.service(NestedConnector.java:81)

at com.vmware.o11n.webviewserver.NestedJettyWebviewHandler.service(NestedJettyWebviewHandler.java:87)

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

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

at com.vmware.o11n.webviewserver.WebviewActiveNodeFilter.doFilter(WebviewActiveNodeFilter.java:38)

at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)

at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)

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:581)

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.RemoteIpValve.invoke(RemoteIpValve.java:680)

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)

Caused by: org.apache.hivemind.ApplicationRuntimeException: Unable to read OGNL expression '<parsed OGNL expression>' of $ChooserSelectPart_63@227870f1[weboperator/system/vmo/partials/chooser_selectpart/isNotAnArray]: onClickMethodName [context:/WEB-INF/system/vmo/partials/chooser_selectpart.html, line 3]

at org.apache.tapestry.services.impl.ExpressionEvaluatorImpl.readCompiled(ExpressionEvaluatorImpl.java:95)

at $ExpressionEvaluator_1441a20adfa.readCompiled($ExpressionEvaluator_1441a20adfa.java)

at org.apache.tapestry.binding.ExpressionBinding.resolveExpression(ExpressionBinding.java:110)

... 93 more

Caused by: ognl.OgnlException: onClickMethodName [java.lang.ClassCastException: ch.dunes.model.type.NotFoundObject cannot be cast to ch.dunes.model.dunes.DunesObject]

at ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:949)

at ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java:53)

at ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:121)

at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1657)

at ognl.ASTProperty.getValueBody(ASTProperty.java:92)

at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)

at ognl.SimpleNode.getValue(SimpleNode.java:210)

at ognl.Ognl.getValue(Ognl.java:333)

at ognl.Ognl.getValue(Ognl.java:310)

at org.apache.tapestry.services.impl.ExpressionEvaluatorImpl.readCompiled(ExpressionEvaluatorImpl.java:91)

... 95 more

0 Kudos
ETAVIS_GNS_AG
Contributor
Contributor

Did you ever resolve that? I have exactly the same behavior.

0 Kudos
igaydajiev
VMware Employee
VMware Employee

We  have similar issue already reported.We are working on a fix for it.

I would like to confirm the exact version  of vCO  you are referring to.
Could you also provide a screenshot of the error?

in case it is the same issue it should be reproducible also with  workflows not related to AD plug-in. Basicly any workflow using inventory tree for selecting inputs.

0 Kudos
ClaudioStocker
Contributor
Contributor

Hi

I have seen this in vCO 5.5.1 on Windows and I'm still having this issue on a fresh install of vCO Appliance 5.5.2.0-1992027. vCenter is: vCenter-Server-Appliance-5.5.0.20000-2063318

You are right! Same error in the SNMP inventory tree...

Cheers

Claudio

0 Kudos
igaydajiev
VMware Employee
VMware Employee

Reposting from Re: start workflows in webviews - XMLHttpTransport Error: 500 Internal Server Error when trying to c...

We have already this issue reported and we are in process of publishing  kb article containing the fix.

it should be available until the  end of the week. Will provide the link once it is publicly available.

To verify that the issue is the same you can check vCO server log file for error messages similar to :

ch.dunes.vso.sdk.SDKTypeConvertor_server$1 cannot be cast to ch.dunes.model.dunes.DunesObject

0 Kudos
igaydajiev
VMware Employee
VMware Employee

0 Kudos