Skip to content
This repository has been archived by the owner on Mar 4, 2022. It is now read-only.

Repository describing an issue encountered with Aml.Engine NuGet package on Linux in Release mode

Notifications You must be signed in to change notification settings

CocoDico78/AmlEngineImportBug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AmlEngineImportBug

EDIT

ISSUE SOLVED with implementation of CAEXDocument.IDisposable in version 1.7.4.

This repo is now archived.

Original issue description

Repository describing an issue encountered with Aml.Engine NuGet package v1.7.2 on Linux in Release mode.

System.NullReferenceException: Object reference not set to an instance of an object.
  Stack Trace:
      at Aml.Engine.CAEX.Extensions.CAEXFileTypeExtensions.ImportLibrary[T](CAEXFileType caexFile, T library)

thrown when running multiple calls to CAEXFile.InstanceHierarchy.Insert or to CAEXFile.Import_InstanceHierarchy.

Only happens with Linux in Release mode.

Steps to reproduce

  • Clone the repo
  • Run tests on Windows: all test pass in Debug and Release mode
  • Build the Docker image using provided Dockerfile
  • Run tests in container with dotnet test -c Debug: all tests pass
  • Run tests in container with dotnet test -c Release: not all tests pass

About

Repository describing an issue encountered with Aml.Engine NuGet package on Linux in Release mode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published