Hello,
I'm getting an error every time I click the save button, cant figure out whats causing it. It still saves any changes I make but I keep getting the error. I pasted the error message from output console.
08:55:36.608 [Render Thread: 237427c6-e322-4931-a779-b4ae3100bfb3] WARN Perspective.JavaJsBridge -- Exception when invoking 'beginSave' on JsObject at window._designerStore
08:55:36.609 [Browser Thread: aa0ec372-3eb8-45b7-b40f-85987da15ad6] INFO Perspective.SessionProps -- onerrorLogger: {"stack":"TypeError: Cannot read properties of undefined (reading 'createPathPredicate')\n at M.exportPropertyTreeForSave (http://localhost:8088/res/perspective/js/PerspectiveDesigner.ad9f002e8c6c2dc00c30.js:2:143384)\n at v.getSessionPropsConfigForSave (http://localhost:8088/res/perspective/js/PerspectiveDesigner.ad9f002e8c6c2dc00c30.js:2:173051)\n at x.beginSave (http://localhost:8088/res/perspective/js/PerspectiveDesigner.ad9f002e8c6c2dc00c30.js:2:185449)","message":"Cannot read properties of undefined (reading 'createPathPredicate')","name":"TypeError","logData":{"msg":"Uncaught Exception","errorMsg":"Uncaught TypeError: Cannot read properties of undefined (reading 'createPathPredicate')","url":"http://localhost:8088/res/perspective/js/PerspectiveDesigner.ad9f002e8c6c2dc00c30.js","line number":2,"column":143384}}
08:55:36.609 [Browser Thread: aa0ec372-3eb8-45b7-b40f-85987da15ad6] INFO Perspective.SessionProps -- Uncaught TypeError: Cannot read properties of undefined (reading 'createPathPredicate')
08:55:36.609 [Designer-misc-1] ERROR com.inductiveautomation.ignition.client.util.gui.ErrorUtil -- Unable to save session props.
java.util.concurrent.ExecutionException: com.teamdev.jxbrowser.js.JsException: Uncaught TypeError: Cannot read properties of undefined (reading 'createPathPredicate')
at java.base/java.util.concurrent.CompletableFuture.reportGet(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.get(Unknown Source)
at com.inductiveautomation.perspective.designer.workspace.pageconfig.SessionPropsAdapter.commit(SessionPropsAdapter.java:212)
at com.inductiveautomation.perspective.designer.workspace.pageconfig.WorkspaceRootConfig.commit(WorkspaceRootConfig.java:22)
at com.inductiveautomation.perspective.designer.workspace.ViewWorkspace.notifyProjectSaveStart(ViewWorkspace.java:399)
at com.inductiveautomation.perspective.designer.DesignerHook.notifyProjectSaveStart(DesignerHook.java:638)
at com.inductiveautomation.ignition.designer.IgnitionDesigner.lambda$getCommitTasks$46(IgnitionDesigner.java:1667)
at com.inductiveautomation.ignition.designer.IgnitionDesigner.lambda$commitAll$41(IgnitionDesigner.java:1618)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.base/java.util.stream.ReferencePipeline.reduce(Unknown Source)
at com.inductiveautomation.ignition.designer.IgnitionDesigner.commitAll(IgnitionDesigner.java:1626)
at com.inductiveautomation.ignition.designer.IgnitionDesigner.handleSave(IgnitionDesigner.java:1377)
at com.inductiveautomation.ignition.designer.IgnitionDesigner$Handler.lambda$handleSaveAction$12(IgnitionDesigner.java:2668)
at com.inductiveautomation.ignition.client.util.gui.progress.Task$FunctionWrapper.apply(Task.java:247)
at com.inductiveautomation.ignition.client.util.gui.progress.Task$FunctionWrapper.apply(Task.java:237)
at com.inductiveautomation.ignition.client.util.gui.progress.Task.lambda$runInternal$3(Task.java:205)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: com.teamdev.jxbrowser.js.JsException: Uncaught TypeError: Cannot read properties of undefined (reading 'createPathPredicate')
at com.teamdev.jxbrowser.js.internal.JsObjectImpl.callMethod(JsObjectImpl.java:175)
at com.teamdev.jxbrowser.js.internal.JsObjectImpl.call(JsObjectImpl.java:153)
at com.inductiveautomation.perspective.designer.workspace.JavaJsBridge.lambda$invokeFunction$2(JavaJsBridge.java:286)
at com.teamdev.jxbrowser.frame.internal.FrameImpl$1.onNext(FrameImpl.java:342)
at com.teamdev.jxbrowser.frame.internal.FrameImpl$1.onNext(FrameImpl.java:338)
at com.teamdev.jxbrowser.internal.rpc.ServiceConnectionImpl.lambda$invokeAsync$6(ServiceConnectionImpl.java:229)
at com.teamdev.jxbrowser.internal.RpcThreadImpl$TaskRunner.processTasks(RpcThreadImpl.java:175)
... 1 common frames omitted
08:55:36.764 [Designer-misc-1] INFO designer.update-and-save -- Push finished in 23ms.