java.lang.NullPointerException: This exception has no message.

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 Apereo Issues by Cyrus Rezvani, 1 year ago
This exception has no message.
via Apereo Issues by Cyrus Rezvani, 1 year ago
This exception has no message.
via jasig.org by Unknown author, 2 years ago
via Google Groups by Makarov, Konstantin V., 3 months ago
via Sonatype JIRA by Rich Seddon, 1 year ago
This exception has no message.
via Sonatype JIRA by Rich Seddon, 1 year ago
This exception has no message.
java.lang.NullPointerException:
at java.util.regex.Matcher.getTextLength(Matcher.java:1140)
at java.util.regex.Matcher.reset(Matcher.java:291)
at java.util.regex.Matcher.(Matcher.java:211)
at java.util.regex.Pattern.matcher(Pattern.java:888)
at org.jasig.cas.services.web.ServiceThemeResolver.resolveThemeName_aroundBody0(ServiceThemeResolver.java:54)
at org.jasig.cas.services.web.ServiceThemeResolver.resolveThemeName_aroundBody1$advice(ServiceThemeResolver.java:44)
at org.springframework.web.servlet.support.RequestContextUtils.getTheme(RequestContextUtils.java:147)
at org.springframework.web.servlet.support.RequestContext.getTheme(RequestContext.java:328)
at org.springframework.web.servlet.tags.ThemeTag.getMessageSource(ThemeTag.java:50)
at org.springframework.web.servlet.tags.MessageTag.resolveMessage(MessageTag.java:193)
at org.springframework.web.servlet.tags.MessageTag.doStartTagInternal(MessageTag.java:165)
at org.apache.jsp.WEB_002dINF.view.jsp.errors_jsp._jspx_meth_spring_005ftheme_005f0(errors_jsp.java:159)
at org.apache.jsp.WEB_002dINF.view.jsp.errors_jsp._jspService(errors_jsp.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
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:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:438)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:421)
at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:342)
at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:286)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.java:347)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

13 times, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
2 times, 4 months ago
2 times, 6 months ago
6 times, 6 months ago
29 more bugmates

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