Bagaimana kami dapat membantu Anda hari ini?

When attempting to select Custom Measurements using Hierarchies in PME 7.2.x and PME 8.0, the following error appears: "An error occurred while attempting to retrieve data"

Issue
An error occurs when selecting Custom Measurements in Hierarchies: "An error occurred while attempting to retrieve data."

Product Line

Power Monitoring Expert 7.2.x

Power Monitoring Expert 8.0



Environment
Reports run from Hierarchy

Cause
An issue occurs with the platform when Custom Measurements are used in conjunction with Hierarchies and Reporting as it produces an error seen below:

--------------------------
ID: 2540356
Timestamp: 1/04/2016 5:04:24.787 PM
Priority: ERROR
Source: ReportView_MultiDeviceUsage
Target: edfe0c00-d1d8-4048-b5d4-d23f541785a2
Category: Reporting View
Description: An error occurred while attempting to retrieve data.
---------------------------

It has been observed that the same report run on the same device and custom measurement can be accessed through “Devices” instead of “Views” in the source selector.


***************************************************
Steps to reproduce the issue (PME 7.2.2 or 8.0 will do it):
- Generate a device with a custom measurement and data;
- Ensure you can generate a report and see the data (Used Single Device Usage Report);
- Now create a Hierarchy Node based on this new source;
- In the report that worked above, change the source from the device to the Hierarchy Representation;
- You'll now get an error or just 'no data available' depending on the version;

This exception log will state:
PowerMeasurement.Reporting.Processor.ProcessingException: Unexpected error while processing rows. ---> System.NullReferenceException: Object reference not set to an instance of an object. at PowerMeasurement.Reporting.View.Processor.MeasurementMetaDataProcessor.GetMeasurementMetaData(DataRow row) at PowerMeasurement.Reporting.View.Processor.MeasurementMetaDataProcessor.Process(DataRow row) at PowerMeasurement.Reporting.Processor.DataProcessor.ProcessRows(DataTable table, IRowProcessor[] processors)


The Measurement ID from the Reporting prerequisite control is mapped to the Datastore ID to process the measurement meta data. The actual custom measurement does not seem to matter since the code fails to even map to the measurement, let alone gather any data. The issue may be in the platform method 'MeasurementMetaDataProcessor.GetMeasurementMetaData' that maps the measurement selector control ID to the Datastore ID by:
IIdentityMapping measurement = MeasurementIdentityMappings.FindIdentityForDataStoreId(measurementId.ToString());
In here it appears there is a mismatch and the mapping is not found.
***************************************************

Resolution
This is a known issue in PME 7.2.X and PME 8.0, but has been fixed in PME 8.1 and on.  Upgrading to the latest version of PME will fix this issue.

Schneider Electric Indonesia

Jelajahi lebih lanjut
Produk:
Jelajahi lebih lanjut
Produk:

Perlu bantuan?

Perlu bantuan?

Pemilih produk

Pemilih produk

Temukan produk dan aksesoris yang tepat untuk aplikasi Anda secara cepat dan mudah.

Dapatkan Penawaran Harga

Dapatkan Penawaran Harga

Silakan kirimkan pertanyaan terkait penjualan secara online dan pakar kami akan menghubungi Anda.

Tempat pembelian

Tempat pembelian

Temukan distributor Schneider Electric terdekat di lokasi Anda dengan mudah.

Pusat Bantuan

Pusat Bantuan

Temukan sumber daya dukungan untuk seluruh kebutuhan Anda, di satu tempat.

  • Dokumentasi Produk
  • Unduhan Perangkat Lunak
  • Pemilih Produk
  • Penggantian dan Penggantian Produk
  • Pusat Bantuan dan Kontak
  • Temukan Kantor kami
  • Dapatkan penawaran harga
  • Tempat Pembelian
  • Komunitas Schneider Electric
  • Karier
  • Profil Perusahaan
  • Melaporkan pelanggaran
  • Aksesibilitas
  • Newsroom
  • Investor
  • EcoStruxure
  • Pencarian Pekerjaan
  • Blog
  • Kebijakan Privasi
  • Pemberitahuan Cookie
  • Ketentuan penggunaan
  • Change your cookie settings