Jump to content
  • remote JSON hangs for ~30 seconds with 6.0.4


    jamesr219
    Assigned User Massimo Rabbi
    CategoryBug report
    Component: 10310
    PriorityNormal
    ReproducibilitySometimes
    ResolutionUnable to Reproduce
    SeverityMajor
    StatusClosed
    Versionv6.0.4

    See the attached example project pulling down github JSON data.

     

    Every so often loading of this report will cause a ~30 second delay while filling the form. This is not network related, but some other delay while fetching the data.

     

    - Happens remotely, or accessing a server on 127.0.0.1.

    - It is always about 30 seconds + the normal processing time for the report.

    - It may work normally for a few executions, but it will eventually have the ~30 second delay. Every 5 or so executions.

    - This was never an issue on 5.6.1 which is what I upgraded from.

     

    I am using 6.0.4 on OSX 10.10.3. I will go back to 6.0.3 and try and reproduce there.


    Attachments: githubtest.zip

    User Feedback

    Recommended Comments

    Thanks for taking the time to reproduce.. I can certainly reproduce it with ease over here, even when connecting to a JSON resource on localhost. The delay is always ~30 seconds. I'll try and do a screen cast as well to show you the issue.
    Link to comment
    Share on other sites

    Here is a screen cast. I suspect its something related to the actual fetching of the resource via HTTP. Local source on disk does not cause this. The 30 seconds is also a bit too perfect of a time, almost some type of timeout.

     

     

    (sorry about QT and large size, not sure how else to make it just yet)..

     

    http://www.screencast.com/t/zbsPCzczWYs

     

     

    Link to comment
    Share on other sites

    Here is another screen cast (with JING this time) which shows the issue happening even in the data adapter. I can fetch this same resource from browser without an issue. I suspect it is something JVM related when fetching the resource. Where can I find the code which actually does the fetch? I'd like to break that out into a standalone app outside of eclipse using the bundled JVM and try and reproduce?

     

    http://screencast.com/t/o9ngfZAxjjE

    Link to comment
    Share on other sites

    Changed Resolution from Open to Unable to Reproduce

    Changed Status from Feedback Requested to Closed


    Hi,you can try to enable logging for org.apache.http and maybe use packet sniffer to detect possible problems at network level.For enabling this kind of logging in JSS create a log.properties (i.e: /tmp/log.properties) file like this: # Log Handlershandlers = java.util.logging.FileHandler, java.util.logging.ConsoleHandler# Handlers log level.level = INFOjava.util.logging.FileHandler.level = ALLjava.util.logging.ConsoleHandler.level = ALL# Log level for the HTTP stufforg.apache.http.level = FINEST# Default file formatterjava.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter# Specify the location and name of the log filejava.util.logging.FileHandler.pattern = /tmp/studio-common.logPlus in your Jaspersoft Studio.ini file add to the end of file the following config line:-Djava.util.logging.config.file=/tmp/log.propertiesI will close the bug for now since we are not able to reproduce at all.Just in case re-open it if you find something interesting.Regards,Massimo.
    Link to comment
    Share on other sites


×
×
  • Create New...