CANopenNode / CANopenEditor

CANopen Object Dictionary Editor
GNU General Public License v3.0
120 stars 60 forks source link

ArrayOutOfBoundsException on loading xdd file #29

Closed Daimonion1980 closed 1 year ago

Daimonion1980 commented 2 years ago

I'm wondering why there is no issue about this exception on loading a xdd file into the editor: Exception

the line is already marked as #WTF ;)

reason

Changing the subindex to zero get's the editor to work, but don't get the proof that everything else works correct.

Tested with generated xdd files from Kickdrive and Systec tools.

trojanobelix commented 1 year ago

Can you provide a XXD that reproduces this?

Daimonion1980 commented 1 year ago

Sure.

objectDictionary_broken.xdd.txt

trojanobelix commented 1 year ago

should be fixed in 973eeb685557841ad506539557143c8934d5c127. Could you please test and comment. Thanks.

Daimonion1980 commented 1 year ago

works for me!

Thanks!