Skip to main content
Question

Error on publishing customization project


Forum|alt.badge.img

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

hkabiri
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Support Team
  • 226 replies
  • April 6, 2022

@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.


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • 2752 replies
  • April 26, 2022

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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings