Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Exception:TypeError: Cannot create property 'data' on number ... #20

Open
ZmRZjFuDsDiR4qi5801F opened this issue Dec 19, 2022 · 2 comments

Comments

@ZmRZjFuDsDiR4qi5801F
Copy link

Hello, we tried the node to connect to influxdb version 2 on our Bosch Rexroth ctrlX Hardware (Linux Ubuntu Core arm64). Unfortunately right after deploy, the Node.js process crashes caused by an Uncaught Exception of your node.

It seems to be caused by some internal conversions. Please could you provide us a fix for this or give us a hint if there's a workaround. Thank you in advance

Please see the callstack for details:

...
2022-12-07T09:17:56Z ctrlx-node-red.node-red[11962]: 7 Dec 09:17:56 - [red] Uncaught Exception:
2022-12-07T09:17:56Z ctrlx-node-red.node-red[11962]: 7 Dec 09:17:56 - [error] TypeError: Cannot create property 'data' on number '11.6'
2022-12-07T09:17:56Z ctrlx-node-red.node-red[11962]: at InfluxDbV2NodeWrite._inputCallback (/var/snap/rexroth-solutions/common/solutions/DefaultSolution/configurations/appdata/node-RED/node_modules/node-red-contrib-stackhero-influxdb-v2/src/write.js:37:26)
2022-12-07T09:17:56Z ctrlx-node-red.node-red[11962]: at /snap/ctrlx-node-red/674/lib/node_modules/@node-red/runtime/lib/nodes/Node.js:210:26
2022-12-07T09:17:56Z ctrlx-node-red.node-red[11962]: at Object.trigger (/snap/ctrlx-node-red/674/lib/node_modules/@node-red/util/lib/hooks.js:166:13)
2022-12-07T09:17:56Z ctrlx-node-red.node-red[11962]: at InfluxDbV2NodeWrite.Node._emitInput (/snap/ctrlx-node-red/674/lib/node_modules/@node-red/runtime/lib/nodes/Node.js:202:11)
2022-12-07T09:17:56Z ctrlx-node-red.node-red[11962]: at InfluxDbV2NodeWrite.Node.emit (/snap/ctrlx-node-red/674/lib/node_modules/@node-red/runtime/lib/nodes/Node.js:186:25)
2022-12-07T09:17:56Z ctrlx-node-red.node-red[11962]: at InfluxDbV2NodeWrite.Node.receive (/snap/ctrlx-node-red/674/lib/node_modules/@node-red/runtime/lib/nodes/Node.js:485:10)
2022-12-07T09:17:56Z ctrlx-node-red.node-red[11962]: at Immediate. (/snap/ctrlx-node-red/674/lib/node_modules/@node-red/runtime/lib/flows/Flow.js:831:52)
2022-12-07T09:17:56Z ctrlx-node-red.node-red[11962]: at processImmediate (node:internal/timers:466:21)

@AngeloHulshout
Copy link

Same problem here. Did you resolve this, or are we still waiting on a response from Stackhere?

@ZmRZjFuDsDiR4qi5801F
Copy link
Author

We're still waiting for any response or fix. Can anyone give us some information or schedule about that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants