G Web Development Software: Bundling an Array of Reference Constant Clusters Is Crashing a Web Page

Updated Mar 11, 2025

Reported In

Software

  • G Web Development Software
  • G Web Development Software 2022 Q1
  • G Web Development Software 2021

Issue Details

I am developing a front panel for my application in G Web Development Software and I have a code similar to the following: 

image.png

In the screenshot above I am building an array from two clusters with same data type in them (reference constants), however the names of the constants differ. As a result, running the application outputs an error and the application hangs. The errors are shown in the screenshot below:

image.png

When I run the VI in browser, the browser window hangs and becomes not responsive. What is causing the error and how can I solve this issue?

Solution

We can see from the code screenshot that there are coercion dots appearing on the build array function. It is an indication that different data types are provided as a source. In order to use the build array function correctly, we need to use the same type of cluster with the same property names. We can do this by using the same cluster definition when setting the properties, as shown in the following image:
image.png

The image above can serve as a workaround for the issue, however ideally even if the values get coerced, the code shall throw no error since a similar code in LabVIEW would do so. Thus this behavior was addressed as a bug in G Web Development Software version 2022 Q1You can check the release notes of the upcoming versions to see if the bug is resolved (CAR number: 1882435).