WU-BIMAC/MicroMetaApp-React

[FATAL ERROR] MANAGE INSTRUMENT --> CRASH

Closed this issue · 0 comments

Describe the bug
While selecting the microscope file.
Buttons did not turn green and the following error appeared:

Uncaught TypeError: Cannot read property 'Tier' of undefined at MicroMetaAppReact.createOrUseMicroscopeFromSelectedFile (app.js:1276) at MicroMetaAppReact.eval (app.js:1381) at callCallback (/Users/strambc/Dropbevelopment.js:12490) at commitUpdateQueue (/Users/strambc/Dropbevelopment.js:12511) at commitLifeCycles (/Users/strambc/Dropbevelopment.js:19858) at commitLayoutEffects (/Users/strambc/Dropbevelopment.js:22803) at HTMLUnknownElement.callCallback (/Users/strambc/Dropb.development.js:188) at Object.invokeGuardedCallbackDev (/Users/strambc/Dropb.development.js:237) at invokeGuardedCallback (/Users/strambc/Dropb.development.js:292) at commitRootImpl (/Users/strambc/Dropbevelopment.js:22541)
/Users/strambc/Dropbevelopment.js:19527 The above error occurred in the <MicroMetaAppReact> component: in MicroMetaAppReact (created by MicroMetaAppElectronComponent) in MicroMetaAppElectronComponent

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.

/Users/strambc/Dropbevelopment.js:11102 Uncaught TypeError: Cannot read property 'Tier' of undefined
at MicroMetaAppReact.createOrUseMicroscopeFromSelectedFile (app.js:1276)
at MicroMetaAppReact.eval (app.js:1381)
at callCallback (/Users/strambc/Dropbevelopment.js:12490)
at commitUpdateQueue (/Users/strambc/Dropbevelopment.js:12511)
at commitLifeCycles (/Users/strambc/Dropbevelopment.js:19858)
at commitLayoutEffects (/Users/strambc/Dropbevelopment.js:22803)
at HTMLUnknownElement.callCallback (/Users/strambc/Dropb.development.js:188)
at Object.invokeGuardedCallbackDev (/Users/strambc/Dropb.development.js:237)
at invokeGuardedCallback (/Users/strambc/Dropb.development.js:292)
at commitRootImpl (/Users/strambc/Dropbevelopment.js:22541)
/Users/strambc/Dropbm.development.js:88 Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
in MicroMetaAppElectronComponent

  printWarning @ /Users/strambc/Dropb…m.development.js:88
  error @ /Users/strambc/Dropb…m.development.js:60
  warnAboutUpdateOnUnmountedFiberInDEV @ /Users/strambc/Dropb…evelopment.js:23161
  scheduleUpdateOnFiber @ /Users/strambc/Dropb…evelopment.js:21169
  enqueueSetState @ /Users/strambc/Dropb…evelopment.js:12639
  Component.setState @ /Users/strambc/Dropb….development.js:471
  onWindowResize @ app.js:319