Jump to content
  • Jaspersoft Studio 5.5.1 - does not save .jrxml


    bolsover
    Assigned User Massimo Rabbi
    CategoryBug report
    PriorityImmediate
    ReproducibilityAlways
    ResolutionFixed
    SeverityBlock
    StatusResolved
    Versionv5.5.1

    I have tested this both by installing clean 5.5.1 studio and by upgrade from 5.5.0.

     

    In both cases, 5.5.1 version will not save modified .jrxml (may apply to other file types also).

     

    My environment is Window 8.1 x64 JRE/JDK 1.7.0_45.

     

    Regards David Bolsover



    User Feedback

    Recommended Comments

    Changed Status from New to Feedback Requested

    Changed Assigned User from - to @User_306070


    Hi,I tested in MacOSX and I was not able to reproduce your problem.Could you please be more specific listing the steps or better register a screencast? I tried editing an existing report and then later create an new one and editing/saving. Both Save and Save All button worked fine.In the meanwhile I will try with the windows x64 package into a Windows 7 local VM I have.Regards,Massimo.
    Link to comment
    Share on other sites

    Hi Massimo

     

    100% reproducible in my environment for me.

    Steps to reproduce:

    1 open 5.5.1

    2 open any .jrxml

    3 make some edit - file tab has * to indicate changed.

    4 try to save - exception is thrown and file is not saved.

    5 also tried saveas and closing application when prompts to save is shown - file is NEVER saved.

     

     

    I've attached screen grab of console when exception is thrown - sorry I have not yet found out how to log to file.

     

    Very eager to hep with resolution - new project looming that will need Studio.

     

    Regards David

     

    Link to comment
    Share on other sites

    Changed Assigned User from @anonymous to @mrabbi


    Thanks for feedback. As soon as I can I will test into a Windows 8.1 environment.Next time you create a bug you can use the "Help > Send feedback on Jaspersoft Studio" menu or the "Bug" button on the top toolbar, from there you will be able to send also files.You can find the Studio log inside the folder: \.metadata\.logRegards,Massimo.
    Link to comment
    Share on other sites

    Looking at the error you have, for some reason it's not able to retrieve the version number for JR. Not sure why this is happening only in Windows 8.1.

    Try to modify from the "Window > Preferences > Jaspersoft Studio > Version" the combo value. Try to set the 5.5.0 for example. And then test if it works the save action. If it does, then try to switch back to the "Last Version (5.5.1)" value. Keep in mind that this setting can be applied at workspace level, as I explained above, or even at Project or file level (via item properties). First give it a try like this.

     

    Let me know.

    Regards,

    Massimo.

    Link to comment
    Share on other sites

    Hi Massimo

    I did as you suggested and changed version to 5.5.0 - problem fixed, files save just fine.

    If I switch back to 5.5.1, the problem returns - and the exception is thrown.

     

    Good news is that I now have a work around. I'm just about to try out on a second w8x64 machine - I let you know the results.

     

    David

     

    Link to comment
    Share on other sites

    I just checked the log - whilst there is some information there, the exception reported is not - this is only visible in the console when this is enabled by adding -consoleLog to the 'Jaspersoft Studio.ini' file.

     

    David

    Link to comment
    Share on other sites

    OK - Maybe a clue to the source of the problem..

     

    I tried on a second W8x64 machine - very quick test - but seemed to be OK with all default install options.

     

    I then went back to the original machine, renamed my original JaspersoftWorkspace (created during original 5.5.0 install) to JaspersoftWorkspaceOld. I then uninstalled the Studio and reinstalled with all default options so a 'clean' JaspersoftWorkspace directory was created. The system now works just fine with all the default options.

     

    It looks like some setting in JaspersoftWorkspace is not being correctly updated when updating from 5.5.0 -> 5.5.1.

     

    HTH

     

    David

     

    Link to comment
    Share on other sites

    #hozawa

    Running as admin made no difference.

     

    #bhutten

    The solution for me was to rename my original JaspersoftWorkspace directory to JaspersoftWorkspaceOld and reinstall 5.5.1 after which everything worked correctly.

     

    David

    Link to comment
    Share on other sites

    Changed Resolution from Open to Fixed

    Changed Status from Feedback Requested to Resolved


    I've implemented a fix for this. If that compatibility property is not found then we can assume as valid the LAST_VERSION. This should avoid any further NPE problems.
    Link to comment
    Share on other sites


×
×
  • Create New...