vspadma01
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Downloads
Posts posted by vspadma01
-
-
Hi ,
What is the solution for this problem? Facing this issue for one report when trying to run the report using one of the parameter.
Received following message: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] => )
Report run successfully for other parameters.
Kindly help. Thanks in Advance
Fatal error: Uncaught exception 'Jaspersoft\Exception\RESTRequestException' with message 'An unexpected HTTP status code was returned by the server'
in Products
Posted
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