You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When trying to copy data point inside freshly created data source error occurs.
To Reproduce
Create virtual data source, name it and save it
Create new virtual data point and save it
Try to copy freshly created data point
See error
Expected behavior
Copying mechanism should work without any issues.
Screenshots
Desktop:
OS: Win 11
Browser Chrome
Version 2.7.8
Additional context
Console log:
INFO 2024-06-21T14:24:06,934 (com.serotonin.mango.rt.RuntimeManager.startDataPoint:493) - Data point 'vds - vdp_numeric' initialized
ERROR 2024-06-21T14:24:09,699 (com.serotonin.mango.web.filter.ExceptionDetectionFilter.doFilter:52) - DWR invocation exception
java.lang.NullPointerException: null
at com.serotonin.mango.rt.dataSource.DataSourceUtils.copyAndSaveDataPoint(DataSourceUtils.java:170) ~[classes/:?]
at com.serotonin.mango.web.dwr.DataSourceEditDwr.copyDataPoint(DataSourceEditDwr.java:2981) ~[classes/:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34) ~[dwr.jar:?]
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428) ~[dwr.jar:?]
at com.serotonin.web.dwr.LocalizationFilter.doFilter(LocalizationFilter.java:42) ~[seroUtils.jar:?]
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428) ~[dwr.jar:?]
at com.serotonin.mango.web.filter.ExceptionDetectionFilter.doFilter(ExceptionDetectionFilter.java:40) [classes/:?]
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428) [dwr.jar:?]
at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431) [dwr.jar:?]
at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283) [dwr.jar:?]
at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52) [dwr.jar:?]
The text was updated successfully, but these errors were encountered:
Describe the bug
When trying to copy data point inside freshly created data source error occurs.
To Reproduce
Expected behavior
Copying mechanism should work without any issues.
Screenshots
Desktop:
Additional context
Console log:
INFO 2024-06-21T14:24:06,934 (com.serotonin.mango.rt.RuntimeManager.startDataPoint:493) - Data point 'vds - vdp_numeric' initialized
ERROR 2024-06-21T14:24:09,699 (com.serotonin.mango.web.filter.ExceptionDetectionFilter.doFilter:52) - DWR invocation exception
java.lang.NullPointerException: null
at com.serotonin.mango.rt.dataSource.DataSourceUtils.copyAndSaveDataPoint(DataSourceUtils.java:170) ~[classes/:?]
at com.serotonin.mango.web.dwr.DataSourceEditDwr.copyDataPoint(DataSourceEditDwr.java:2981) ~[classes/:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34) ~[dwr.jar:?]
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428) ~[dwr.jar:?]
at com.serotonin.web.dwr.LocalizationFilter.doFilter(LocalizationFilter.java:42) ~[seroUtils.jar:?]
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428) ~[dwr.jar:?]
at com.serotonin.mango.web.filter.ExceptionDetectionFilter.doFilter(ExceptionDetectionFilter.java:40) [classes/:?]
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428) [dwr.jar:?]
at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431) [dwr.jar:?]
at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283) [dwr.jar:?]
at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52) [dwr.jar:?]
The text was updated successfully, but these errors were encountered: