Page 1 of 1

Object is currently in use elsewhere

Posted: Thu Aug 13, 2020 10:41 am
by kubalak
I develop on OS X. Current version is 10.15.4 Catalina, dotnet core 2.2.401, Stimulsoft.Reports.Web.NetCore 2019.4.1 (tried with 2020.4.1 and the result is the same).

Since the system upgrade, the designer does not work. It always crushes with this error:

Code: Select all

info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[3]
      Route matched with {action = "DesignerEvent", controller = "Designer"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult DesignerEvent() on controller ArcheoLamia.Reports.Pages.DesignerController (ArcheoLamia.Web).
info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
      Executing action method ArcheoLamia.Reports.Pages.DesignerController.DesignerEvent (ArcheoLamia.Web) - Validation state: Valid
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET http://localhost:5000/designer/DesignerEvent/2?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2020.4.1&stiweb_data=AllNotLoadedScripts  
info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[3]
      Route matched with {action = "DesignerEvent", controller = "Designer"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult DesignerEvent() on controller ArcheoLamia.Reports.Pages.DesignerController (ArcheoLamia.Web).
info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
      Executing action method ArcheoLamia.Reports.Pages.DesignerController.DesignerEvent (ArcheoLamia.Web) - Validation state: Valid

Unhandled Exception: System.InvalidOperationException: Object is currently in use elsewhere.
   at System.Drawing.Graphics.Flush(FlushIntention intention)
   at System.Drawing.Graphics.Dispose()
   at System.Drawing.Graphics.Finalize()
Please would you know why? Before the upgrade, it worked no problem. Thanks!!

Re: Object is currently in use elsewhere

Posted: Tue Aug 18, 2020 6:33 am
by Lech Kulikowski
Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.

Re: Object is currently in use elsewhere

Posted: Tue Aug 18, 2020 7:12 am
by Lech Kulikowski
Hello,

We checked the report generator with Catalina 10.15.6, everything works correctly, no errors were found. We checked samples from the repository:
https://github.com/stimulsoft/Samples-N ... MVC-CSharp.

Please send a sample project for testing.

Thank you.