[#8786] - Error when uploading Report to server - NullPointerException

Category:
Bug report
Priority:
Normal
Status:
New
Project: Severity:
Major
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

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.

AttachmentSize
Binary Data main_jrxml.jrxml6.78 KB
v6.2.0
christoph.hoeller's picture
Joined: Jan 30 2014 - 1:44am
Last seen: 1 year 2 months ago

1 Comment:

#1

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.

Feedback