I’ve been having some sporadic “crashes” - for lack of a better word - of a Perspective view that I’m playing around with. There isn’t much in it, just an XY Chart. So far it has only happened when I’m not actively using the Designer. This time I had the Designer open in the background while working in some other programs (Chrome, Excel, etc), and then go back to find the View unresponsive/showing a white screen. This most recent one occurred somewhere in the 15-45 minute range from the time I opened the view. Doesn’t allow me to add components to it. Only recourse is to close the View - losing any unsaved work - and re-open it. Below is what is printed in the Designer Console and a screenshot of the unresponsive view in the Designer (can provide a gateway backup if that will help).
The Gateway and Designer are running on the same machine. 2015 MacBook Pro, 16 GB Ram, MacOSX Sierra 10.12.6. Ignition 8.0.0-beta0 (b2018110513).
12:17:25.011 [Browser Events Thread] INFO Perspective.Designer.BrowserConsole - store.Views: Cannot send 'view-stop', disconnected. view=#3@D
12:17:25.016 [Browser Events Thread] INFO Perspective.Designer.BrowserConsole - [mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: 'Reaction[selection-config-details]
12:17:25.027 [Browser Events Thread] INFO Perspective.Designer.BrowserConsole - [mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: 'Reaction[deep-selection-sync]
12:17:25.027 [Browser Events Thread] INFO Perspective.Designer.BrowserConsole - [mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: 'Reaction[structure-sync]
12:17:30.137 [Browser Events Thread] INFO Perspective.Designer.BrowserConsole - onerrorLogger: {"stack":"TypeError: Cannot read property 'props' of undefined\n at SelectionStore.get deepSelection (http://localhost:8088/res/perspective/js/PerspectiveDesigner.js:25335:30)\n at trackDerivedFunction (http://localhost:8088/res/perspective/js/mobx.umd-3.3.1.js:3125:20)\n at ComputedValue.computeValue (http://localhost:8088/res/perspective/js/mobx.umd-3.3.1.js:1608:19)\n at ComputedValue.trackAndCompute (http://localhost:8088/res/perspective/js/mobx.umd-3.3.1.js:1597:43)\n at ComputedValue.get (http://localhost:8088/res/perspective/js/mobx.umd-3.3.1.js:1556:26)\n at shouldCompute (http://localhost:8088/res/perspective/js/mobx.umd-3.3.1.js:3076:29)\n at Reaction.runReaction (http://localhost:8088/res/perspective/js/mobx.umd-3.3.1.js:3308:17)\n at runReactionsHelper (http://localhost:8088/res/perspective/js/mobx.umd-3.3.1.js:3446:35)\n at reactionScheduler (http://localhost:8088/res/perspective/js/mobx.umd-3.3.1.js:3424:47)\n at http://localhost:8088/res/perspective/js/mobx.umd-3.3.1.js:3453:71","message":"Cannot read property 'props' of undefined","name":"TypeError","logData":{"msg":"Uncaught Exception","errorMsg":"Uncaught TypeError: Cannot read property 'props' of undefined","url":"http://localhost:8088/res/perspective/js/mobx-react-4.3.3.js","line number":794,"column":17}}
12:17:30.137 [Browser Events Thread] INFO Perspective.Designer.BrowserConsole - Uncaught TypeError: Cannot read property 'props' of undefined
12:17:30.151 [Browser Events Thread] INFO Perspective.Designer.BrowserConsole - The above error occurred in the <ViewEditor> component:
in ViewEditor (created by Designer)
in Designer
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react-error-boundaries to learn more about error boundaries.
12:17:30.151 [Browser Events Thread] INFO Perspective.Designer.BrowserConsole - onerrorLogger: {"stack":"TypeError: Cannot read property 'props' of undefined\n at SelectionStore.get deepSelection (http://localhost:8088/res/perspective/js/PerspectiveDesigner.js:25335:30)\n at trackDerivedFunction (http://localhost:8088/res/perspective/js/mobx.umd-3.3.1.js:3125:20)\n at ComputedValue.computeValue (http://localhost:8088/res/perspective/js/mobx.umd-3.3.1.js:1608:19)\n at ComputedValue.trackAndCompute (http://localhost:8088/res/perspective/js/mobx.umd-3.3.1.js:1597:43)\n at ComputedValue.get (http://localhost:8088/res/perspective/js/mobx.umd-3.3.1.js:1556:26)\n at shouldCompute (http://localhost:8088/res/perspective/js/mobx.umd-3.3.1.js:3076:29)\n at Reaction.runReaction (http://localhost:8088/res/perspective/js/mobx.umd-3.3.1.js:3308:17)\n at runReactionsHelper (http://localhost:8088/res/perspective/js/mobx.umd-3.3.1.js:3446:35)\n at reactionScheduler (http://localhost:8088/res/perspective/js/mobx.umd-3.3.1.js:3424:47)\n at http://localhost:8088/res/perspective/js/mobx.umd-3.3.1.js:3453:71","message":"Cannot read property 'props' of undefined","name":"TypeError","logData":{"msg":"Uncaught Exception","errorMsg":"Uncaught TypeError: Cannot read property 'props' of undefined","url":"http://localhost:8088/res/perspective/js/react-dom.development-16.4.2.js","line number":17479,"column":5}}
12:17:30.151 [Browser Events Thread] INFO Perspective.Designer.BrowserConsole - Uncaught TypeError: Cannot read property 'props' of undefined