We are developing a rather large (~18.000 AL objects with many dotNet Addins) code modified base app. The compilation from Visual Studio code with Ctrl+Shift+B runs successfully. We have created a local Database including NAV-Server with only the system tables. We are able to compile and publish a code modified base app which only includes the Microsoft AL files on that local NAV-Server successfully. When trying to publish our code modified base app with
Publish-NAVApp -ServerInstance NAV -Path "C:\VisualStudioCodeProjects\ALTest\Axians Infoma_newsystem_220.127.116.11.app" -SkipVerification -Verbose
the command runs for approximately 20 minutes and runs into the following error:
Publish-NAVApp : Object reference not set to an instance of an object.
During the running of the command the process Microsoft.Dynamics.Nav.Server utilizes all available free RAM (approx. 24GB).
In the event log there are the following two errors:
Server instance: NAV Category: Extensions
EventTime: 07/10/2020 12:46:34 Message Object reference not set to an instance of an object.
ProcessId: 19496 Tag: 00001YW
ThreadId: 17 CounterInformation:
Message: Object reference not set to an instance of an object.
Does anybody have any idea how to solve this?