Publishing code modified base app runs into error "Object reference not set to an instance of an obj

holgerbaehren
Member Posts: 4
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
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:
MicrosoftDynamicsNavServer$NAV
Microsoft.Dynamics.Nav.Management.dll



Does anybody have any idea how to solve this?
Publish-NAVApp -ServerInstance NAV -Path "C:\VisualStudioCodeProjects\ALTest\Axians Infoma_newsystem_1.0.0.0.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:
MicrosoftDynamicsNavServer$NAV
Server instance: NAV Category: Extensions ClientSessionId: 37620e61-72d4-4701-b421-6e88978a3f3d ClientActivityId: 394ad171-1a5f-4852-9e7b-345d74c3b69d ServerSessionUniqueId: 2101b895-c3ca-4242-bc8a-d625c2be531d ServerActivityId: eb66b1bb-1d6c-4140-9ed1-e9850ca9daaf 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:
Microsoft.Dynamics.Nav.Management.dll
Type: System.InvalidOperationException Message: Object reference not set to an instance of an object. HResult: -2146233079



Does anybody have any idea how to solve this?
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions