Data Adapter connection keeps disappearing

THE SOFTWARE SETUP

Eclipse 2019-01

JasperReports 6.17

JDBC Connection SQL Server 2005-2012

Java Corretto 11

__________________________

I am able to setup the Adapter, add the proper JAR files Test successfully and Save. I am then able to create reports in Jasper with SQL, modify and save.

I can even still send the reports to our software using our IDE. However I have noticed two big issues:

  • I cannot edit the data adapter. When I right-click on it and choose Edit Data Adapter nothing happens.
  • If I close out of Eclipse the data adapter disappears, so I have to re-build it each time I open Eclipse (regardless whether I choose Run as Administrator or not).

This issue did not occur for me with Eclipse 2020-03 (same version of Jasper (6.17)). Has anyone else seen this issue? If so, how did you fix it?

Note it is not such a simple issue to revert back to Eclipse 2020-03 because our latest software is designed to work with 2021-09.

Cheers,

-Steve

steve.cohen_1's picture
Joined: Jul 26 2021 - 11:41am
Last seen: 2 weeks 3 days ago

Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times.

arai_4 - 1 month 3 days ago

Updated for those wondering - we updated to 2021-09 and that fixed the issue for the new version of our product. But would still like to know why this issue is occurring.

steve.cohen_1 - 1 month 3 days ago

3 Answers:

Hello,
I'm happy upgrading solved the issue. Did you upgrade Jaspersoft Studio or was it an Eclipse upgrade?
If with Eclipse I don't believe the Jaspersoft teams would have much knowledge on the reason of the issue. 

rpeguet's picture
13347
Joined: Mar 8 2011 - 2:06am
Last seen: 2 days 20 hours ago

Hi rpeguet-

Yes I updated both, but first tested the 6.19.1 version with Eclipse 2020-03 and it worked fine, then also worked with Eclipse 2021-09. That's ow I figured it was a Jasper issue, not Eclipse.

steve.cohen_1's picture
Joined: Jul 26 2021 - 11:41am
Last seen: 2 weeks 3 days ago

Hi Steve,
I don't have a firm explanation to the issue you had but here is what I managed to gather:
The Eclipse plug-in scenarios are usually causing more issues than when using Jaspersoft Studio standalone, because there are many Eclipse flavors and versions and we cannot test them all and the JSS plugin might be in conflict with other plugins.
The Jaspersoft dev team doesn't specifically recall having an issue which is causing the data adapters to disappear.
What can cause issues when using the plugin is the java version.
When using the Eclipse plugin, the users can use any Java version they want and we already saw that Java 17 can be problematic with our recent versions, that’s why we still ship the RCP/standalone JSS with Java 11.
If the issue reappear I would encourage you to log it in a bug report or if possible to use the standalone JasperSoft Studio which is available to download open source on this portal.

I hope this helps,

 

 

rpeguet's picture
13347
Joined: Mar 8 2011 - 2:06am
Last seen: 2 days 20 hours ago
Feedback
randomness