Skip to main content
Question

Have to Unpublish and Republish customization package

  • May 29, 2025
  • 11 replies
  • 133 views

I have a new workflow that I’m working with in a sandbox environment before I implement in our production environment but for some reason it keeps disabling the functionality of the entire site after a few hours have passed. It’s not just breaking the actions that I have added in the customization package for the workflow but every action in the site. I cannot save or delete anything or republish the same customization package without an error. The only thing I’ve been able to do to get it working again is to unpublish the package, reset cache and restart the application before I publish the customization again, then the workflow and everything else in the site works again which is great but it will not be in any way a sustainable solution if this happens in production. The workflow is pretty dense, I had to add 24 new states with new workflow actions for each as well as a few record creation actions, I’m not sure if that has anything to do with the site breaking, just trying to include as much info as I can.

Any advice is appreciated!

11 replies

Forum|alt.badge.img+7
  • Captain II
  • May 29, 2025

Is the sandbox actively in use when the problem occurs? Or is it happening when it has been idle for a while? 

When it does break and you attempt to use an action, is there an error message that appears? What about the Trace - does it show anything?

 


  • Author
  • Freshman I
  • May 29, 2025

@Django The problem occurs after it has been idle for a couple of hours. The only error message I get usually is an “Object reference not set to instance of an object” or it will tell me that the system cannot access the path or part of the path located in a folder called “C:/AcumaticaERP/AppData/tsscreeninfo/Company”. I can confirm that the last part of the path is in fact missing from the tsscreeninfo folder. Any other exception or error shown in the trace is very non-specific. 


darylbowman
Captain II
Forum|alt.badge.img+15

the system cannot access the path or part of the path located in a folder called “C:/AcumaticaERP/AppData/tsscreeninfo/Company”

That’s a Modern UI error. Have you done anything related to the Modern UI?


  • Author
  • Freshman I
  • May 29, 2025

@darylbowman I have not done anything with Modern UI for this implementation.


Forum|alt.badge.img+1

Have you tried publishing the customization with a cleanup?


  • Author
  • Freshman I
  • June 3, 2025

@MinushaWeerasuriya76 Yes, I have tried publish with cleanup and the site still breaks after sitting idle for a couple hours. I get a “Unhandled exception has occurred in the function ‘MoveNext’. Please see trace log for details”, the only thing that shows up in the trace log is “Object reference not set to instance of an object”. 


darylbowman
Captain II
Forum|alt.badge.img+15

If you expand that trace record, it should give you a stack trace of where the object reference exception is coming from. Could you post that?


  • Author
  • Freshman I
  • June 5, 2025

@darylbowman This is what the trace log says. Sorry it took so long to respond I had to wait for the error to pop back up. 


darylbowman
Captain II
Forum|alt.badge.img+15

It looks like it would have something to do with the workflow saving an address.


  • Author
  • Freshman I
  • June 9, 2025

@darylbowman Is there anything that would resolve that in the customization editor? My apologies, this is my first implementation. 


darylbowman
Captain II
Forum|alt.badge.img+15

I’m sorry, I’m not sure how to help more than that.