On 16/03/2015 09:26, Thusitha Thilina Dayaratne wrote: > Hi All, > > I'm in the process of migrating embedded tomcat application from Tomcat 7 > to Tomcat 8. > When I'm trying to start the embedded instance I'm getting a > NullPointerException > Here is the stacktrace > >> >> ERROR {org.apache.catalina.core.ApplicationDispatcher} - >> Servlet.service() for servlet bridgeservlet threw exception >> java.lang.NullPointerException >> at >> org.apache.jasper.JspCompilationContext.getTldResourcePath(JspCompilationContext.java:536) >> at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:410) >> at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:469) >> at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1430) >> at org.apache.jasper.compiler.Parser.parse(Parser.java:139)
<snip/> >>> I can't figure out the reason to get this NullPointerException. >>> Can someone help me out? >> If we knew which version of Tomcat 8 you were using, someone could look >> at the relevant source code to try to figure out what was going on. I'm using tomcat version *8.0.20* Thanks Thusitha On Mon, Mar 16, 2015 at 3:07 PM, Mark Thomas <ma...@apache.org> wrote: > On 16/03/2015 09:26, Thusitha Thilina Dayaratne wrote: > > Hi All, > > > > I'm in the process of migrating embedded tomcat application from Tomcat 7 > > to Tomcat 8. > > When I'm trying to start the embedded instance I'm getting a > > NullPointerException > > Here is the stacktrace > > > >> > >> ERROR {org.apache.catalina.core.ApplicationDispatcher} - > >> Servlet.service() for servlet bridgeservlet threw exception > >> java.lang.NullPointerException > >> at > >> > org.apache.jasper.JspCompilationContext.getTldResourcePath(JspCompilationContext.java:536) > >> at > org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:410) > >> at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:469) > >> at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1430) > >> at org.apache.jasper.compiler.Parser.parse(Parser.java:139) > > <snip/> > > > I can't figure out the reason to get this NullPointerException. > > Can someone help me out? > > If we knew which version of Tomcat 8 you were using, someone could look > at the relevant source code to try to figure out what was going on. > > Hint: Tomcat is open source. You can look at the source code too. > > Mark > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Thusitha Dayaratne Software Engineer WSO2 Inc. - lean . enterprise . middleware | wso2.com Mobile +94712756809 Blog alokayasoya.blogspot.com About http://about.me/thusithathilina