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.
Unfortunately, activation email could not send to your email. Please try again.

Angular error - Unable to get property 'tmpl.$newscope' of undefined or null reference

Thread ID:

Created:

Updated:

Platform:

Replies:

119935 Aug 16,2015 12:52 PM Aug 19,2015 07:46 AM JavaScript 3
loading
Tags: General
Rob ONeill
Asked On August 16, 2015 12:52 PM

Hi,
I am getting this error quite frequently since upgrading to latest version 13.0.0.29, but can't see why it is happening. Any thoughts?

TypeError: Unable to get property 'tmpl.$newscope' of undefined or null reference
   at Anonymous function (http://localhost:59999/Scripts/ej/ej.widget.angular.min.js:10:7482)
   at Scope.prototype.$broadcast (http://localhost:59999/Scripts/angular.js:14785:15)
   at Scope.prototype.$destroy (http://localhost:59999/Scripts/angular.js:14405:9)
   at ngRepeatAction (http://localhost:59999/Scripts/angular.js:24653:13)
   at $watchCollectionAction (http://localhost:59999/Scripts/angular.js:14175:13)
   at Scope.prototype.$digest (http://localhost:59999/Scripts/angular.js:14308:23)
   at Scope.prototype.$apply (http://localhost:59999/Scripts/angular.js:14571:13)
   at Anonymous function (http://localhost:59999/Scripts/angular.js:21571:17)
   at jQuery.event.dispatch (http://localhost:59999/Scripts/jquery-2.1.3.js:4429:6)
   at elemData.handle (http://localhost:59999/Scripts/jquery-2.1.3.js:4115:5)


Cheers ... Rob.

Arun Kumar S [Syncfusion]
Replied On August 17, 2015 08:04 AM

Hi Rob,

Thank you for using Syncfusion products.

We have analyzed your query. We need more information to recreate the sample to find the exact defect. So could you please provide us the following details?

1.       In your query you mentioned that you are using the version 13.0.0.29. We would suspect that it would be version 13.2.0.29 if it is not the version we have mentioned, then please tell us the exact version since we don’t have 13.0.0.29 version.
2.       Could you please tell us in which scenario you are facing this error message i.e. the replication procedure?
3.       If possible could you please share your sample or code snippet to recreate the sample to identify the cause for the error.

The information you provided would be of very helpful for us to resolve the defect and assist you better.

Please let me know if you have any concerns.
 
Regards,
Arun Kumar S

Rob ONeill
Replied On August 18, 2015 06:39 AM

Hi,
1. Yes, sorry it is 13.2.0.29

2. Our scenario is using AngularJS with MVC. As I can't find exactly where this error is thrown I believe the scenario is using an ng-repeat and inside the ng-repeat there are syncfusion controls, such as a dropdown and treeview. These controls are therefore created dynamically with the data from the repeat. The error occurs (I think) when we delete from the ng-repeat (ie remove an item from the collection). All we doing with the collection is using the splice method on the array to remove that item that is no longer needed. After that occurs we get the "Unable to get property 'tmpl.$newscope' of undefined or null reference" error in the console.

3. Our code is very complicated to send a sample

Cheers ... Rob.

Harikrishnan P [Syncfusion]
Replied On August 19, 2015 07:46 AM

Hi Rob,

Thanks for your update.

In our version 13.2.0.29 this error occurs while destroying the component or while navigating to different view. We have fixed this issue internally and this fix is included in our latest service pack release version 13.2.0.34. So please use the script files from our latest version and this issue will be resolved. Our latest version is available for download under the following location

http://www.syncfusion.com/forums/119866/essential-studio-2015-volume-2-service-pack-release-v13-2-0-34-available-for-download


If still you face any difficulties kindly get back to us with more information about the issue and we will be happy to help you.

Regards,
HariKrishnan

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;