/getPatterns returning 500 error for some routes

35 views
Skip to first unread message

TreKing

unread,
Jun 21, 2015, 10:12:40 PM6/21/15
to cta...@googlegroups.com
One example for route 78 (Montrose). Also occurring for 77 (Belmont) and possibly others.

Request:
http://ctabustracker.com/bustime/api/v1/getpatterns?key=KEY&rt=78

Response

<html>
    <head>
        <title>Apache Tomcat/6.0.37 - Error report</title>
        <style>
            <!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}-->
        </style>
    </head>
    <body>
        <h1>HTTP Status 500 - java.lang.NullPointerException</h1>
        <HR size="1" noshade="noshade">
            <p>
                <b>type</b> Exception report
            </p>
            <p>
                <b>message</b>
                <u>java.lang.NullPointerException</u>
            </p>
            <p>
                <b>description</b>
                <u>The server encountered an internal error that prevented it from fulfilling this request.</u>
            </p>
            <p>
                <b>exception</b>
                <pre>org.apache.jasper.JasperException: java.lang.NullPointerException
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:502)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:430)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
    com.cleverdevices.bustime.api.www.ProcessAPIRequest.doGet(Unknown Source)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
    org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:88)
</pre>
            </p>
            <p>
                <b>root cause</b>
                <pre>java.lang.NullPointerException
</pre>
            </p>
            <p>
                <b>note</b>
                <u>The full stack trace of the root cause is available in the Apache Tomcat/6.0.37 logs.</u>
            </p>
            <HR size="1" noshade="noshade">
                <h3>Apache Tomcat/6.0.37</h3>
            </body>
        </html>

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices

ctaweb

unread,
Jul 6, 2015, 1:39:03 PM7/6/15
to cta...@googlegroups.com, treki...@gmail.com
Sorry for just noticing this now--Are you still having this issue at all? I think we may have had a brief network outage that day causing the server to give errors on requests.

-TC/ctaweb

Eric Smith

unread,
Jul 6, 2015, 4:51:20 PM7/6/15
to cta...@googlegroups.com
Well, if you keep getting an error 500 you need to try to develop those runs on a Linux platform to stop that error 500 from occurring.

TreKing

unread,
Jul 7, 2015, 12:21:08 AM7/7/15
to cta...@googlegroups.com

On Mon, Jul 6, 2015 at 12:39 PM, ctaweb <ctawe...@gmail.com> wrote:
Sorry for just noticing this now--Are you still having this issue at all? I think we may have had a brief network outage that day causing the server to give errors on requests.

Nope, seems fine now, thanks.
Reply all
Reply to author
Forward
0 new messages