Jump to content
We've recently updated our Privacy Statement, available here ×

Fatal error: Uncaught exception 'Jaspersoft\Exception\RESTRequestException' with message 'An unexpected HTTP status code was returned by the server'


vspadma01

Recommended Posts

Hi ,

I have a report with 5 parameters. report run successfully for the three of the parameters and there are two multiselect values parameter for which I am getting the below exception. 

RESTRequestException:Exception message: An unexpected HTTP status code was returned by the server Set parameters: Expected status code:Array Error code: Array ( [0] => 200 ) JaspersoftExceptionRESTRequestException Object ( [message] => An unexpected HTTP status code was returned by the server [expectedStatusCodes] => Array ( [0] => 200 ) [statusCode] => 0 [jrsMessage] => [errorCode] => [parameters] => [string:Exception:private] => [code:protected] => 0 [file:protected] => C:xampphtdocslspsitelocalreportsjrs-rest-php-client-mastersrcJaspersoftToolRESTRequest.php [line:protected] => 409 [trace:Exception:private] => Array ( [0] => Array ( [file] => C:xampphtdocslspsitelocalreportsjrs-rest-php-client-mastersrcJaspersoftToolRESTRequest.php [line] => 479 [function] => handleError [class] => JaspersoftToolRESTRequest [type] => -> [args] => Array ( [0] => 0 [1] => Array ( [0] => 200 ) [2] => ) ) [1] => Array ( [file] => C:xampphtdocslspsitelocalreportsjrs-rest-php-client-mastersrcJaspersoftServiceReportService.php [line] => 40 [function] => prepAndSend [class] => JaspersoftToolRESTRequest [type] => -> [args] => Array ( [0] => http://localhost:8080/jasperserver/rest_v2/reports/ContentFiles/html/TeacherPerformanceReport.html?interactive=true&onePagePerSheet=true&freshData=true&saveDataSnapshot=false&trackId=1 [1] => Array ( [0] => 200 ) [2] => GET [3] => [4] => 1 ) ) [2] => Array ( [file] => C:xampphtdocslspsitelocalreportsteacherperformancereport.php [line] => 146 [function] => runReport [class] => JaspersoftServiceReportService [type] => -> [args] => Array ( [0] => /ContentFiles/html/TeacherPerformanceReport [1] => html [2] => [3] => [4] => Array ( [trackId] => Array ( [0] => 1 ) ) [5] => 1 [6] => 1 ) ) ) [previous:Exception:private] => )

How to solve this issue? when checked jasper logs couldn't find any errors.  the report is running perfectly in Jasper server and Jasper studio. 

Kindly help to solve the issue. Thanks in Advance.

Padma

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...