demoiselle / framework

Repositório principal contendo o Core e Extensions: JPA, Security, WS
https://demoiselle.org
127 stars 77 forks source link

Socket Closed on call render method from FileRendererImpl #32

Closed ghost closed 8 years ago

ghost commented 9 years ago

When try to render a report with the Demoiselle Reports API, sometimes comes the error Socket Closed, this error can be resolved by changing the

@Inject private HttpServletResponse response;

for

HttpServletResponse response = (HttpServletResponse) FacesContext.getCurrentInstance().getExternalContext().getResponse();

in the FileRendererImpl class

juliancesar commented 8 years ago

Hi, i will close this issue. If the situation mentioned above don't was resolved, please reopen.

Tks.