Jump to content
  • when I add static text in Jasper Studio, it is frozen and doesn't response


    skiver2003
    CategoryBug report
    PriorityNone
    ReproducibilityAlways
    ResolutionFixed
    SeverityBlock
    StatusClosed
    Versionv6.6.0

    I'm running Jasperoft Studio 6.6.0 on Ubuntu 18.04 LTS .

    Whenever I create new empty report and I add static text on Page Header with Jasper Studio 6.6.0 , it is frozen and doesn't response.

    I happens every time. I'm considering to downgrade version.


    Attachments:

    User Feedback

    Recommended Comments

    Changed Status from New to Confirmed


    Hi I can confirm that there is an issue. It seems to be present the first time you add a static text item to the report. The problem seems to be more evident in the Linux installations, but it is present also on the other systems. The freeze is temporary and subsequent drags of static text behave normally.We investigated the problem and it seems related to some API loading the font/font extensions. We are going to verify with the JR team if it is a regression on JSS side or something triggered by possible JR modifications.Thanks for spotting.Regards,Massimo.
    Link to comment
    Share on other sites

    Changed Status from Confirmed to Feedback Requested


    Hi it appears after a further investigation that the problem is related to the JRE version bundle with JSS. It seems that the SunGraphics2D#getFontMetrics is taking long time. Not sure why. It seems a JRE bug (??).Trying to switch to an older version of the JRE seemed to fix the issue. I tried with a 1.8.0u144 and 1.8.0u151 and they worked fine. On the other side the 1.8.0u161 is not working fine as the 1.8.0u171 that is bundled with JSS.In order to workaround the issue, you can try to replace the "jre" folder inside the /features/jre.linux.gtk.x86_64.feature_1.8.0u171 with an older one. For example you could take the one in JSS CE 6.5.1 that is using a 1.8.0u144.Another solution is to modify the Jaspersoft Studio.ini file in the installation folder so it points to an older JRE instance location.Let us know if this workaround fix the issue.Best regards,Massimo.
    Link to comment
    Share on other sites

    Changed Priority from Urgent to None


    The indicated workaround worked for me.- From 6.5.1 copy the jre.linux.gtk.x86_64.feature_1.8.0.u144 folder inside /features- Modifiy "Jaspersoft Studio.ini" changing "u171" with "u144"
    Link to comment
    Share on other sites

    Changed Resolution from Open to Fixed

    Changed Status from Feedback Requested to Resolved


    I'm closing the bug as resolved. We decide to move back with the bundled JRE. The next JSS version will ship version 1.8.0.u151, the last available that does not show the problem.Best regards,Massimo.
    Link to comment
    Share on other sites

    Changed Resolution from Fixed to Open

    Changed Status from Resolved to Feedback Requested


    Have some notice by the plugin version of Eclipse?I'm running the 6.5.1 version of JSS in Ubuntu 18.04 as plugin for the Eclipse IDE but when i open a .jrxml file i get first an error showing there's something wrong with data adapter and then i got stuck into the slowly problem mentioned before, i can't use JSS in this way.i'm using 6.5.1 because version 6.6.0 has the same problem and i've tried like you've suggested to downgrade version and trying older version of JRE too, writing it directly in the eclipse.ini file, for the -vm properties but nothing changed.For example if i can reach the opening of the jrxml file i can do one click on one random item on the report and then other actions i'll take are not refreshed by the UI of the report but, the weird thing, is that the box reflecting objects selected is correctly changing by my actions, i'm talking about the outline view in the report desing perspective.Can you find a solution for the plugin version too?Thanks,Mattia
    Link to comment
    Share on other sites

    > - From 6.5.1 copy the jre.linux.gtk.x86_64.feature_1.8.0.u144 folder inside /features

    > - Modifiy "Jaspersoft Studio.ini" changing "u171" with "u144"

     

    This worked on my Pop_OS! 19.04 (an Ubuntu 19.04 derivative).

     

    Thanks, please!

    Link to comment
    Share on other sites


×
×
  • Create New...