When trying to load servers in web access inventory the browser keeps stuck with the servers displaying "loading..."
Looking in the tomcat log's I found this :
Error from CustomPropertyHandler for class com.vmware.vim.managedobject.ServiceInstanceand property _uniHost
java.lang.RuntimeException: java.lang.NullPointerException
at com.vmware.vim.service.Inventory.<init>(Inventory.java:167)
at com.vmware.vim.service.ServiceConnection.getInventory(ServiceConnection.java:333)
at com.vmware.vim.adapter.util.ProxyAdapter.getInventory(Unknown Source)
at com.vmware.vim.adapter.custom.property.UniHostPropertyHandler.getValue(Unknown Source)
at com.vmware.sdk.toolkit.CustomPropertyResolver.getProperty(CustomPropertyResolver.java:158)
at com.vmware.sdk.toolkit.CustomPropertyManager.getProperty(CustomPropertyManager.java:199)
at org.apache.commons.jxpath.ri.model.dynamic.DynamicPropertyPointer.getImmediateNode(DynamicPropertyPointer.java:165)
at org.apache.commons.jxpath.ri.model.beans.PropertyPointer.getImmediateValuePointer(PropertyPointer.java:127)
at org.apache.commons.jxpath.ri.model.NodePointer.getValuePointer(NodePointer.java:238)
at org.apache.commons.jxpath.ri.model.NodePointer.getValue(NodePointer.java:212)
at com.vmware.sdk.toolkit.util.JXPathUtil.processPropertyPointer(JXPathUtil.java:153)
at com.vmware.sdk.toolkit.util.JXPathUtil.processPointer(JXPathUtil.java:114)
at com.vmware.sdk.toolkit.util.SingleNode.getProperty(SingleNode.java:173)
at com.vmware.sdk.toolkit.view.tree.ObjectListTreeViewContentImpl.processStep(ObjectListTreeViewContentImpl.java:99)
at com.vmware.sdk.toolkit.view.tree.ObjectListTreeViewContentImpl.getProperty(ObjectListTreeViewContentImpl.java:85)
at com.vmware.sdk.toolkit.view.tree.ObjectListTreeViewImpl.getProperty(ObjectListTreeViewImpl.java:131)
at com.vmware.sdk.toolkit.view.tree.ObjectTreeViewImpl.getProperty(ObjectTreeViewImpl.java:84)
at com.vmware.vim.adapter.builder.SimplePropertyResolver.resolveProperties(Unknown Source)
at com.vmware.vim.adapter.builder.PropertySetImpl.init(Unknown Source)
at com.vmware.vim.adapter.action.PropertySetHelper.createPropertySet(Unknown Source)
at com.vmware.vim.adapter.action.PropertySetHelper.createPropertySet(Unknown Source)
at com.vmware.vim.adapter.action.CreateAndQueryPropertySetAction.processRequest(Unknown Source)
at com.vmware.vim.adapter.RequestProcessor.process(Unknown Source)
at com.vmware.vim.adapter.broker.ServerBrokerImpl.process(Unknown Source)
at com.vmware.webaccess.action.ServerBrokerActionServlet.service(Unknown Source)
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 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
at com.vmware.vim.service.Inventory.<init>(Inventory.java:164)
... 37 more
Any ideas?
Best regards,
Jacob
Hi Guys,
i had the same problem "staging loaded". I solve this with rename of my directorys that have the equal name like some vms. After that the inventory already quickly loaded. VMWare make's no different between directorys name or vms name is both the same. If you have same names VMWare has a problem.
Thats its.
I hope this uesefull for you.
Best regards
Addition:
Also, if you have templates in the root auf your Datacenter, this will be determine "staging loading....". I have create a directory and move the templates in this directory. Voala loading is complete. Ok in the template directory will still fail "stage loading.." but not in the rest of your Datacenter.
Best regards
Nachricht geändert durch splashcrum