Thanks for providing us template file and sample code.
After an initial test, I observed the issue as you mentioned by using your sample code with your template file. I found an incorrect formula string returned from a worksheet cell, one apostrophe is missing as you pointed out.
I confirmed as I get:
=‘http:\www.uni’pd.it\rapportistrutture\missioni[modulo missioni
informatizzato.xls]richiesta anticipo’!A7
but in the file, it’s:
=‘http:\www.uni’‘pd.it\rapportistrutture\missioni[modulo missioni
informatizzato.xls]richiesta anticipo’!A7
I have logged a ticket with an id “CELLSJAVA-42019” for your issue. We will look into it soon.
Once we have an update on it, we will let you know here.
This is to update you that the ticket logged earlier as CELLSJAVA-42019 has been marked resolved. We will share the fix here after ensuring the quality and incorporating other enhancements.
I switched to the version you provided and the primary issue is fixed. But there is another problem now.
If I get the formula from the cell, slightly change it, set it back to the cell and get it again, instead of two apostrophes, there are now four of them.
I have evaluated the recently shared scenario and I am able to replicate the said problem on my side. I have raised it as a separate ticket CELLSJAVA-42025 for further investigation & correction. Please spare us little time for the proper analysis. In the meanwhile, we will keep you posted with updates in this regard.
We were able to observe this issue as per your console output. We will look into it and provide you a fix for it. Once, there is some news for you, we will let you know asap.