Hi, I used Java version jdk-8.0.412.8-hotspot. Attached is an overview of the loaded libraries via pom.xml
@ohmstede Thank you for additional information. We will check one more time and provide you more information.
I checked all commits from Aspose Words for Java 23.11 release
And found something that looks suspicious and I can revert it in next Aspose Words for Jasper Reports 24.6
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): WORDSJR-375
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
The issues you have found earlier (filed as WORDSJR-375) have been fixed in this Aspose.Words for JasperReports 24.6 update.
Hello,
thanks for the update 24.6. Unfortunately, we still get almost the same error message (see appendix). Do you have another idea for the problem? We are still using version 23.10 and would like to use a more recent version. Thanks in advance.
Best regards, Achim
SimpleExampleStacktrace2.zip (1.1 KB)
@ohmstede
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): WORDSJR-377
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
Hello,
I would like to ask if there is any news about this ticket? We are currently unable to use versions newer than JR 6.18.1 and AposeWordsForJR 23.10. Thank you in advance.
Best regards, Achim
Hi @ohmstede
I recreated this problem with your SimpleExample, and tested different jars with new releases and several my fixes.
I can’t find changes in our history of commits that broke the code.
My last guess that this happen because of obsolete dependency that we use for compile jar for older version of Jasper Reports.
For example itext:2.1.7.js9 from your pom.xml is one of that type dependency
thank you for your reply. I don’t really understand that. The itext:2.1.7 is included in the JR-Lib 6.18.1. The same crash also occurs with JR 6.21.4, where iText is no longer included. There is another ticket with the same problem: Install on JasperServer 8.0.0. I don’t know what I can do at the moment. Is there a working test pom from your site that I can try here?
Best regards, Achim
Hi @ohmstede
You can continue to use Aspose Words For JR 23.10
I will continue to Analyse this problem and try to create new jar for Jasper Server 8.2 and JR 7.0
Maybe new jar created specially for new version of JR could work.
We have been using version 23.10 for over 16 months now and urgently need to update to a higher version. Version 24.06 is said to have fixed a bug we reported: (No HTML-List with Aspose - #2 by anatoly.sidorenko)
We need to test this fix quickly so that we can finally roll out the fix to our customers.
That’s why I tested JR version 7.0.0 including Aspose 25.2 today. The error described in this ticket also appears in this combination. What chance do we have that the error will be found and corrected?
Best regards, Achim
@ohmstede Do you mean WORDSJR-377. If so, I linked you request to the appropriate issue. We will keep you updated and let you know once it is resolved.
Hello, can you please provide me with the current status of this ticket? Currently, we’re stuck on version 23.10 since 2023.
Best regards, Achim
@ohmstede All the mentioned issues are already resolved. So, please try using the latest 25.4 version of Aspose.Words for Jasper Reports and let us know if the problem is still persists for you.
Hello, I just tested Aspose.Words 25.4 with JR 6.18.1 and JR 6.20.5. In both cases, I still get the error message “Bad type on operand stack.” Do you have any other ideas on how we can fix this? Thank you in advance.
Best regards, Achim
Hi @ohmstede
Recently I finished Aspose.Words for Jasper.Reports 23.10.2 released
https://releases.aspose.com/words/jasperreports/release-notes/2023/aspose-words-for-jasperreports-23-10-2-release-notes/
https://releases.aspose.com/words/jasperreports/new-releases/aspose.words-for-jasperreports-23.10.2/
This release contains latest fixes of AWJR with old version of Aspose Words that work without “Bad type on operand stack” error.
Hello, I already tried version 23.10.2 today. There are no longer error message ‘Bad type on operand stack’, but the fix for the bug in ticket WORDSJR-313 is still there. Ticket WORDSJR-313 refers back to version 25.4 See No HTML-List with Aspose
Best regards, Achim
Did you try new parameter in your code?
currentExporter.setParameter(AWExporterParameter.ALLOW_HTML_LISTS, true);
I tested this release before publishing and all new function was worked fine.
If you found situation then it not working, can you send your example code and .jrprint file?
After that we can create new issue for testing and fixing this bug.
Hello, the tip about the ALLOW_HTML_LISTS parameter helped me a lot. Thank you very much. Then I can skip versions higher than 23.10 for now.
Best regards, Achim