java.lang.NullPointerException: null

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Sabhay Sardana
, 10 months ago
Attempt to invoke virtual method 'long java.util.Date.getTime()' on a null object reference
via bignerdranch.com by Unknown author, 5 months ago
Attempt to invoke virtual method 'long java.util.Date.getTime()' on a null object reference
via Apereo Issues by Dan McCallum, 1 year ago
null
via Apereo Issues by Dan McCallum, 1 year ago
null
java.lang.NullPointerException: null
at java.util.Calendar.setTime(Calendar.java:1770)
at eu.europa.ec.markt.dss.signature.pdf.pdfbox.PdfBoxSignatureService.createSignatureDictionary(PdfBoxSignatureService.java:225)
at eu.europa.ec.markt.dss.signature.pdf.pdfbox.PdfBoxSignatureService.digest(PdfBoxSignatureService.java:91)
at eu.europa.ec.markt.dss.signature.pdf.pdfbox.PdfBoxDocTimeStampService.timestamp(PdfBoxDocTimeStampService.java:58)
at eu.europa.ec.markt.dss.signature.pades.PAdESLevelBaselineLT.extendSignatures(PAdESLevelBaselineLT.java:167)
at eu.europa.ec.markt.dss.signature.pades.PAdESLevelBaselineLTA.extendSignatures(PAdESLevelBaselineLTA.java:67)
at eu.europa.ec.markt.dss.signature.pades.PAdESService.extendDocument(PAdESService.java:177)
at eu.europa.ec.markt.dss.ws.impl.SignatureServiceImpl.extendSignature(SignatureServiceImpl.java:412)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:188)
at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.invoke(AbstractJAXWSMethodInvoker.java:237)
at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:69)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:107)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:241)
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:248)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:222)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:153)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:171)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
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.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

27 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
5 times, 10 months ago
2 times, 7 months ago
Once, 9 months ago
2 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.