Bad export from CommandCentral Storage (CCS) WebGUI console page Settings->Host Management->explorer view of host

Article:TECH146781  |  Created: 2010-12-22  |  Updated: 2011-08-15  |  Article URL http://www.symantec.com/docs/TECH146781
Article Type
Technical Solution


Environment

Issue



An error is recorded in a (comma separated values) .csv file export of the MH  (managed Host) explorers list instead of the expected values resulting in the display of the error listed below instead of the expected lists of hosts when opened.


Error



<Grid>
 <IO Result='-1065353214'  
 
     ErrorMessage='Cannot find data property 'TimeDCTScheduled''
     ErrorIcon='/spc/spring/cache/2009.12.04.1241/images/error_16.gif'
     ErrorIconText='Error'
     ErrorSupportUrl='http://entsupport.symantec.com/umi/V-0-49280-2'
     ErrorCode='V-0-49280-2'
     
ErrorStack='<p>vrts.ccsharedui.errors.DataNotFoundError: Cannot find data
property
'TimeDCTScheduled'</p>vrts.ccsharedui.widgets.WidgetHelper.getDataProperty(WidgetHelper.java:181)<br>vrts.sanconsole.web.treetable.MgmtTableCellFormatter.getDataProperty(MgmtTableCellFormatter.java:86)<br>vrts.sanconsole.web.treetable.MgmtTableCellFormatter.formatSortValue(MgmtTableCellFormatter.java:103)<br>vrts.ccsharedui.widgets.table.controllers.TreeTableController.exportDataToCSV(TreeTableController.java:1606)<br>vrts.ccsharedui.widgets.table.controllers.TreeTableController.getExportData(TreeTableController.java:1661)<br>vrts.ccsharedui.widgets.table.controllers.TreeTableController.handleRequest(TreeTableController.java:1772)<br>org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)<br>org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:839)<br>org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:774)<br>org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:460)<br>org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:425)<br>javax.servlet.http.HttpServlet.service(HttpServlet.java:647)<br>javax.servlet.http.HttpServlet.service(HttpServlet.java:729)<br>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)<br>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)<br>vrts.tomcat.admin.SecurePortRedirector.doFilter(SecurePortRedirector.java:217)<br>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)<br>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)<br>vrts.tomcat.admin.HTTPMethodBlocker.doFilter(HTTPMethodBlocker.java:160)<br>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)<br>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)<br>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)<br>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)<br>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<br>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)<br>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)<br>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)<br>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)<br>org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)<br>org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)<br>org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)<br>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)<br>java.lang.Thread.run(Unknown
Source)<br><p>caused
br.severity.0=Success</p><p>java.lang.NoSuchMethodException:
<unbound>=ArrayList.TimeDCTScheduled();</p>java.beans.Statement.invoke(Unknown
Source)<br>java.beans.Expression.getValue(Unknown
Source)<br>vrts.ccsharedui.widgets.WidgetHelper.getDataProperty(WidgetHelper.java:175)<br>vrts.sanconsole.web.treetable.MgmtTableCellFormatter.getDataProperty(MgmtTableCellFormatter.java:86)<br>vrts.sanconsole.web.treetable.MgmtTableCellFormatter.formatSortValue(MgmtTableCellFormatter.java:103)<br>vrts.ccsharedui.widgets.table.controllers.TreeTableController.exportDataToCSV(TreeTableController.java:1606)<br>vrts.ccsharedui.widgets.table.controllers.TreeTableController.getExportData(TreeTableController.java:1661)<br>vrts.ccsharedui.widgets.table.controllers.TreeTableController.handleRequest(TreeTableController.java:1772)<br>org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)<br>org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:839)<br>org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:774)<br>org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:460)<br>org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:425)<br>javax.servlet.http.HttpServlet.service(HttpServlet.java:647)<br>javax.servlet.http.HttpServlet.service(HttpServlet.java:729)<br>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)<br>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)<br>vrts.tomcat.admin.SecurePortRedirector.doFilter(SecurePortRedirector.java:217)<br>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)<br>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)<br>vrts.tomcat.admin.HTTPMethodBlocker.doFilter(HTTPMethodBlocker.java:160)<br>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)<br>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)<br>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)<br>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)<br>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<br>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)<br>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)<br>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)<br>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)<br>org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)<br>org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)<br>org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)<br>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)<br>java.lang.Thread.run(Unknown
Source)<br>'
     
 
   >
 </IO>
</Grid>

Environment



Windows CCS Management Server (MS)

Solaris MS

Firefox or Internet Explorer browser


Cause



By default if the dataproperty is not found the code forwards the request to the Widget Helper, but for the Tree Table constructed out of the Management Tables the code cannot forward the request to the Widget helper, because there is no way for the widget helper to identify from where to get the data and because of the lack of identifiable data the widget helper was throwing the exception.


Solution



Expected resolution is in a future version.

STATE:      FIXED 
PRODUCT:    CCSTORAGE_ESCALATIONS
TARGET_VERSION:   5.2_HF (5.2RU1)

To remedy the situation the code needs to pass "empty" data.

Since the data is fetched before the application constructs the tree table which means once the user saves the Explorer tree table to csv file, only those columns with viewable data will be available in the csv file whose data is shown in the Table, although the hidden columns will be available in the CSV file and viewable as headers the data will not be available.

As workaround for the user to see the data for the hidden column, the user needs to first make the column as a visible column from within the table settings  popup window by moving the hidden column under  Available Columns  to  Selected Columns and then do the Export to CSV file from within the 'Settings->Host Management-> <Hostname> ->(explorer list).


Supplemental Materials

SourceETrack
Value2191676
Description

error in exported .csv from host management/explorer list



Article URL http://www.symantec.com/docs/TECH146781


Terms of use for this information are found in Legal Notices