I am using VoltMX version 9 Service Pack 5 Fix Pack 12 and am trying to create a project using the reference architecture but once a create a UIModule the project crush.
Hi, can you provide the steps you are performing to receive this error?
I've seen issues similar to this due to a typo in custom code I have written, usually a missing closing bracket or curly brace. This results in malformed generated JavaScript at build time and the form objects are not properly instantiated at runtime as a result.
It's an obscure error because it's not exactly evident where the typo is but I would suggest verifying that first.
The steps I follow go like this:
1. I create a new project
2. Then select Native App
3. After selecting the Native App, I enable the Reference Architecture under the advanced project setting then click create button.
4. Under the forms section I would create an AppGroup called "AuthUIModule", then create a form called frmLogin under the AppGroup.
5.Then go to Reference Architecture Extensions then right click, hover over new then select UI Module, then rename the UI Module as the same as the AppGroup created in step 3.So it will renamed to "AuthUIModule".
Then I would do a Live preview but it returns that error.
Hi, I followed the steps you followed above, I added a label to my frmLogin form, did a Live Preview on my phone and I did not receive the error, my form was able to display. Here are my environment details:
Windows 10
Volt Iris 9.5.15
Samsung Galaxy Z Flip 4 with Android 13
You didn't mention what form factor for native so I chose phone and then I targeted it for Android 12 in the project Native -> Android settings.
My first suggestion would be to upgrade to 9.5.15 to see if that resolves the issue. My second suggestion would be that if you can repeatedly reproduce it in your environment, log a Support ticket and provide the project for our team to review.