Bundling ej2.min.js

Hi,

I'm using 3 packages of 16.2.0.43 version:
  1. Syncfusion.EJ2.JavaScript
  2. Syncfusion.EJ2.MVC5
  3. Syncfusion.Licensing

I can not make ScriptBundle:
bundles.Add(new ScriptBundle("~/bundles/sj2").Include("~/Scripts/ej2/ej2.min.js"));

I have an exception in a view on row @Scripts.Render("~/bundles/sj2").
System.NullReferenceException: 'Object reference not set to an instance of an object.'. 
Source: 'WebGracse'.

This worked in the version 16.1.x.x

Best regards,
Andrey Kabanets

3 Replies

SU Sridurgha Uthayakumaran Syncfusion Team July 12, 2018 03:58 PM UTC

Hi Kabanets, 

Thanks for your interest in Essential JS 2. 

We regret to let you know that, we are not able to reproduce the reported issue in our end. Could you please share the code snippet of your _Layout.cshtml and BundleConfig.cs files, it will be helpful for us to sort out the issue and provide you the  solution from our side as soon as possible. 

For your reference, we have created a simple sample and the same can be download from the below link. 


Please let us know if you require any further assistance on this. 

Regards, 
Sridurgha U 
 



KA Kabanets July 15, 2018 01:07 PM UTC

Hi,
I have attached my simple project.
Best regards,
Andrey Kabanets

Attachment: WebApplication3_4331a248.zip


SU Sridurgha Uthayakumaran Syncfusion Team July 16, 2018 12:41 PM UTC

Hi Kabanets, 

Sorry for the inconvenience caused. 

We have confirmed the issue with BundleConfig is a defect and we have logged a defect report for this. The fix for this issue is estimated to be available in our Essential Studio Volume 2, 2018 Service Pack 1 release until then we appreciate your patience. 

Please let us know if you require any further assistance on this. 

Regards, 
Sridurgha U 


Loader.
Up arrow icon