RESTRequestException:
Exception message:
An unexpected HTTP status code was returned by the server
Set parameters:
Expected status code:
Array ( [0] => 200 )
Error code:
Array ( [0] => Array ( [file] => /srv/www/aquaticos/novoPortal/www/protected/components/relatorio/Jaspersoft/Tool/RESTRequest.php [line] => 451 [function] => handleError [class] => Jaspersoft\Tool\RESTRequest [type] => -> ) [1] => Array ( [file] => /srv/www/aquaticos/novoPortal/www/protected/components/relatorio/Jaspersoft/Service/ReportService.php [line] => 48 [function] => prepAndSend [class] => Jaspersoft\Tool\RESTRequest [type] => -> ) [2] => Array ( [file] => /srv/www/aquaticos/novoPortal/www/protected/components/relatorio/IntegracaoRelatorio.php [line] => 34 [function] => runReport [class] => Jaspersoft\Service\ReportService [type] => -> ) [3] => Array ( [file] => /srv/www/aquaticos/novoPortal/www/protected/components/Relatorio.php [line] => 816 [function] => geraRelatorio [class] => IntegracaoRelatorio [type] => -> ) [4] => Array ( [file] => /srv/www/aquaticos/novoPortal/www/protected/controllers/NatacaoController.php [line] => 557 [function] => resultadoPorProva [class] => Relatorio [type] => -> ) [5] => Array ( [function] => actionResultadoPorProva [class] => NatacaoController [type] => -> ) [6] => Array ( [file] => /srv/www/aquaticos/yii/framework/web/actions/CAction.php [line] => 115 [function] => invokeArgs [class] => ReflectionMethod [type] => -> ) [7] => Array ( [file] => /srv/www/aquaticos/yii/framework/web/actions/CInlineAction.php [line] => 47 [function] => runWithParamsInternal [class] => CAction [type] => -> ) [8] => Array ( [file] => /srv/www/aquaticos/yii/framework/web/CController.php [line] => 308 [function] => runWithParams [class] => CInlineAction [type] => -> ) [9] => Array ( [file] => /srv/www/aquaticos/yii/framework/web/CController.php [line] => 286 [function] => runAction [class] => CController [type] => -> ) [10] => Array ( [file] => /srv/www/aquaticos/yii/framework/web/CController.php [line] => 265 [function] => runActionWithFilters [class] => CController [type] => -> ) [11] => Array ( [file] => /srv/www/aquaticos/yii/framework/web/CWebApplication.php [line] => 282 [function] => run [class] => CController [type] => -> ) [12] => Array ( [file] => /srv/www/aquaticos/yii/framework/web/CWebApplication.php [line] => 141 [function] => runController [class] => CWebApplication [type] => -> ) [13] => Array ( [file] => /srv/www/aquaticos/yii/framework/base/CApplication.php [line] => 185 [function] => processRequest [class] => CWebApplication [type] => -> ) [14] => Array ( [file] => /srv/www/aquaticos/novoPortal/www/index.php [line] => 59 [function] => run [class] => CApplication [type] => -> ) )CHttpException CHttpException
/srv/www/aquaticos/novoPortal/www/protected/components/Relatorio.php(825)
813 814 Yii::import("application.components.relatorio.IntegracaoRelatorio"); 815 $rel = new IntegracaoRelatorio; 816 $relatorio = $rel->geraRelatorio($end_relatorio, $parametros, "PDF"); 817 if ($relatorio != -1) { 818 $_SESSION['buffer']['file'] = $relatorio; 819 $nome = "resultado_porProva_" . $prova->idModalidade->descricao . "_" . $prova->idClasse->descricao . "_g" . date('Hi'); 820 $_SESSION['buffer']['name'] = limpaUrl($nome); 821 822 $this->exibirPDF(); 823 824 } else { 825 throw new CHttpException(400,'Nada encontrado com os filtros especificados'); 826 } 827 } 828 829 }Stack Trace
#0 +–/srv/www/aquaticos/novoPortal/www/protected/controllers/NatacaoController.php(557): Relatorio->resultadoPorProva()552 |===========================================================*/ 553 public function actionResultadoPorProva($prova,$fase='F'){ 554 $this->pageTitle = 'Home page'; 555 $fase= fullUpper($fase); 556 $relatorio=new Relatorio(); 557 $relatorio->resultadoPorProva($prova, $fase); 558 } 559 public function actionBalizamentoPorProva($prova,$fase='F'){ 560 561 $fase= fullUpper($fase); 562 $relatorio=new Relatorio();#1 unknown(0): NatacaoController->actionResultadoPorProva()#2 +–/srv/www/aquaticos/yii/framework/web/actions/CAction.php(115): ReflectionMethod->invokeArgs()110 elseif($param->isDefaultValueAvailable()) 111 $ps[]=$param->getDefaultValue(); 112 else 113 return false; 114 } 115 $method->invokeArgs($object,$ps); 116 return true; 117 } 118 }#3 +–/srv/www/aquaticos/yii/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal()42 { 43 $methodName='action'.$this->getId(); 44 $controller=$this->getController(); 45 $method=new ReflectionMethod($controller, $methodName); 46 if($method->getNumberOfParameters()>0) 47 return $this->runWithParamsInternal($controller, $method, $params); 48 49 $controller->$methodName(); 50 return true; 51 } 52 }#4 +–/srv/www/aquaticos/yii/framework/web/CController.php(308): CInlineAction->runWithParams()303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction;#5 +–/srv/www/aquaticos/yii/framework/web/CController.php(286): CController->runAction()281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run();#6 +–/srv/www/aquaticos/yii/framework/web/CController.php(265): CController->runActionWithFilters()260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID);#7 +–/srv/www/aquaticos/yii/framework/web/CWebApplication.php(282): CController->run()277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route)));#8 +–/srv/www/aquaticos/yii/framework/web/CWebApplication.php(141): CWebApplication->runController()136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components.#9 +–/srv/www/aquaticos/yii/framework/base/CApplication.php(185): CWebApplication->processRequest()180 public function run() 181 { 182 if($this->hasEventHandler('onBeginRequest')) 183 $this->onBeginRequest(new CEvent($this)); 184 register_shutdown_function(array($this,'end'),0,false); 185 $this->processRequest(); 186 if($this->hasEventHandler('onEndRequest')) 187 $this->onEndRequest(new CEvent($this)); 188 } 189 190 /**#10 +–/srv/www/aquaticos/novoPortal/www/index.php(59): CApplication->run()54 55 } 56 57 require_once(dirname(__FILE__).'/globals.php'); 58 59 Yii::createWebApplication($config)->run();2021-03-04 17:55:51 nginx/1.16.1 Yii Framework/1.1.23