After an initial test, I observed the issue as you mentioned by using your sample code with your template files. I found some strange behaviour with simple bean using Smart Markers, if we do not use or omit the last marker in the template file, it does not work anymore.
i.e., &=$thread(bean) &=thread.name &=thread.name(bean) //if we omit this marker, it does not work.
I have logged an investigation ticket with an id “CELLSJAVA-41997” for your issue. Our concerned developer from product team will investigate and look into it what is causing this behavior.
This is to inform you that we have fixed your issue CELLSJAVA-41997 now. We will soon provide the fix after performing QA and including other enhancements and fixes.
I have tested your sample code as below with the latest version: Aspose.Cells for Java v9.0.9 and attached the output excel files. Please let me know which of the excel file is wrong. Please also provide the expected excel file(s) so that we could look into it further and in case of error, fix it. Thanks for your cooperation in this regard and have a good day.
Java
Thread thread = new Thread();
thread.setName(“myThread”);