cart: empty [ Login ]

Illegal data file segment data record data size

1 
larsD
10/30/2017 11:42 AM
Hi, we get an exception in WW.Cad.dll reading a DWG-file: System.Exception Message=Illegal data file segment data record data size 100940. Source=WW.Cad StackTrace: at . . . ( r, Int32 index, UInt32 maxRawSize) at . . . ( serializer) at . . . () at . . . ( & dataStore, r) at WW.Cad.IO.DwgReader. () at WW.Cad.IO.DwgReader.Read(DxfModel model) at WW.Cad.IO.DwgReader.Read() We are using CadLib (WW.Cad.dll) 3.5.35.85 (upgrade order in progress). Could you give us a hint what we could do to avoid the exception? It seems that the problem arises when reading a dynamic block. Is this bug fixed in recent versions? Thanks and Best Regards, Lars Tried to attach the file here, but that did not work. Sending it via email...
larsD
11/24/2017 5:17 PM
Hi, any news on that? We ordered a current version now, but deployment to me will take two weeks. So any help is still appreciated. Wout, I hope you got my email, too. Thanks, Lars
Wout
11/28/2017 12:10 PM
Sorry, lost sight of this when I was working on the AutoCAD 2018 format. Looking into this today. - Wout
Wout
11/28/2017 3:25 PM
Hi, CadLib will now log an error instead of throwing an exception when encountering an Illegal data file segment data record data size. The file looks a bit fishy, this shouldn't happen normally, and I also see a lot of unresolved reference messages. - Wout
1