Jump to content
  • Eclipse hangs on design change after jrxml loaded


    mkolmar
    Assigned User Massimo Rabbi
    CategoryBug report
    PriorityNormal
    ReproducibilityAlways
    ResolutionDuplicate
    SeverityMajor
    StatusClosed

    1. Launch Eclipse

    2. Load jrxml file

    3. Double click a text field (don't know if other objects behave the same)

    4. Hang with java process using 100% CPU for about a minute

    5. If I clicked around during the hang, UI catches up after it's no longer hanging.

     

    Only happens the first time. Sometimes the hang starts before double-click has begun the edit, sometimes edit mode kicks in after hang. Not sure if this is exclusive to Jaspersoft plugin or would happen e.g. when editing Java servlet, as I use Eclipse primarily for Jasper Reports.



    User Feedback

    Recommended Comments

    Changed Status from New to Feedback Requested


    Can you detail on the machine you are using and also which JSS version?From the steps you described it seems you are trying to open the expression editor (double-clicking on the text field).It's true that the first time you open it there is a delay, but for sure not a minute of waiting. Usually a bunch of seconds. Similar situation occurs with the first you open the Dataset & Query dialog. Mostly because the Xtext environment is loaded.Regards,Massimo.
    Link to comment
    Share on other sites

    Eclipse 4.7.2, JSS 6.5.1 final, running in a VMWare 14 VM with 2 CPU cores and 8GB RAM on an Intel Core i7-4790 3.6GHz 16GB RAM. The freeze also happens when double-clicking on a Static Text field, and sometimes only single-clicking to select and highlight the element. So it is not only happening when the expression editor is about to open. I have not seen this problem with an image element, table, or chart, for example.
    Link to comment
    Share on other sites

    Hi it's important you specify also the desktop env used: looking at the download page there are 4 alternatives (32-bit and 64bit). Which one among Cinnamon, MATE, Xfce and KDE?

     

    Regards,

    Massimo.

    Link to comment
    Share on other sites

    Changed Assigned User from - to @mrabbi


    Hi I give it a try on my VMWARE Fusion 8.5.10 to create a VM with Linux Mint 18.3 x64. I grabbed the last Eclipse available therefore a 4.7.3 (Java for Developers edition) and it seems everything is working fine.Please give it a look at the following screencast: https://www.screencast.com/t/HaarEYKydI will quickly try to install into a 4.7.2, but I don't expect a different result.Regards,Massimo.
    Link to comment
    Share on other sites

    Updated to 4.7.3, which did not make a difference to this issue. Could you suggest some kind of trace or debug logging that would show what Eclipse, JasperSoft Studio, or JVM are doing during the unexpected wait?
    Link to comment
    Share on other sites

    Hi I would say, try to give a log at the log file if it contains something interesting and open the Errors view.

    Moreover you could try to start Eclipse using -debug -consoleLog flags from command line.

     

    Regards,

    Massimo.

    Link to comment
    Share on other sites

    Changed Priority from Low to Urgent

    Changed Severity from Minor to Major


    Hello,I have exactly same issue using:Eclipse Java EE IDE for Web Developers.Version: Oxygen.2 Release (4.7.2)Build id: 20171218-0600On my Linux Mint:Operating System: Linux Mint 18.2Kernel: Linux 4.13.0-37-genericArchitecture: x86-64JSS version is 6.5.1Is there any fix for that?
    Link to comment
    Share on other sites

    Hi, if you saw my comment #7 you noticed I was not able to reproduce the issue.

    Moreover in comment #9 I asked for additional details regarding log files/console that help in spotting the issue.

     

    So please provide an error log and give it a look at the Errors view.

     

    Regards,

    Massimo.

    Link to comment
    Share on other sites

    Nothing is logged to the console immediately before, during, or after the delay when Eclipse is started with -debug -consoleLog. Output from eclipse-workspace/.metadata/.log, regarding key binding conflicts, is attached. I don't see other logs modified today that have anything that seems relevant, and nothing that was logged at the time of the delay.
    Link to comment
    Share on other sites

    I've the same problem described from mkolmar.

     

    My version of Jasper Studio is 6.6.0

     

    1. Launch Eclipse

    2. Load jrxml file

    3. Double click a text field (I've changed workspace and project and try with new empty report with a text field)

    4. Hang with java process using 100% CPU for about a couple of minutes

     

    I've also try to reinstall the application but without effects.

    Link to comment
    Share on other sites

    Changed Priority from Urgent to Normal


    Same issue here.Linux distro: Devuan 2 (Debian 9 derivative) 64 bits, with KDE desktop.$ uname -aLinux alfa 4.16.0-0.bpo.2-amd64 #1 SMP Debian 4.16.16-2~bpo9+1 (2018-06-26) x86_64 GNU/Linux$ update-alternatives --query javaName: javaLink: /usr/bin/javaSlaves: java.1.gz /usr/share/man/man1/java.1.gzStatus: autoBest: /usr/lib/jvm/java-9-openjdk-amd64/bin/javaValue: /usr/lib/jvm/java-9-openjdk-amd64/bin/javaAlternative: /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/javaPriority: 1081Slaves: java.1.gz /usr/lib/jvm/java-8-openjdk-amd64/jre/man/man1/java.1.gzAlternative: /usr/lib/jvm/java-9-openjdk-amd64/bin/javaPriority: 1091Slaves: java.1.gz /usr/lib/jvm/java-9-openjdk-amd64/man/man1/java.1.gzTested with TIB_js-studiocomm_6.6.0_linux_x86_64.tgz, fresh install, tested with SWT_GTK3=0 and with SWT_GTK3=1, with new blank report, always the same result: program hangs after clicking in "Text Field" or "Static Text" from palette,or sometimes after dropping-in the component over the report.However, with TIB_js-studiocomm_6.5.1.final_linux_x86_64.tgz in the same user/machine works fine,so it looks as a regression of the last version 6.6.0.
    Link to comment
    Share on other sites

    Perhaps this issue is a duplicated of #10956.

    For this there is a workaround:

    - 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

    I´ve got the same issue. Everything fresh installed.

     

    OS: Windows 10 Pro

    System: Core i7-7700 CPU @ 3.6GHz

    16 GB RAM

    Jasper Studio 6.6.0.final

    Eclipse Photon June 2018, latest release

     

     

     

    Link to comment
    Share on other sites

    Can someone confirm that the "switch" to an older JRE version work fine? It is highly possible as mentioned in comment #16 that we are talking of the same bug as in #10956.

     

    Let me know so I can close this issue.

    We decided to move back with an older JRE version.

     

    Regards,

    Massimo.

    Link to comment
    Share on other sites

    Same problem here, I also note that it takes one system CPU to 100% by 50 secods.

     

    OS: Ubuntu 18.04.1 LTS

    Memory: 16G

    Processor: Intel® Core™ i7-7700HQ CPU @ 2.80GHz × 8

    Graphics: Intel® HD Graphics 630 (Kaby Lake GT2)

    Gnome: 3.28.2

    OS Type: 64-bit

    JasperSoftStudio: 6.6.0.final

    Config:

    -vm

    /opt/tibco/TIB_js-studiocomm_6.6.0//features/jre.linux.gtk.x86_64.feature_1.8.0.u171/jre/bin/java

     

     

     

    Link to comment
    Share on other sites


×
×
  • Create New...