Troubleshooting
Why an HMI chart page stops with a data group registration error
Short answer
A data group registration error names the stage where the eHMI application stopped, not the object that broke it. Read the full exception in the browser console with F12, confirm the TSDB database and its assigned variable, then enable the chart and the data logger session one at a time on an otherwise minimal page so the failure follows the object with the broken binding.
On this page
The message is the map, not the diagnosis. "An error occurred during data group registration" names the stage where the eHMI application stopped — the startup moment when the page registers the data group behind its Chart and Data Logger Session — not which of the three cooperating elements broke. Read the full exception in the browser console before you change anything, then run a four-configuration matrix that holds the TSDB database and its assigned variable constant while you enable the Chart and the Data Logger Session one at a time. The failure follows the object with the broken binding: a minimal page that still fails convicts the TSDB assignment, an object that fails alone convicts that object's binding, and a pair that fails only together convicts the data group the two share.
What the registration stage tells you #
In PLCnext Engineer the page combines three elements that must come up together before the operator sees anything: the TSDB-type database you defined, the variable assigned to it, and the Chart and Data Logger Session objects that consume the recorded data. The eHMI registers the page's data group during startup, so a fault there stops the application before rendering, before alarms, and before any live value reaches the screen.
Keep the two failure layers separate:
- The tag layer: is the assigned variable valid, available to the eHMI, and delivering the values you expect?
- The binding layer: can the page objects resolve the configured data group and register it when the page starts?
A live value somewhere else on the panel does not prove the chart and logger are bound correctly, and the registration error does not prove the controller variable is bad. The symptom class also differs from a page that loads but crawls: many slow-resolving bindings produce the lag described in why HMI pages lag with many PLC variable bindings, while a registration fault kills the application outright.
Read the console exception before editing the project #
The on-screen text tells you where the extra detail lives: press F12 in Chrome, Firefox, or Internet Explorer to open the console, reload the page, and let it fail once with the console open. Copy the complete exception — object names, variable names, the whole text — into your test record.
That detail decides your first move. An exception thrown while the objects resolve the data group confirms a binding or registration fault; an exception about rendering or runtime data points past registration. If the console names a specific object or reference, go straight to it in the project and check it against the TSDB assignment. Work from the actual exception text, never from the one-line summary: that summary is identical for every project that fails at this stage, so it cannot distinguish your case.
Run a four-configuration isolation matrix #
Every run restarts the operator page, so run the matrix when the machine can safely lose that view — off-shift hours, a second observer at the process, or a bench target.
Two suspect objects give 2² = 4 configurations, and each run changes exactly one thing while the TSDB database and its assigned variable stay identical:
- Run 1 — the original page, both objects enabled: confirm the failure reproduces and capture the on-screen text and the console exception.
- Run 2 — Chart only, logger session removed.
- Run 3 — Data Logger Session only, chart removed.
- Run 4 — neither object: a minimal page on the same TSDB assignment.
At an example 2 minutes per redeploy-and-reload cycle, the matrix costs 4 x 2 min = 8 min of bench time, and it hands you a console record for every configuration.
| Result pattern | Where the fault sits | First edit |
|---|---|---|
| Minimal page (Run 4) fails | TSDB definition, variable reference, or the registration path itself | Correct the invalid or unresolved reference the console names |
| Minimal page passes, chart only fails | The chart's data-group binding | Rebuild that binding and retest before restoring the logger |
| Minimal page passes, logger only fails | The logger session's binding | Rebuild it the same way and retest alone |
| Each object passes alone, the pair fails | The data group the two objects share | Correct the mismatch, then retest the combined page |
A configuration that launches is evidence, not a fix, and a single-object test that passes is not clearance — the fault may need the exact pair on the page. The logging and charting behavior the page exists for still has to work when you call it closed.
Trace the fault from screen to tag #
- Reproduce the error and capture the complete on-screen text.
- Open the console with F12 and record the full exception thrown during page startup.
- Open the TSDB database definition and confirm the intended variable is the one assigned; compare its identity and availability with the source the objects reference.
- Check each Chart and Data Logger Session binding against the intended data group, looking for a missing, mismatched, or unresolved reference.
- Run the four-configuration matrix, keeping the console output of every run.
- Apply the table above and make the smallest edit that matches the result.
Stay on the HMI side of the interface until the evidence says otherwise: do not edit the controller tag merely because an HMI object reports a registration error. When the project reached this machine through a migration or a copy from another project, run the same checks described in validating HMI variables during a software migration — each variable the page uses must exist, carry the expected type, and deliver values before the page objects become suspects.
Fix the element the matrix isolates #
- Minimal page fails: review the TSDB definition and the assigned variable, then correct the specific invalid or unresolved reference identified in the project or the console. The fault is in the registration path, not in either object.
- One object reproduces it: review that object's data-group selection and binding, correct or rebuild the binding, and retest with that object alone before restoring the second object.
- Only the pair fails: inspect the data group configuration the two objects share, correct the mismatch, and retest the combined page. Passing alone does not guarantee joint registration, so the combined retest is not optional.
Do not infer an undocumented menu, parameter, or repair from the generic error text; the project editor's displayed configuration and the console's actual exception are the only two sources that name what needs correcting. One reported repeat of this fault ran Chrome on Windows 11 Pro against runtime 2024.0.4 with no published resolution — treat that as the reproduction environment, not as a version incompatibility.
Verify the repair proves the data path #
Reload the original page — both objects, original TSDB assignment — and confirm three things: the application stays running, the registration error stays gone, and the console is clean at startup.
Then prove the function, because a clean load that displays and records nothing is not a fix:
- The chart plots the assigned variable's values as they change.
- The Data Logger Session records them across the whole period the page must cover; verifying HMI historical trend retention before committing walks through that retention check.
- The variable itself delivers values, confirmed in the controller or HMI data view rather than through the chart you just repaired.
If the page now runs but the chart stays flat while a browser view of the same data draws curves, you have traded one documented symptom for another — the one covered in why an HMI trend shows no curves but the PC web page does. Recheck the console at startup after every edit. The matrix result, the console record, and a working chart-and-logger pair on the original page together close the case.
Questions asked
How do I get the detail behind "The HMI application has stopped"?
Focus the browser window, press F12, and reload the failing page so the exception posts while the console is open; Chrome, Firefox, and Internet Explorer all support this, as the on-screen message itself notes. Copy the complete exception text into the test record for every matrix run. The full text often names the object or reference that the one-line summary hides, and some exceptions post only during startup, before the page paints anything.
Does a data group registration error mean the PLC variable is bad?
Not by itself. Registration runs inside the eHMI application before controller data is exchanged, so the message points at the page's data group definition and bindings first. Check the variable only after the matrix: it must exist, match the type the TSDB assignment expects, and deliver values. If the minimal page without chart and logger still fails, the TSDB assignment or its variable reference is the suspect; if that page passes, leave the controller tag alone.
Which runtime and browser versions show this fault?
It has been reported with eHMI served to Chrome on Windows 11 Pro against runtime 2024.0.4, without a published resolution. Treat that as a reported reproduction environment, not a proven version incompatibility. The message text, the console step, and the four-run matrix do not depend on the version, so apply them on any target that shows the same registration failure.
Can the Chart and the Data Logger Session share one page?
Yes. Nothing about the fault forbids the two objects on one page; the combined-failure pattern only means their data group configuration interacts badly in that project. Correct the mismatched reference and retest the combined page with both objects in place. If each object still passes alone but the pair fails after the corrections, split them onto two pages as a temporary workaround while you compare the two data group definitions line by line.
What if no configuration in the matrix reproduces the error?
Then a constant moved without you noticing: a different target, a redeployed project copy, or a cached page in the browser. Go back to the original project file, deploy to the same target, and rerun the original page in a private browser window with the console open. A failure that appears on one target only points at that target's copy of the project, not at the page design itself.