Object is currently in use elsewhere

Stimulsoft Reports.WEB discussion
Post Reply
kubalak
Posts: 17
Joined: Fri Aug 09, 2019 4:22 pm

Object is currently in use elsewhere

Post 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!!
Lech Kulikowski
Posts: 7338
Joined: Tue Mar 20, 2018 5:34 am

Re: Object is currently in use elsewhere

Post by Lech Kulikowski »

Hello,

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

Thank you.
Lech Kulikowski
Posts: 7338
Joined: Tue Mar 20, 2018 5:34 am

Re: Object is currently in use elsewhere

Post 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.
Post Reply