Welcome Guest Search | Active Topics | Sign In | Register

EP.PDF MVCtoPDF Filter crashes on any Html.Action inside of any view Options
Oleg Gorbatenko
Posted: Friday, October 26, 2018 6:20:23 AM
Rank: Newbie
Groups: Member

Joined: 10/26/2018
Posts: 2
Hello.

Found an issue today trying 18.3.23 EO.PDF.Mvc library on .NET MVC5 application:

Screenshot can be found here: https://yadi.sk/i/3gUwDymHwDKleg

How to Reproduce:

1. Register MVCtoPDF filter in Global.asax according to doc:

//Register EO.Pdf MVCToPDF filters
EO.Pdf.Mvc.MVCToPDF.RegisterFilter(typeof(GlobalFilters));

2. Make any call like @Html.Action("MachineConfig") inside of any view

3. Call a Controller method with this view

4. Receive an exception in 100% of cases:

[NullReferenceException: Object reference not set to an instance of an object.]
EO.Pdf.Mvc.MVCToPDF.a() +41
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +757
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +775
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +81
System.Web.Mvc.Async.<>c__DisplayClass1e.<BeginInvokeAction>b__1b(IAsyncResult asyncResult) +188
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38
System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +29
System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +52
System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +39
System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38
System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__4(IAsyncResult asyncResult, ProcessRequestState innerState) +43
System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +602
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +128

Could not find any info about this issue on the internet.

Thanks,
Oleg.
eo_support
Posted: Friday, October 26, 2018 1:07:34 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,258
Hi,

We have posted a test build that should resolve this issue. You can see your private message for the download location. Please take a look and let us know whether it resolves the issue for you.

Thanks!
Oleg Gorbatenko
Posted: Monday, October 29, 2018 6:17:05 AM
Rank: Newbie
Groups: Member

Joined: 10/26/2018
Posts: 2
Hi,

Test build solves the issue. Many thanks. Hope it will be released soon.

Best regards!
Oleg.
eo_support
Posted: Thursday, November 1, 2018 8:24:26 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,258
Thanks for the update. We will reply here again as soon as the release build is posted.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.