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 = "0631C5439F64A92ADE379B4A31DB6FF6"       |           |             ]       | stage: errorstage       | Template Mode: true       | Component Mode: false       | Embedded mode: false       | Popup Mode: false       | REST URL Mode: false       | Help Mode: false       | Session:   | Session ID: http0631C5439F64A92ADE379B4A31DB6FF6       |            | First Access Time: 1756429482255       |            | Last Access Time: 1756429486208       |            | language: pt       |            | User in session: null       |            | Attributes: [       |            |               #1 spssuid0.14507859488624275 = []       |            |               #2 spssuid0.616897637484672 = «see above»       |            |               #3 spssuid0.5999939544244929 = «see above»       |            |               #4 spssuid0.15555543838551433 = «see above»       |            |               #5 spssuid0.403482139900592 = «see above»       |            |               #6 spssuid0.8234018830140952 = «see above»       |            |               #7 spssuid0.8164910892973761 = «see above»       |            |               #8 spssuid0.8768870805244524 = «see above»       |            |               #9 spssuid0.7672611552064279 = «see above»       |            |              #10 spssuid0.1752481642912983 = «see above»       |            |              #11 spssuid0.8356916663199331 = «see above»       |            |              #12 spssuid0.38989149276400126 = «see above»       |            |              #13 spssuid0.1186097531440462 = «see above»       |            |              #14 spssuid0.40779499383073714 = «see above»       |            |              #15 spssuid0.7358915619439518 = «see above»       |            |              #16 spssuid0.46009604561063366 = «see above»       |            |              #17 spssuid0.09089144733716159 = «see above»       |            |              #18 spssuid0.2641147888470635 = «see above»       |            |              #19 spssuid0.09131807445990481 = «see above»       |            |              #20 spssuid0.33453231955200646 = «see above»       |            |              #21 spssuid0.35767557903853997 = «see above»       |            |              #22 spssuidControlQueue = [       |            |                                         # 1 spssuid0.15625587829361398       |            |                                         # 2 spssuid0.14507859488624275       |            |                                         # 3 spssuid0.8768870805244524       |            |                                         # 4 spssuid0.7672611552064279       |            |                                         # 5 spssuid0.15555543838551433       |            |                                         # 6 spssuid0.47395951508446377       |            |                                         # 7 spssuid0.2641147888470635       |            |                                         # 8 spssuid0.08495190921906881       |            |                                         # 9 spssuid0.3879472797113308       |            |                                         #10 spssuid0.09089144733716159       |            |                                         #11 spssuid0.616897637484672       |            |                                         #12 spssuid0.1186097531440462       |            |                                         #13 spssuid0.8356916663199331       |            |                                         #14 spssuid0.09131807445990481       |            |                                         #15 spssuid0.5999939544244929       |            |                                         #16 spssuid0.40779499383073714       |            |                                         #17 spssuid0.7608547983716785       |            |                                         #18 spssuid0.38989149276400126       |            |                                         #19 spssuid0.7047570213321557       |            |                                         #20 spssuid0.8164910892973761       |            |                                         #21 spssuid0.8234018830140952       |            |                                         #22 spssuid0.7358915619439518       |            |                                         #23 spssuid0.1752481642912983       |            |                                         #24 spssuid0.9421648866737196       |            |                                         #25 spssuid0.35767557903853997       |            |                                         #26 spssuid0.46009604561063366       |            |                                         #27 spssuid0.7105379334013073       |            |                                         #28 spssuid0.403482139900592       |            |                                         #29 spssuid0.4941188927562711       |            |                                         #30 spssuid0.33453231955200646       |            |                                        ]       |            |              #23 spssuid0.47395951508446377 = «see above»       |            |              #24 spssuid0.08495190921906881 = «see above»       |            |              #25 spssuid0.9421648866737196 = «see above»       |            |              #26 spssuid0.7608547983716785 = «see above»       |            |              #27 spssuid0.3879472797113308 = «see above»       |            |              #28 spssuid0.7047570213321557 = «see above»       |            |              #29 spssuid0.7105379334013073 = «see above»       |            |              #30 spssuid0.4941188927562711 = «see above»       |            |              #31 spssuid0.15625587829361398 = «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@9cecfb2       |               #8 originalRequest = pt.digitalis.dif.listeners.objects.RESTHttpServletRequestWrapper@23c7ae88       |               #9 mainDocumentObject = pt.digitalis.dif.presentation.views.jsp.taglibs.core.Document@21267271       |              #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@21267271       |              #13 javax.servlet.include.context_path = "/netpa"       |              #14 RaisedExceptionCaghtInHandler = org.apache.jasper.JasperException: java.lang.NullPointerException       |              #15 javamelody.request = "/page?spssuid=spssuid0.8028236588013383&stage=validardocumento&webui_use_messages_cache=true GET"       |             ]       | Parameters: [       |               #1 template_mode = "true"       |               #2 stage = "diftemplate"       |               #3 webui_use_messages_cache = "true"       |               #4 spssuid = "spssuid0.40779499383073714"       |             ]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 = "0631C5439F64A92ADE379B4A31DB6FF6"       |                                          |           |             ]       |                                          | stage: errorstage       |                                          | Template Mode: true       |                                          | Component Mode: false       |                                          | Embedded mode: false       |                                          | Popup Mode: false       |                                          | REST URL Mode: false       |                                          | Help Mode: false       |                                          | Session:   | Session ID: http0631C5439F64A92ADE379B4A31DB6FF6       |                                          |            | First Access Time: 1756429482255       |                                          |            | Last Access Time: 1756429486208       |                                          |            | language: pt       |                                          |            | User in session: null       |                                          |            | Attributes: [       |                                          |            |               #1 spssuid0.14507859488624275 = []       |                                          |            |               #2 spssuid0.616897637484672 = «see above»       |                                          |            |               #3 spssuid0.5999939544244929 = «see above»       |                                          |            |               #4 spssuid0.15555543838551433 = «see above»       |                                          |            |               #5 spssuid0.403482139900592 = «see above»       |                                          |            |               #6 spssuid0.8234018830140952 = «see above»       |                                          |            |               #7 spssuid0.8164910892973761 = «see above»       |                                          |            |               #8 spssuid0.8768870805244524 = «see above»       |                                          |            |               #9 spssuid0.7672611552064279 = «see above»       |                                          |            |              #10 spssuid0.1752481642912983 = «see above»       |                                          |            |              #11 spssuid0.8356916663199331 = «see above»       |                                          |            |              #12 spssuid0.38989149276400126 = «see above»       |                                          |            |              #13 spssuid0.1186097531440462 = «see above»       |                                          |            |              #14 spssuid0.40779499383073714 = «see above»       |                                          |            |              #15 spssuid0.7358915619439518 = «see above»       |                                          |            |              #16 spssuid0.46009604561063366 = «see above»       |                                          |            |              #17 spssuid0.09089144733716159 = «see above»       |                                          |            |              #18 spssuid0.2641147888470635 = «see above»       |                                          |            |              #19 spssuid0.09131807445990481 = «see above»       |                                          |            |              #20 spssuid0.33453231955200646 = «see above»       |                                          |            |              #21 spssuid0.35767557903853997 = «see above»       |                                          |            |              #22 spssuidControlQueue = [       |                                          |            |                                         # 1 spssuid0.15625587829361398       |                                          |            |                                         # 2 spssuid0.14507859488624275       |                                          |            |                                         # 3 spssuid0.8768870805244524       |                                          |            |                                         # 4 spssuid0.7672611552064279       |                                          |            |                                         # 5 spssuid0.15555543838551433       |                                          |            |                                         # 6 spssuid0.47395951508446377       |                                          |            |                                         # 7 spssuid0.2641147888470635       |                                          |            |                                         # 8 spssuid0.08495190921906881       |                                          |            |                                         # 9 spssuid0.3879472797113308       |                                          |            |                                         #10 spssuid0.09089144733716159       |                                          |            |                                         #11 spssuid0.616897637484672       |                                          |            |                                         #12 spssuid0.1186097531440462       |                                          |            |                                         #13 spssuid0.8356916663199331       |                                          |            |                                         #14 spssuid0.09131807445990481       |                                          |            |                                         #15 spssuid0.5999939544244929       |                                          |            |                                         #16 spssuid0.40779499383073714       |                                          |            |                                         #17 spssuid0.7608547983716785       |                                          |            |                                         #18 spssuid0.38989149276400126       |                                          |            |                                         #19 spssuid0.7047570213321557       |                                          |            |                                         #20 spssuid0.8164910892973761       |                                          |            |                                         #21 spssuid0.8234018830140952       |                                          |            |                                         #22 spssuid0.7358915619439518       |                                          |            |                                         #23 spssuid0.1752481642912983       |                                          |            |                                         #24 spssuid0.9421648866737196       |                                          |            |                                         #25 spssuid0.35767557903853997       |                                          |            |                                         #26 spssuid0.46009604561063366       |                                          |            |                                         #27 spssuid0.7105379334013073       |                                          |            |                                         #28 spssuid0.403482139900592       |                                          |            |                                         #29 spssuid0.4941188927562711       |                                          |            |                                         #30 spssuid0.33453231955200646       |                                          |            |                                        ]       |                                          |            |              #23 spssuid0.47395951508446377 = «see above»       |                                          |            |              #24 spssuid0.08495190921906881 = «see above»       |                                          |            |              #25 spssuid0.9421648866737196 = «see above»       |                                          |            |              #26 spssuid0.7608547983716785 = «see above»       |                                          |            |              #27 spssuid0.3879472797113308 = «see above»       |                                          |            |              #28 spssuid0.7047570213321557 = «see above»       |                                          |            |              #29 spssuid0.7105379334013073 = «see above»       |                                          |            |              #30 spssuid0.4941188927562711 = «see above»       |                                          |            |              #31 spssuid0.15625587829361398 = «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@9cecfb2       |                                          |               #8 originalRequest = pt.digitalis.dif.listeners.objects.RESTHttpServletRequestWrapper@23c7ae88       |                                          |               #9 mainDocumentObject = pt.digitalis.dif.presentation.views.jsp.taglibs.core.Document@21267271       |                                          |              #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@21267271       |                                          |              #13 javax.servlet.include.context_path = "/netpa"       |                                          |              #14 RaisedExceptionCaghtInHandler = org.apache.jasper.JasperException: java.lang.NullPointerException       |                                          |              #15 javamelody.request = "/page?spssuid=spssuid0.8028236588013383&stage=validardocumento&webui_use_messages_cache=true GET"       |                                          |             ]       |                                          | Parameters: [       |                                          |               #1 template_mode = "true"       |                                          |               #2 stage = "diftemplate"       |                                          |               #3 webui_use_messages_cache = "true"       |                                          |               #4 spssuid = "spssuid0.40779499383073714"       |                                          |             ]       |                  #2 Exception = org.apache.jasper.JasperException: java.lang.NullPointerException       |                ]