166Views15Replies

Author Options:

error 500 caused by NullPointerException on GravityBike page :) Answered

I have got a beautiful error 500 with all the stacktrace on this url => https://www.instructables.com/id/Gravity-Bike/#step1
500 Servlet Exception

javax.servlet.ServletException: javax.servlet.jsp.JspException: ServletException
in '/common/layout1col.jspx': java.lang.reflect.InvocationTargetException
 at com.caucho.jsp.PageContextImpl.handlePageException(PageContextImpl.java:1120)
 at _jsp._pages._error._error__jsp._jspService(pages/error/error.jsp:19)
 at com.caucho.jsp.JavaPage.service(JavaPage.java:60)
 at com.caucho.jsp.Page.pageservice(Page.java:570)
 at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179)
 at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115)
 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
 at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485)
 at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350)
 at com.instructables.servlet.ErrorServlet.service(ErrorServlet.java:68)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
 at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106)
 at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115)
 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
 at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:277)
 at com.caucho.server.webapp.RequestDispatcherImpl.error(RequestDispatcherImpl.java:113)
 at com.caucho.server.webapp.ErrorPageManager.sendServletError(ErrorPageManager.java:362)
 at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175)
 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
 at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274)
 at com.caucho.server.port.TcpConnection.run(TcpConnection.java:514)
 at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:527)
 at com.caucho.util.ThreadPool.run(ThreadPool.java:449)
 at java.lang.Thread.run(Thread.java:595)
Caused by: javax.servlet.jsp.JspException: ServletException in '/common/layout1col.jspx':
java.lang.reflect.InvocationTargetException
 at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:923)
 at org.apache.tiles.taglib.InsertTag.doEndTag(InsertTag.java:457)
 at _jsp._pages._error._error__jsp._jspService(pages/error/error.jsp:19)
 at com.caucho.jsp.JavaPage.service(JavaPage.java:60)
 at com.caucho.jsp.Page.pageservice(Page.java:570)
 at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179)
 at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115)
 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
 at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485)
 at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350)
 at com.instructables.servlet.ErrorServlet.service(ErrorServlet.java:68)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
 at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106)
 at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115)
 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
 at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:277)
 at com.caucho.server.webapp.RequestDispatcherImpl.error(RequestDispatcherImpl.java:113)
 at com.caucho.server.webapp.ErrorPageManager.sendServletError(ErrorPageManager.java:362)
 at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175)
 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
 at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274)
 at com.caucho.server.port.TcpConnection.run(TcpConnection.java:514)
 at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:527)
 at com.caucho.util.ThreadPool.run(ThreadPool.java:449)
 at java.lang.Thread.run(Thread.java:595)
Caused by: javax.servlet.ServletException: javax.servlet.jsp.el.ELException:
java.lang.reflect.InvocationTargetException
 at com.caucho.jsp.PageContextImpl.handlePageException(PageContextImpl.java:1120)
 at _jsp._common._nav__jsp._jspService(_nav__jsp.java:243)
 at com.caucho.jsp.JavaPage.service(JavaPage.java:60)
 at com.caucho.jsp.Page.pageservice(Page.java:570)
 at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179)
 at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115)
 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
 at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485)
 at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350)
 at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:933)
 at _jsp._common._layout1col__jspx._jspService(file:/home/instruct/deploy/instructables/common/layout1col.jspx:85)
 at com.caucho.jsp.JavaPage.service(JavaPage.java:60)
 at com.caucho.jsp.Page.pageservice(Page.java:570)
 at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179)
 at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115)
 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
 at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485)
 at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350)
 at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:933)
 at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:870)
 at org.apache.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:143)
 at org.apache.tiles.TilesUtil.doInclude(TilesUtil.java:149)
 at org.apache.tiles.taglib.InsertTag.doInclude(InsertTag.java:760)
 at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:892)
 at org.apache.tiles.taglib.InsertTag.doEndTag(InsertTag.java:457)
 at _jsp._pages._error._error__jsp._jspService(pages/error/error.jsp:19)
 at com.caucho.jsp.JavaPage.service(JavaPage.java:60)
 at com.caucho.jsp.Page.pageservice(Page.java:570)
 at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179)
 at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115)
 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
 at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485)
 at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350)
 at com.instructables.servlet.ErrorServlet.service(ErrorServlet.java:68)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
 at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106)
 at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115)
 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
 at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:277)
 at com.caucho.server.webapp.RequestDispatcherImpl.error(RequestDispatcherImpl.java:113)
 at com.caucho.server.webapp.ErrorPageManager.sendServletError(ErrorPageManager.java:362)
 at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175)
 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
 at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274)
 at com.caucho.server.port.TcpConnection.run(TcpConnection.java:514)
 at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:527)
 at com.caucho.util.ThreadPool.run(ThreadPool.java:449)
 at java.lang.Thread.run(Thread.java:595)
Caused by: javax.servlet.jsp.el.ELException: java.lang.reflect.InvocationTargetException
 at com.caucho.el.StaticMethodExpr.evalMethod(StaticMethodExpr.java:142)
 at com.caucho.el.FunctionExpr.evalObject(FunctionExpr.java:71)
 at _jsp._common._nav__jsp._jspService(common/nav.jsp:184)
 at com.caucho.jsp.JavaPage.service(JavaPage.java:60)
 at com.caucho.jsp.Page.pageservice(Page.java:570)
 at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179)
 at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115)
 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
 at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485)
 at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350)
 at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:933)
 at _jsp._common._layout1col__jspx._jspService(file:/home/instruct/deploy/instructables/common/layout1col.jspx:85)
 at com.caucho.jsp.JavaPage.service(JavaPage.java:60)
 at com.caucho.jsp.Page.pageservice(Page.java:570)
 at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179)
 at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115)
 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
 at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485)
 at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350)
 at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:933)
 at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:870)
 at org.apache.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:143)
 at org.apache.tiles.TilesUtil.doInclude(TilesUtil.java:149)
 at org.apache.tiles.taglib.InsertTag.doInclude(InsertTag.java:760)
 at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:892)
 at org.apache.tiles.taglib.InsertTag.doEndTag(InsertTag.java:457)
 at _jsp._pages._error._error__jsp._jspService(pages/error/error.jsp:19)
 at com.caucho.jsp.JavaPage.service(JavaPage.java:60)
 at com.caucho.jsp.Page.pageservice(Page.java:570)
 at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179)
 at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115)
 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
 at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485)
 at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350)
 at com.instructables.servlet.ErrorServlet.service(ErrorServlet.java:68)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
 at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106)
 at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115)
 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
 at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:277)
 at com.caucho.server.webapp.RequestDispatcherImpl.error(RequestDispatcherImpl.java:113)
 at com.caucho.server.webapp.ErrorPageManager.sendServletError(ErrorPageManager.java:362)
 at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175)
 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
 at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274)
 at com.caucho.server.port.TcpConnection.run(TcpConnection.java:514)
 at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:527)
 at com.caucho.util.ThreadPool.run(ThreadPool.java:449)
 at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.reflect.InvocationTargetException
 at sun.reflect.GeneratedMethodAccessor741.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at com.caucho.el.StaticMethodExpr.evalMethod(StaticMethodExpr.java:133)
 at com.caucho.el.FunctionExpr.evalObject(FunctionExpr.java:71)
 at _jsp._common._nav__jsp._jspService(common/nav.jsp:184)
 at com.caucho.jsp.JavaPage.service(JavaPage.java:60)
 at com.caucho.jsp.Page.pageservice(Page.java:570)
 at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179)
 at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115)
 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
 at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485)
 at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350)
 at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:933)
 at _jsp._common._layout1col__jspx._jspService(file:/home/instruct/deploy/instructables/common/layout1col.jspx:85)
 at com.caucho.jsp.JavaPage.service(JavaPage.java:60)
 at com.caucho.jsp.Page.pageservice(Page.java:570)
 at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179)
 at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115)
 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
 at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485)
 at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350)
 at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:933)
 at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:870)
 at org.apache.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:143)
 at org.apache.tiles.TilesUtil.doInclude(TilesUtil.java:149)
 at org.apache.tiles.taglib.InsertTag.doInclude(InsertTag.java:760)
 at org.apache.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:892)
 at org.apache.tiles.taglib.InsertTag.doEndTag(InsertTag.java:457)
 at _jsp._pages._error._error__jsp._jspService(pages/error/error.jsp:19)
 at com.caucho.jsp.JavaPage.service(JavaPage.java:60)
 at com.caucho.jsp.Page.pageservice(Page.java:570)
 at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179)
 at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115)
 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
 at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:485)
 at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:350)
 at com.instructables.servlet.ErrorServlet.service(ErrorServlet.java:68)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
 at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106)
 at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115)
 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
 at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:277)
 at com.caucho.server.webapp.RequestDispatcherImpl.error(RequestDispatcherImpl.java:113)
 at com.caucho.server.webapp.ErrorPageManager.sendServletError(ErrorPageManager.java:362)
 at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175)
 at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
 at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274)
 at com.caucho.server.port.TcpConnection.run(TcpConnection.java:514)
 at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:527)
 at com.caucho.util.ThreadPool.run(ThreadPool.java:449)
 at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
 at com.instructables.taglib.Functions$1.compare(Functions.java:1243)
 at com.instructables.taglib.Functions$1.compare(Functions.java:1241)
 at java.util.Arrays.mergeSort(Arrays.java:1284)
 at java.util.Arrays.sort(Arrays.java:1223)
 at java.util.Collections.sort(Collections.java:159)
 at com.instructables.taglib.Functions.alphabetize(Functions.java:1241)
 at com.instructables.manager.HibernateCategoryManager.getChannelsLimitedByNamesCharacterCount(HibernateCategoryManager.java:139)
 at sun.reflect.GeneratedMethodAccessor742.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at com.instructables.transaction.TransactionHandler.invoke(TransactionHandler.java:69)
 at $Proxy34.getChannelsLimitedByNamesCharacterCount(Unknown Source)
 at com.instructables.taglib.Functions.getChannelsLimitedByNamesCharacterCount(Functions.java:1210)
Resin Professional 3.0.28 (built Mon, 18 May 2009 02:21:41 PDT)

Discussions

0
None
Kiteman

7 years ago

Same here. Windows and FF4

0
None
StumpChunkmanKiteman

Reply 7 years ago

I've tried logged in and logged out, on Mac and Windows, in Safari (on mac), Crome, FF3 and FF4. I can't get this problem to show up on any of the computers I'm using. Is it still giving either of you a problem?

0
None
lemonieKiteman

Reply 7 years ago


No one has yet commented on my new 500-error avatar, I'm a bit disappointed because I really like it.

L

0
None
Kitemanlemonie

Reply 7 years ago

Aww, sorry!

Clears throat

Gosh, Lemonie, that's a spiffing new avatar you have there!

(How's that?)

0
None
lemonieKiteman

Reply 7 years ago


Thanks, everything is beautiful now...

L

0
None
StumpChunkmanlemonie

Reply 7 years ago

I looks a little like a battle hardened clown that's ready to war with his herd of angry balloon animals. Perhaps charging in with their battle hymn, "Entry Of The Gladiators," by Julius Fucik being played in the background.

0
None
lemonieStumpChunkman

Reply 7 years ago


You must be familiar with "Test card F"?
Nice choice of tune.

L

0
None
StumpChunkmanlemonie

Reply 7 years ago

Hah! I wasn't familiar with it, though I am now. I think I like that a lot better then the test signal that got played in the United States. Just color bars and an annoying beep.

0
None
lemonieStumpChunkman

Reply 7 years ago


It's a proper classic in the UK - the 500 page was on a BBC site:

L

bbc500.JPG
0
None
StumpChunkmanlemonie

Reply 7 years ago

That's awesome! I lived in the UK for a few of years, but sadly never ran into that.

0
None
ameausoone

7 years ago

The problem is fixed for me now !