We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Cannot use 'in' operator to search for '__eventList' in undefined

ej2-base.umd.min.js?85d3:10 Uncaught TypeError: Cannot use 'in' operator to search for '__eventList' in undefined
    at Function.t.addOrGetEventData (ej2-base.umd.min.js?85d3:10)
    at Function.t.remove (ej2-base.umd.min.js?85d3:10)
    at e.o.unWireEvents (ej2-charts.umd.min.js?a318:10)
    at e.o.destroy (ej2-charts.umd.min.js?a318:10)
    at e.o.componentWillUnmount (ej2-react-base.umd.min.js?badd:formatted:114)
    at callComponentWillUnmountWithTimer (react-dom.development.js?61bb:15799)
    at HTMLUnknownElement.callCallback (react-dom.development.js?61bb:149)
    at Object.invokeGuardedCallbackDev (react-dom.development.js?61bb:199)
    at invokeGuardedCallback (react-dom.development.js?61bb:256)
    at safelyCallComponentWillUnmount (react-dom.development.js?61bb:15806)

I get this error while using with webpack 4.

4 Replies

FK Fatih Kupelikilinc replied to Fatih Kupelikilinc February 5, 2019 11:54 AM UTC

ej2-base.umd.min.js?85d3:10 Uncaught TypeError: Cannot use 'in' operator to search for '__eventList' in undefined
    at Function.t.addOrGetEventData (ej2-base.umd.min.js?85d3:10)
    at Function.t.remove (ej2-base.umd.min.js?85d3:10)
    at e.o.unWireEvents (ej2-charts.umd.min.js?a318:10)
    at e.o.destroy (ej2-charts.umd.min.js?a318:10)
    at e.o.componentWillUnmount (ej2-react-base.umd.min.js?badd:formatted:114)
    at callComponentWillUnmountWithTimer (react-dom.development.js?61bb:15799)
    at HTMLUnknownElement.callCallback (react-dom.development.js?61bb:149)
    at Object.invokeGuardedCallbackDev (react-dom.development.js?61bb:199)
    at invokeGuardedCallback (react-dom.development.js?61bb:256)
    at safelyCallComponentWillUnmount (react-dom.development.js?61bb:15806)

I get this error while using with webpack 4.

Any support on this on? 


KC Kalaimathi Chellaiah Syncfusion Team February 5, 2019 05:39 PM UTC

Hi Fatih, 
 
Greetings from Syncfusion. 
 
We have analyzed your query. We have prepared a quickstart sample with webpack 4 in that chart has been rendered properly without any error which can be downloaded from the following location. 
 
 
To run the sample, kindly follow the below UG link. 
 
Package Screenshot: 
 
 
Since, we were not aware of your exact scenario which the issue was reproduced. We suspect that you have done some customization in your application, so please revert us back with following details which was more helpful for further analysis and provide you the solution sooner. 
 
  • Try to reproduce the reported scenario with the above sample and revert us.
  • Provide your sample with replication steps.
  • provide your code snippet
 
Regards, 
Kalai. 
 



SL Slavoljub May 3, 2019 03:21 PM UTC

Hi Kalai

I faced same issue like Faith

This is the current issue
http://prntscr.com/njzagc

I'm getting this issue when switching components
First component is Simple Table component
Second Component is PivotViewComponent

This is the code snippet of PivotViewComponent
http://prntscr.com/njzaxz

Can you help me fix it ?

Thanks,
Slavoljub


JP Jagadeesan Pichaimuthu Syncfusion Team May 6, 2019 12:06 PM UTC

Hi Slavoljub, 
  
We are unable to understand the exact problem with the provided information. So, we have prepared simple PivotView sample. 
 
  
If still the problem exists, kindly reproduce the problem in the provided sample and revert us (or) send your sample that replicating the problem. This would be a very helpful for us to investigate the reported problem at our end and provide the solution at earliest. 
  
Regards, 
Jagadeesan 


Loader.
Live Chat Icon For mobile
Up arrow icon