The dwg file(version is AC1027) can be viewed in CAD software, and when I tried to load the dwg file, the program reported an error.
Program runtime environment:
JDK11,aspose-cad:24.3
This line of code throws an exception:
CadImage image = (CadImage) Image.load(dwgFilePath);
error prompt:
Caused by: class com.aspose.cad.internal.Exceptions.Exception: Cannot process loading further due to incorrect file format structure, may be file is corrupted. Invalid optcode ‘7’ value.
I need your help, thank you!