Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Version 1.0.6] System.NullReferenceException at DxfReader.Read #540

Closed
Gu4ty opened this issue Jan 23, 2025 · 1 comment · Fixed by #541
Closed

[Version 1.0.6] System.NullReferenceException at DxfReader.Read #540

Gu4ty opened this issue Jan 23, 2025 · 1 comment · Fixed by #541
Labels
bug Something isn't working

Comments

@Gu4ty
Copy link

Gu4ty commented Jan 23, 2025

Describe the bug
DxfReader.Read() throws System.NullReferenceException

To Reproduce

using ACadSharp.IO;

var filePath = "test.dxf";
var doc = DxfReader.Read(filePath);
Console.WriteLine("OK");

Expected behavior
Show OK in the console.

Additional context
In version 1.0.5 and older works just fine.
Dxf file:
test.zip

@Gu4ty Gu4ty added the bug Something isn't working label Jan 23, 2025
@DomCR
Copy link
Owner

DomCR commented Jan 24, 2025

Hi @Gu4ty,

There is an issue related with building the ExtendedData into the document.

Sorry for the inconvenient and thanks for the report.

@DomCR DomCR linked a pull request Jan 24, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants