Project

General

Profile

Patch #238

FileNotFoundException fix

Added by Patrick Talbot about 13 years ago. Updated about 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Start date:
02/24/2011
Due date:
% Done:

100%

Estimated time:
Browser (if web client):

Description

When used to retrieve a byte[] you should be able to use

byte[] = plugins.jasperPluginRMI.runReport(serverName,report,false,outputType,params);

However the code results to nooutput = false and a filename of "", then a call to saveByteArrayToFile() throw a FileNotFoundException.

Here's a patch which simply checks for filename before attempting to create the file in saveByteArrayToFile().


Files

servoy_jasperreports.patch (1.19 KB) servoy_jasperreports.patch Patrick Talbot, 02/24/2011 02:45 PM

History

#1

Updated by Rob Gansevles about 13 years ago

  • Status changed from New to Resolved
  • Assignee set to Rob Gansevles
  • % Done changed from 0 to 100

Applied patch

Also available in: Atom PDF