DouglasConnect / jsme-react

11 stars 13 forks source link

Error while not loading Jsme #20

Open hellhorse123 opened 7 months ago

hellhorse123 commented 7 months ago

Sometimes, when I try to pass value in JSME, when it is not loading, i get these errors:

Uncaught TypeError: Cannot read properties of null (reading 'b')
    at mK (0.js:352:360)
    at _.gh (0.js:369:471)
    at Object.eval (0.js:381:309)
    at Object.eval [as setCallBack] (0.js:556:223)
mK @ 0.js:352
_.gh @ 0.js:369
eval @ 0.js:381
eval @ 0.js:556
console.js:213 The above error occurred in the <Jsme2> component:

    at Jsme2 (http://localhost:5173/node_modules/.vite/deps/jsme-react.js?v=c378ba71:139:5)
    at div
    at div
    at div
    at http://localhost:5173/node_modules/.vite/deps/antd.js?v=c378ba71:11042:23
    at div
    at http://localhost:5173/node_modules/.vite/deps/antd.js?v=c378ba71:11057:25
    at DomWrapper4 (http://localhost:5173/node_modules/.vite/deps/antd.js?v=c378ba71:4912:5)
    at http://localhost:5173/node_modules/.vite/deps/antd.js?v=c378ba71:5280:32
    at http://localhost:5173/node_modules/.vite/deps/antd.js?v=c378ba71:11148:25
    at div
    at div
    at Dialog (http://localhost:5173/node_modules/.vite/deps/antd.js?v=c378ba71:11207:32)
    at http://localhost:5173/node_modules/.vite/deps/antd.js?v=c378ba71:10904:21
    at DialogWrap2 (http://localhost:5173/node_modules/.vite/deps/antd.js?v=c378ba71:11330:23)
    at NoFormStyle (http://localhost:5173/node_modules/.vite/deps/antd.js?v=c378ba71:14613:5)
    at NoCompactStyle (http://localhost:5173/node_modules/.vite/deps/antd.js?v=c378ba71:9536:5)
    at Modal (http://localhost:5173/node_modules/.vite/deps/antd.js?v=c378ba71:15637:15)
    at ModalComponent (http://localhost:5173/src/components/UI/modal/ModalComponent.tsx:20:3)
    at ModalContentDrawer (http://localhost:5173/src/pages/scaffold-placement/utils/modal-content-drawer/ModalContentDrawer.tsx?t=1703772486216:24:3)
    at div
    at div
    at div
    at CardContainer (http://localhost:5173/src/components/UI/card-container/CardContainer.tsx:20:3)
    at PlacementSelection (http://localhost:5173/src/pages/scaffold-placement/utils/placement-selection/PlacementSelection.tsx?t=1703771844619:31:43)
    at div
    at div
    at div
    at ScaffoldPlacementPage (http://localhost:5173/src/pages/scaffold-placement/index.tsx:31:7)
    at RenderedRoute (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=c378ba71:3327:5)
    at Outlet (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=c378ba71:3720:26)
    at div
    at div
    at http://localhost:5173/node_modules/.vite/deps/antd.js?v=c378ba71:27854:16
    at Layout
    at ProjectsSideProvider (http://localhost:5173/src/components/router/side/ProjectsSideContext.tsx:31:3)
    at div
    at http://localhost:5173/node_modules/.vite/deps/antd.js?v=c378ba71:27854:16
    at Layout
    at LayoutWrapper
    at PrivateRoute (http://localhost:5173/src/router/RoutingComponent.tsx:35:3)
    at RenderedRoute (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=c378ba71:3327:5)
    at Routes (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=c378ba71:3780:5)
    at MainRouter
    at RoutingComponent
    at Router (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=c378ba71:3727:15)
    at BrowserRouter (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=c378ba71:4207:5)
    at QueryClientProvider2 (http://localhost:5173/node_modules/.vite/deps/chunk-3YGZVDKH.js?v=c378ba71:2868:25)
    at App

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.
overrideMethod @ console.js:213
react-dom.development.js:12056 Uncaught TypeError: Cannot read properties of null (reading 'b')
    at mK (0.js:352:360)
    at _.gh (0.js:369:471)
    at Object.eval (0.js:381:309)
    at Object.eval [as setCallBack] (0.js:556:223)