kostaskougios / cloning

deep clone java objects
Other
591 stars 112 forks source link

Cann't Deep Clone tablesaw table object #82

Open lonly197 opened 5 years ago

lonly197 commented 5 years ago

Caused by: java.lang.ClassNotFoundException: tech.tablesaw.columns.strings.ByteDictionaryMap$$Lambda$7.1963387170

Test Code: image

Error Message: image

amenski commented 5 years ago

This is not a direct problem of Cloner. Cloner uses Objenesis to instantiate a class, using different strategies. The thing is it's unable to instantiate Lamda class tech/tablesaw/columns/strings/ByteDictionaryMap$$Lambda$7/1963387170. The instantiator replaces the "/" to "." and can't find the new class which in reality doesn't exist. For more discussions you can check #45