Customization controls don't show

I created a fairly in depth customization for the UD26 Entry form:

The problem is, it only loads 1 out of 5 times. Most of the time it loads as this:

I can clear the client cache and manually delete the client cache folder on the PC, and it still doesn’t necessarily load correctly. Usually if I close and reopen Epicor multiple times, it will eventually load correctly.

When it loads as a blank form, if I check the code, it’s all there. If I check the XML controls, they are all there. If I look in the tree view, none of the new controls are there. And obviously, they are not showing on the form. But the code compiles fine, even though it points to controls which don’t exist…

Any ideas?

Do you have any personalization’s on that form, if so delete them.

A long shot but you could try reindexing the ice.xxxdef table.

I would also be checking the server event logs to check if there are any errors which this occurs.

Perhaps it’s a performance issue related to number size of the encoded data (ice.xxxdef.content) that needs to be converted back to c# before the form can load… Anyone with any other suggestions?

There are no personalizations on the form. Will have to look into the ice.xxxdef tables although I’m not very familiar with them.

If it means anything, if I try to load this customization in the customization / personalization maintenance, when I verify customization, it opens it and leaves it open. It does not do this for my working customizations and have never noticed this for other “broken” ones. It does give me the exception level error of Object reference not set to an instance of an object. This continues to occur even if I comment out all the code.

I have fought with this problem before. Usually some brute force works. Delete and rebuild the whole BAQ and Dash. But that is a last resort. I think the last few posts on this thread were very helpful for me.

Search around for issues with customizations and that error: Object reference not set to an instance of an object.
Good luck! Let us know if you get it figured out!

This isn’t a dashboard. It’s an Entry form. There are a couple BAQs ran that I then use to update lists which are used for some combo boxes, but even if I comment all that out and run no queries, the controls still do not show on the form. Thank you for the reply thought, and I did go into look and make sure I wasn’t missing a BAQcombo or something of the like.

If it makes a difference, I actually have two different customizations on UD26 and both of them appears to be having this issue. The customizations have almost nothing in common except for both of them started as UD26 Entry forms.

I’m really starting to think I’m going to have to rebuild these but am afraid I’m going to spend a bunch of time rebuilding them only for them to flake out again.

Seems a big part of this might come down to the fact that the details for my detailPanel where I have set all my controls seems to have lost its properties:

I have two customizations based on UD26Entry where this behavior is happening and both of them also have this symptom. Also, when using the toolbox, any new controls dropped onto it (detailPanel) disappear as well. If I create a new customization based on the Base of UD26Entry, same behavior results for detailPanel - no properties and anything dropped on it doesn’t appear.

Further update.

It appears to be user specific. I had a colleague open the forms and everything appears for him. I have cleared my cache both through Epicor and by manually deleting the folder. Does not fix it. I went and logged onto another computer, still have the same issue. So it is not computer specific but does appear to be user specific.

Just curious if you could have code layer(s)?

A few weeks ago I ran into a problem with a form… and wasted a couple hours before I finally noticed there was a layer involved.

Was not aware of this functionality(code layers), but I have the opposite effect going on. The code remains but the controls have disappeared. And only for my user (and I am the one who created it)

Up date to make it even weirder. Not user specific. Had other colleagues try and it would not load for them either. Went back to the one it did load for and had him reopen it, and it didn’t work. So it worked once for him, but won’t work again. Other users, it never worked for. Myself, the developer, it worked through development and then stopped and won’t load again. Had the issue during development where this occurred occasionally, but when I would reload it would be fine. Now nothing causes it to work.

It started working again. And my properties are back:

I created another menu item based on UD26Entry. I then attempted to assign the customization to the new one. One of the two broken ones was listed, the other was not. I chose the one and it worked now. I then went to the customization maintenance, loaded the other (it was listed here, also was available if attempting to open with developer mode on, not listed in menu maintenance). I exported it, reimported it and then it appeared on the menu as an option for customization. I set the original two menu items back to their original customizations, and now it all works.

Now just hoping it doesn’t decide to stop working again…