Question

Error on publishing customization project

  • 6 April 2022
  • 2 replies
  • 373 views

Userlevel 4
Badge

I am getting the following error message when I try to publish changes made to my customization project , I added a new field ton the journal transaction screen GL301000

Publish Customization
Compiled projects: FeedmixCustomisation1.0.0,materialUsage
Validation started.
System.NullReferenceException: Object reference not set to an instance of an object.
   at Customization.ModuleEditor.InjectNewFields(CstDocument doc, FilesCollection context)
   at Customization.CstManager.ValidateDocument(CstDocument doc, Action`1 logMessageDelegate, Boolean patchLibInDB)
   at PX.Customization.CstValidationProcess.ValidateCurrentDocument(Action`1 logMessage, String& warnings)
   at PX.Customization.CstValidationProcess.CompileInternal()
   at PX.Customization.CstValidationProcess.<>c__DisplayClass6_0.<ProcessRequest>b__0()


How do I resolve these issue?


2 replies

Userlevel 6
Badge +5

@kudzaim20  It is hard to comment on what can be the issue without having the package, but my best guess is you missed to set one of required attributes for the new field added. Null reference error usually refers to that. For new fields you need to set the length, data type, name and display name. Check and find out which one is missing.

Userlevel 7
Badge

Hi @kudzaim20 were you able to resolve your issue? Thank you!

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved