Polymer 2.0 - Uncaught TypeError: this._propertySetter is not a function - polymer-2.x

I am trying to build my personal website using Polymer 2.0.0-rc.7 and WebComponents 1.0.0-rc.5.
But my custom elements are not showing up on the Chrome browser (Version 58.0.3029.81 (64-bit)) and IE 11, I have opened the DevTools and saw the below errors.
Please help me if you know the solution for the below errors.
Thanks.
Uncaught TypeError: this._propertySetter is not a function
at HTMLElement.__setMulti (app-route.html:402)
at HTMLElement.__tryToMatch (app-route.html:328)
at Object.runMethodEffect [as fn] (property-effects.html:768)
at runEffectsForProperty (property-effects.html:137)
at runEffects (property-effects.html:103)
at HTMLElement._propertiesChanged (property-effects.html:1554)
at HTMLElement._flushProperties (property-accessors.html:496)
at HTMLElement._flushClients (property-effects.html:1468)
at HTMLElement._propertiesChanged (property-effects.html:1550)
at HTMLElement._flushProperties (property-accessors.html:496)
Uncaught TypeError: Cannot read property 'split' of undefined
app-scroll-effects-behavior.html:274
at HTMLElement._effectsChanged (app-scroll-effects-behavior.html:274)
at Object.runMethodEffect [as fn] (property-effects.html:768)
at runEffectsForProperty (property-effects.html:137)
at runEffects (property-effects.html:103)
at HTMLElement._propertiesChanged (property-effects.html:1554)
at HTMLElement._flushProperties (property-accessors.html:496)
at HTMLElement._invalidateProperties (property-effects.html:1432)
at HTMLElement._setProperty (property-effects.html:1418)
at HTMLElement.Object.defineProperty.set (property-accessors.html:391)
at HTMLElement.connectedCallback (legacy-element-mixin.html:82)

Related

Fatal Exception: com.facebook.react.common.JavascriptException null is not an object (evaluating 'n[u]')

I have a project in React-native 0.60 with Redux-Saga and I have received a crash for Android in Google Firebase Crashlytics:
Fatal Exception: com.facebook.react.common.JavascriptException
null is not an object (evaluating 'n[u]'), stack: value#2368:3930 onSubmit#2368:1144 F#1737:580 #1700:5717 touchableHandlePress#205:2200 touchableHandlePress#-1 _performSideEffectsForTransition#189:9693 _performSideEffectsForTransition#-1 _receiveSignal#189:8375 _receiveSignal#-1 touchableHandleResponderRelease#189:5663 touchableHandleResponderRelease#-1 E#90:1233 z#90:1376 U#90:1430 D#90:1721 H#90:2497 forEach#-1 j#90:2297 #90:13831 Ue#90:81479 Me#90:13499 Fe#90:13672 receiveTouches#90:14441 value#31:3518 #31:822 value#31:2772 value#31:794 value#-1
It is a large project and I can't put some code here because I don't know what causes it and I searched in the path and I found out that "n[u]" is in index.android.bundle

How to handle errors in Vue

i have a good question that it's hard for me to find the answer. Sometimes i get an error something like this:
[Vue warn]: Error in render: "TypeError: Cannot read property 'email'undefined"
found in
---> <IUserSettings> at src\IUser\IUserSettings.vue
<Imenu> at src\Imenu.vue
<Icontent> at src\Icontent.vue
<ISlider> at src\UI\slider\ISlider.vue
<ISetup> at src\ISetup.vue
<ISlider> at src\UI\slider\ISlider.vue
<Iaccess> at src\Iaccess.vue
<ISlider> at src\UI\slider\ISlider.vue
<App> at src\App.vue
<Root>
TypeError: Cannot read property 'email' of undefined
at Proxy.render (eval at ./node_modules/vue-loader/lib/template-compiler/index.js?{"id":"data-v-2e2bc539","hasScoped":true,"transformToRequire":{"video":["src","poster"],"source":"src","img":"src","image":"xlink:href"},"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/IUser/IUserSettings.vue (app.js:6008), <anonymous>:159:63)
at VueComponent.Vue._render (vue.esm.js?efeb:4544)
at VueComponent.updateComponent (vue.esm.js?efeb:2788)
at Watcher.get (vue.esm.js?efeb:3142)
at Watcher.run (vue.esm.js?efeb:3219)
at flushSchedulerQueue (vue.esm.js?efeb:2981)
at Array.eval (vue.esm.js?efeb:1837)
at flushCallbacks (vue.esm.js?efeb:1758)
How do i find where the error come from? Is there away to to trace the tag where the error was occurred? Thx
The error happens at the first element you see in the trace. In your example, it happens inside src\IUser\IUserSettings.vue. Look for an object which has email property in that element, and make sure it isn't undefined.

Uncaught ReferenceError: pyeval is not defined

When I click Export XLSX on the General Ledger I get the error : pyeval is not defined
any idea how can I deal with it ?
after adding the debug=assets on the url I got :
http://localhost:8069/web_pdf_preview/static/src/js/web_pdf_preview.js:117
Retraçage :
ReferenceError: pyeval is not defined
at Class.ir_actions_report_xml (http://localhost:8069/web_pdf_preview/static/src/js/web_pdf_preview.js:117:30)
at Class.ir_actions_report_xml (http://localhost:8069/web/static/src/js/framework/class.js:122:38)
at Class.do_action (http://localhost:8069/web/static/src/js/action_manager.js:672:33)
at Class.do_action (http://localhost:8069/web/static/src/js/framework/widget.js:409:37)
at Class.do_action (http://localhost:8069/web/static/src/js/framework/widget.js:409:37)
at Class.do_action (http://localhost:8069/web/static/src/js/framework/widget.js:409:37)
at Object.handler (http://localhost:8069/web/static/src/js/framework/view.js:97:29)
at Object.<anonymous> (http://localhost:8069/web/static/lib/jquery/jquery.js:3276:89)
at fire (http://localhost:8069/web/static/lib/jquery/jquery.js:3119:58)
at Object.fireWith [as resolveWith] (http://localhost:8069/web/static/lib/jquery/jquery.js:3231:49)
solved the problem by adding declaring the variable pyeval on the file: web_pdf_preview/static/src/js/web_pdf_preview.js
var pyeval = require('web.pyeval');

Error in Dojo with highCharts showLoading option

I get this error in the console when I executed this http://jsfiddle.net/ikercrg/FSfR2/3/:
Uncaught TypeError: Object [object global] has no method '_getStyle'
The error happens because of these lines:
chart.showLoading();
...
chart.hideLoading();
And obviously nothing happen with this 'loading' option.
How can I solve this problem and make this 'loading' works correctly?

ST2.1 - Uncaught TypeError: Object [object Object] has no method 'link'

I've just tried to upgrade my ST2.0 source files of my application to ST2.1 by copying over all the javascript files in my project in the 'src' folder. When I load the first screen I get the following error:
Uncaught TypeError: Object [object Object] has no method 'link'
Is there a standard way to upgrade to 2.1? Any ideas why am I getting this error?
It seems to be happening in container.js, at this point in code:
updateUseBodyElement: function(useBodyElement) {
if (useBodyElement) {
this.link('bodyElement', this.innerElement.wrap({
Uncaught TypeError: Object [object Object] has no method 'link'
cls: 'x-body'
}));
}
},
The src folder for 2.1 is different, you cannot upgrade by just copying over the files.
This is the site I used to get my app upgraded.
http://senchatouchexp.blogspot.com/2012/12/sencha-touch-20x-upgrade-21.html