Jump to content
  • Error when uploading Report to server - NullPointerException


    christoph.hoeller
    CategoryBug report
    PriorityNormal
    ReproducibilityAlways
    ResolutionOpen
    SeverityMajor
    StatusNew
    Versionv6.2.0

    So, I've got this report on our Jasper Server (6.2.0) which is supposed to get a new logo.

     

    Here's what I do:

     

    1. In Jaspersoft Studio I open the report directly from the server.

    2. I change the logo and save the file.

    3. When Studio asks if I want to upload to the server I choose "Yes".

    4. I click through the wizard without changing anything.

    5. I click "Finish" in the wizard

    6. "Exception, if you want so see more information look into details

    Reason:"

     

    The Stacktrace shows:

     

    java.lang.NullPointerException

    at com.jaspersoft.studio.server.publish.Publish.updSelectedResources(Publish.java:267)

    at com.jaspersoft.studio.server.publish.Publish.publishResources(Publish.java:124)

    at com.jaspersoft.studio.server.publish.Publish.publish(Publish.java:67)

    at com.jaspersoft.studio.server.publish.wizard.Publish2ServerWizard$3.run(Publish2ServerWizard.java:302)

    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

     

     

    Even if I just open and save the file without changing a thing, I get the same error message.

    The report works fine both on the server and in Studio. Downloading, editing and uploading of other reports works just fine.

    The report consists of a title page and four subreports, all of which can be uploaded.

    The source does not have "null", """" (empty string with double quotes) or "''" (empty string with single quotes) in it.

     


    Attachments: main_jrxml.jrxml

    User Feedback

    Recommended Comments

    Hi, Christoph.

     

    I tried to reproduce, but I can't. Here is my screencast: http://screencast.com/t/G6nMY6xs

     

    I was confused here:

    "3. When Studio asks if I want to upload to the server I choose "Yes".

    4. I click through the wizard without changing anything.

    5. I click "Finish" in the wizard"

     

    On my side it looks like:

    3. When Studio asks if I want to upload to the server I choose "Yes".

    4. Next - I see a message that report have been uploaded successfully: no any wizards are opened

     

    So,

    1. Please, attach a screencast if possible

    2. Most likely you'll not be able to provide a connection to your data, so attach at least subreports, images and all linked resources, so we could at least try to make a similar report.

    Thanks.

    Link to comment
    Share on other sites


×
×
  • Create New...