1. O que são cookies?
Cookies são pequenos arquivos de texto armazenados no seu dispositivo quando você visita um site. Estes ajudam a melhorar sua experiência, personalizar conteúdo e anúncios, analisar o tráfego e oferecer funcionalidades adicionais.
2. Como usamos os cookies?
Cookies Essenciais: Necessários para o funcionamento do site. Estes cookies não armazenam dados pessoais e estão sempre ativos.

Cookies Analíticos: Permite-nos analisar os dados nas aplicações para compreender a sua utilização por parte dos nossos utilizadores. Ao autorizar este consentimento, irá permitir que alguma informação seja armazenada em cookies, possibilitando a recolha de dados, tal como o endereço IP, URL da página, cliques.
DOCUMENTOSnet - Validação de documentos
Página Indisponível

Página Indisponível

A página pedida não se encontra disponível devido a razões técnicas.
Pedimos desculpa pelo incómodo, prometemos ser breves na resolução.

Obrigado.

[dif] - DIF
[system] - DIF Services
[errorhandlingservice] - DIF Internal Error Handling Service
[errorstage] - Error Stage
java.lang.NullPointerException

org.apache.jasper.JasperException: java.lang.NullPointerException

org.apache.jasper.JasperException: java.lang.NullPointerException
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)
	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)
	at pt.digitalis.dif.presentation.renderers.impl.ViewRendererJSPImpl.renderView(ViewRendererJSPImpl.java:108)
	at pt.digitalis.dif.listeners.HttpListener.processRequest(HttpListener.java:150)
	at pt.digitalis.dif.listeners.AbstractRESTfullHttpListener.doGet(AbstractRESTfullHttpListener.java:64)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)
	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)
	at sun.reflect.GeneratedMethodAccessor2635.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at net.bull.javamelody.JspWrapper.invoke(JspWrapper.java:152)
	at net.bull.javamelody.JdbcWrapper$DelegatingInvocationHandler.invoke(JdbcWrapper.java:306)
	at com.sun.proxy.$Proxy367.include(Unknown Source)
	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
	at org.apache.jasper.runtime.PageContextImpl.doInclude(PageContextImpl.java:638)
	at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:632)
	at pt.digitalis.dif.presentation.views.jsp.taglibs.core.Document.customDoEndTag(Document.java:767)
	at pt.digitalis.dif.presentation.views.jsp.taglibs.AbstractDIFTag.doEndTag(AbstractDIFTag.java:531)
	at org.apache.jsp.documentosnet.anonimo.ValidarDocumento_jsp._jspService(ValidarDocumento_jsp.java:447)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)
	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)
	at pt.digitalis.dif.presentation.renderers.impl.ViewRendererJSPImpl.renderView(ViewRendererJSPImpl.java:108)
	at pt.digitalis.dif.listeners.HttpListener.processRequest(HttpListener.java:150)
	at pt.digitalis.dif.listeners.AbstractRESTfullHttpListener.doGet(AbstractRESTfullHttpListener.java:64)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at pt.digitalis.dif.listeners.RESTRequestsFilter.doFilter(RESTRequestsFilter.java:100)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:239)
	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:215)
	at pt.digitalis.dif.utils.monitoring.DIFMonitoringFilter.doFilter(DIFMonitoringFilter.java:55)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
	at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.NullPointerException
java.lang.NullPointerException

Application:netPA | v24.0.0-76 (20.0.20-47) Request:       | Client:   | Name: unknown       |           | software: unknown       |           | hardware: unknown       |           | Features: []       |           | Attributes: [       |           |               #1 Locale = en       |           |               #2 MainVersion = "unknown"       |           |               #3 ClientRemoteAddress = "216.73.216.21"       |           |               #4 Language = "en"       |           |               #5 MinorVersion = "unknown"       |           |               #6 JSESSIONID = "081B97CC4271C51A309B422A8B806C42"       |           |             ]       | stage: errorstage       | Template Mode: true       | Component Mode: false       | Embedded mode: false       | Popup Mode: false       | REST URL Mode: false       | Help Mode: false       | Session:   | Session ID: http081B97CC4271C51A309B422A8B806C42       |            | First Access Time: 1756430472130       |            | Last Access Time: 1756430475861       |            | language: pt       |            | User in session: null       |            | Attributes: [       |            |               #1 spssuid0.278454165751181 = []       |            |               #2 spssuid0.13656829692862493 = «see above»       |            |               #3 spssuid0.08343976738089309 = «see above»       |            |               #4 spssuid0.9888334841715682 = «see above»       |            |               #5 spssuid0.1863239911849457 = «see above»       |            |               #6 spssuid0.5084791818178851 = «see above»       |            |               #7 spssuid0.4127320753698521 = «see above»       |            |               #8 spssuid0.32774564377201987 = «see above»       |            |               #9 spssuid0.7549420206345666 = «see above»       |            |              #10 spssuid0.8318293334707343 = «see above»       |            |              #11 spssuid0.045291313535518296 = «see above»       |            |              #12 spssuid0.9721003961008907 = «see above»       |            |              #13 spssuid0.9857767188323199 = «see above»       |            |              #14 spssuid0.1908622151974131 = «see above»       |            |              #15 spssuid0.7064815667871418 = «see above»       |            |              #16 spssuid0.1562274502191815 = «see above»       |            |              #17 spssuid0.08239940806081847 = «see above»       |            |              #18 spssuid0.7583823403048019 = «see above»       |            |              #19 spssuid0.6791419586732355 = «see above»       |            |              #20 spssuid0.35524857284289 = «see above»       |            |              #21 spssuid0.9821483705885652 = «see above»       |            |              #22 spssuid0.7711530589700306 = «see above»       |            |              #23 spssuid0.260509539714749 = «see above»       |            |              #24 spssuid0.1484585750088051 = «see above»       |            |              #25 spssuid0.5227781686072429 = «see above»       |            |              #26 spssuid0.17584405010319815 = «see above»       |            |              #27 spssuid0.1865569189380576 = «see above»       |            |              #28 spssuidControlQueue = [       |            |                                         # 1 spssuid0.6791419586732355       |            |                                         # 2 spssuid0.35524857284289       |            |                                         # 3 spssuid0.08239940806081847       |            |                                         # 4 spssuid0.32774564377201987       |            |                                         # 5 spssuid0.045291313535518296       |            |                                         # 6 spssuid0.1863239911849457       |            |                                         # 7 spssuid0.1908622151974131       |            |                                         # 8 spssuid0.7583823403048019       |            |                                         # 9 spssuid0.7064815667871418       |            |                                         #10 spssuid0.260509539714749       |            |                                         #11 spssuid0.1865569189380576       |            |                                         #12 spssuid0.9821483705885652       |            |                                         #13 spssuid0.278454165751181       |            |                                         #14 spssuid0.7549420206345666       |            |                                         #15 spssuid0.12968634267951962       |            |                                         #16 spssuid0.7711530589700306       |            |                                         #17 spssuid0.8318293334707343       |            |                                         #18 spssuid0.1484585750088051       |            |                                         #19 spssuid0.5084791818178851       |            |                                         #20 spssuid0.17584405010319815       |            |                                         #21 spssuid0.42445480085392495       |            |                                         #22 spssuid0.36168063120856586       |            |                                         #23 spssuid0.5227781686072429       |            |                                         #24 spssuid0.9857767188323199       |            |                                         #25 spssuid0.1562274502191815       |            |                                         #26 spssuid0.1207118732920619       |            |                                         #27 spssuid0.13656829692862493       |            |                                         #28 spssuid0.08343976738089309       |            |                                         #29 spssuid0.9888334841715682       |            |                                         #30 spssuid0.4127320753698521       |            |                                         #31 spssuid0.8286692881206431       |            |                                         #32 spssuid0.9721003961008907       |            |                                        ]       |            |              #29 spssuid0.1207118732920619 = «see above»       |            |              #30 spssuid0.42445480085392495 = «see above»       |            |              #31 spssuid0.8286692881206431 = «see above»       |            |              #32 spssuid0.12968634267951962 = «see above»       |            |              #33 spssuid0.36168063120856586 = «see above»       |            |             ]       | Attributes: [       |               #1 DIFResponseAttribute =   | View:   | ID:        |                                           |         | Name:        |                                           |         | Type: NORMAL       |                                           |         | Default: true       |                                           |         | Engine: jsp       |                                           |         | Target: documentosnet/anonimo/ValidarDocumento.jsp       |                                           | Stage Results: [       |                                           |                  #1 addedCookiesComponent = "true"       |                                           |                  #2 addedCookiesBanner = "true"       |                                           |                ]       |               #2 javax.servlet.include.query_string = "stage=diftemplate&template_mode=true"       |               #4 javax.servlet.include.request_uri = "/netpa/page"       |               #5 mainResponseCharset = "UTF-8"       |               #6 responsive_ui_mode = true       |               #7 contentStage = pt.digitalis.siges.entities.documentos.anonimo.ValidarDocumentoCGStageInstance@27b04b69       |               #8 originalRequest = pt.digitalis.dif.listeners.objects.RESTHttpServletRequestWrapper@541e4768       |               #9 mainDocumentObject = pt.digitalis.dif.presentation.views.jsp.taglibs.core.Document@3040843       |              #10 javax.servlet.include.servlet_path = "/page"       |              #11 mainResponseObject =   | View:   | ID:        |                                         |         | Name:        |                                         |         | Type: NORMAL       |                                         |         | Default: true       |                                         |         | Engine: jsp       |                                         |         | Target: documentosnet/anonimo/ValidarDocumento.jsp       |                                         | Stage Results: [       |                                         |                  #1 addedCookiesComponent = "true"       |                                         |                  #2 addedCookiesBanner = "true"       |                                         |                ]       |              #12 mainDocumentTagObject = pt.digitalis.dif.presentation.views.jsp.taglibs.core.Document@3040843       |              #13 javax.servlet.include.context_path = "/netpa"       |              #14 RaisedExceptionCaghtInHandler = org.apache.jasper.JasperException: java.lang.NullPointerException       |              #15 javamelody.request = "/page?spssuid=spssuid0.9899807790000984&stage=validardocumento&webui_use_messages_cache=refresh GET"       |             ]       | Parameters: [       |               #1 template_mode = "true"       |               #2 stage = "diftemplate"       |               #3 webui_use_messages_cache = "refresh"       |               #4 spssuid = "spssuid0.08343976738089309"       |             ]Response:       | View:   | ID:        |         | Name:        |         | Type: NORMAL       |         | Default: true       |         | Engine: jsp       |         | Target: internal/dynamicErrorStage.jsp       | Stage Results: [       |                  #1 Original Request =   | Client:   | Name: unknown       |                                          |           | software: unknown       |                                          |           | hardware: unknown       |                                          |           | Features: []       |                                          |           | Attributes: [       |                                          |           |               #1 Locale = en       |                                          |           |               #2 MainVersion = "unknown"       |                                          |           |               #3 ClientRemoteAddress = "216.73.216.21"       |                                          |           |               #4 Language = "en"       |                                          |           |               #5 MinorVersion = "unknown"       |                                          |           |               #6 JSESSIONID = "081B97CC4271C51A309B422A8B806C42"       |                                          |           |             ]       |                                          | stage: errorstage       |                                          | Template Mode: true       |                                          | Component Mode: false       |                                          | Embedded mode: false       |                                          | Popup Mode: false       |                                          | REST URL Mode: false       |                                          | Help Mode: false       |                                          | Session:   | Session ID: http081B97CC4271C51A309B422A8B806C42       |                                          |            | First Access Time: 1756430472130       |                                          |            | Last Access Time: 1756430475861       |                                          |            | language: pt       |                                          |            | User in session: null       |                                          |            | Attributes: [       |                                          |            |               #1 spssuid0.278454165751181 = []       |                                          |            |               #2 spssuid0.13656829692862493 = «see above»       |                                          |            |               #3 spssuid0.08343976738089309 = «see above»       |                                          |            |               #4 spssuid0.9888334841715682 = «see above»       |                                          |            |               #5 spssuid0.1863239911849457 = «see above»       |                                          |            |               #6 spssuid0.5084791818178851 = «see above»       |                                          |            |               #7 spssuid0.4127320753698521 = «see above»       |                                          |            |               #8 spssuid0.32774564377201987 = «see above»       |                                          |            |               #9 spssuid0.7549420206345666 = «see above»       |                                          |            |              #10 spssuid0.8318293334707343 = «see above»       |                                          |            |              #11 spssuid0.045291313535518296 = «see above»       |                                          |            |              #12 spssuid0.9721003961008907 = «see above»       |                                          |            |              #13 spssuid0.9857767188323199 = «see above»       |                                          |            |              #14 spssuid0.1908622151974131 = «see above»       |                                          |            |              #15 spssuid0.7064815667871418 = «see above»       |                                          |            |              #16 spssuid0.1562274502191815 = «see above»       |                                          |            |              #17 spssuid0.08239940806081847 = «see above»       |                                          |            |              #18 spssuid0.7583823403048019 = «see above»       |                                          |            |              #19 spssuid0.6791419586732355 = «see above»       |                                          |            |              #20 spssuid0.35524857284289 = «see above»       |                                          |            |              #21 spssuid0.9821483705885652 = «see above»       |                                          |            |              #22 spssuid0.7711530589700306 = «see above»       |                                          |            |              #23 spssuid0.260509539714749 = «see above»       |                                          |            |              #24 spssuid0.1484585750088051 = «see above»       |                                          |            |              #25 spssuid0.5227781686072429 = «see above»       |                                          |            |              #26 spssuid0.17584405010319815 = «see above»       |                                          |            |              #27 spssuid0.1865569189380576 = «see above»       |                                          |            |              #28 spssuidControlQueue = [       |                                          |            |                                         # 1 spssuid0.6791419586732355       |                                          |            |                                         # 2 spssuid0.35524857284289       |                                          |            |                                         # 3 spssuid0.08239940806081847       |                                          |            |                                         # 4 spssuid0.32774564377201987       |                                          |            |                                         # 5 spssuid0.045291313535518296       |                                          |            |                                         # 6 spssuid0.1863239911849457       |                                          |            |                                         # 7 spssuid0.1908622151974131       |                                          |            |                                         # 8 spssuid0.7583823403048019       |                                          |            |                                         # 9 spssuid0.7064815667871418       |                                          |            |                                         #10 spssuid0.260509539714749       |                                          |            |                                         #11 spssuid0.1865569189380576       |                                          |            |                                         #12 spssuid0.9821483705885652       |                                          |            |                                         #13 spssuid0.278454165751181       |                                          |            |                                         #14 spssuid0.7549420206345666       |                                          |            |                                         #15 spssuid0.12968634267951962       |                                          |            |                                         #16 spssuid0.7711530589700306       |                                          |            |                                         #17 spssuid0.8318293334707343       |                                          |            |                                         #18 spssuid0.1484585750088051       |                                          |            |                                         #19 spssuid0.5084791818178851       |                                          |            |                                         #20 spssuid0.17584405010319815       |                                          |            |                                         #21 spssuid0.42445480085392495       |                                          |            |                                         #22 spssuid0.36168063120856586       |                                          |            |                                         #23 spssuid0.5227781686072429       |                                          |            |                                         #24 spssuid0.9857767188323199       |                                          |            |                                         #25 spssuid0.1562274502191815       |                                          |            |                                         #26 spssuid0.1207118732920619       |                                          |            |                                         #27 spssuid0.13656829692862493       |                                          |            |                                         #28 spssuid0.08343976738089309       |                                          |            |                                         #29 spssuid0.9888334841715682       |                                          |            |                                         #30 spssuid0.4127320753698521       |                                          |            |                                         #31 spssuid0.8286692881206431       |                                          |            |                                         #32 spssuid0.9721003961008907       |                                          |            |                                        ]       |                                          |            |              #29 spssuid0.1207118732920619 = «see above»       |                                          |            |              #30 spssuid0.42445480085392495 = «see above»       |                                          |            |              #31 spssuid0.8286692881206431 = «see above»       |                                          |            |              #32 spssuid0.12968634267951962 = «see above»       |                                          |            |              #33 spssuid0.36168063120856586 = «see above»       |                                          |            |             ]       |                                          | Attributes: [       |                                          |               #1 DIFResponseAttribute =   | View:   | ID:        |                                          |                                           |         | Name:        |                                          |                                           |         | Type: NORMAL       |                                          |                                           |         | Default: true       |                                          |                                           |         | Engine: jsp       |                                          |                                           |         | Target: documentosnet/anonimo/ValidarDocumento.jsp       |                                          |                                           | Stage Results: [       |                                          |                                           |                  #1 addedCookiesComponent = "true"       |                                          |                                           |                  #2 addedCookiesBanner = "true"       |                                          |                                           |                ]       |                                          |               #2 javax.servlet.include.query_string = "stage=diftemplate&template_mode=true"       |                                          |               #4 javax.servlet.include.request_uri = "/netpa/page"       |                                          |               #5 mainResponseCharset = "UTF-8"       |                                          |               #6 responsive_ui_mode = true       |                                          |               #7 contentStage = pt.digitalis.siges.entities.documentos.anonimo.ValidarDocumentoCGStageInstance@27b04b69       |                                          |               #8 originalRequest = pt.digitalis.dif.listeners.objects.RESTHttpServletRequestWrapper@541e4768       |                                          |               #9 mainDocumentObject = pt.digitalis.dif.presentation.views.jsp.taglibs.core.Document@3040843       |                                          |              #10 javax.servlet.include.servlet_path = "/page"       |                                          |              #11 mainResponseObject =   | View:   | ID:        |                                          |                                         |         | Name:        |                                          |                                         |         | Type: NORMAL       |                                          |                                         |         | Default: true       |                                          |                                         |         | Engine: jsp       |                                          |                                         |         | Target: documentosnet/anonimo/ValidarDocumento.jsp       |                                          |                                         | Stage Results: [       |                                          |                                         |                  #1 addedCookiesComponent = "true"       |                                          |                                         |                  #2 addedCookiesBanner = "true"       |                                          |                                         |                ]       |                                          |              #12 mainDocumentTagObject = pt.digitalis.dif.presentation.views.jsp.taglibs.core.Document@3040843       |                                          |              #13 javax.servlet.include.context_path = "/netpa"       |                                          |              #14 RaisedExceptionCaghtInHandler = org.apache.jasper.JasperException: java.lang.NullPointerException       |                                          |              #15 javamelody.request = "/page?spssuid=spssuid0.9899807790000984&stage=validardocumento&webui_use_messages_cache=refresh GET"       |                                          |             ]       |                                          | Parameters: [       |                                          |               #1 template_mode = "true"       |                                          |               #2 stage = "diftemplate"       |                                          |               #3 webui_use_messages_cache = "refresh"       |                                          |               #4 spssuid = "spssuid0.08343976738089309"       |                                          |             ]       |                  #2 Exception = org.apache.jasper.JasperException: java.lang.NullPointerException       |                ]