Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.NullPointerException when trying to filter by timerange #6

Open
jackyyaplt opened this issue Jan 27, 2018 · 5 comments
Open
Assignees
Labels

Comments

@jackyyaplt
Copy link

After loading the alert log, there is a draggable control below the chart that allows filtering by time. However, it crashes with the following Exception:
@@@@@@@@@
HTTP Status 500 ? Internal Server Error
Type Exception Report
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
java.lang.NullPointerException
com.pega.gsea.util.AlertAnalysis.applyDateFilter(AlertAnalysis.java:131)
com.pega.gsea.servlets.ActionServlet.doPost(ActionServlet.java:174)
com.pega.gsea.servlets.ActionServlet.doGet(ActionServlet.java:33)
javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Note The full stack trace of the root cause is available in the server logs.
@@@@@@@@@

Expected Behavior

The expected behaviour is that all info should be then filtered by the selected date range.

Current Behavior

In the console, the following error is thrown:
@@@@@@@@@
java.text.ParseException: Unparseable date: "Thu Jan 25 2018 09:17:25 0800 (M"
at java.text.DateFormat.parse(DateFormat.java:366)
at com.pega.gsea.servlets.ActionServlet.doPost(ActionServlet.java:146)
at com.pega.gsea.servlets.ActionServlet.doGet(ActionServlet.java:33)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52
)
@@@@@@@@@

Context

With this issue, I cannot filter the event by the desired time range.

Steps to Reproduce (for bugs)

This is repeatable, just load up a alert file, and move the slider below the graph to filter by any date range.

Your Environment

Windows 7 Enterprise, Tomcat 8.5.24, IE and Chrome both have the errors.

@dasi1
Copy link

dasi1 commented Dec 19, 2018

Any updates on this? Still facing the same problem.

@cdancy
Copy link
Contributor

cdancy commented Dec 19, 2018

@dcasavant @feenr any thoughts here?

@feenr
Copy link
Member

feenr commented Dec 19, 2018

No idea. I only converted the existing project from Maven to Gradle. I don't mind taking a look at it though.

@jackyyaplt
Copy link
Author

jackyyaplt commented Dec 20, 2018 via email

@feenr
Copy link
Member

feenr commented Dec 29, 2018

@jackyyaplt @dasi1 Care to share an alert log for testing purposes? Had some trouble reproducing the issue with my own alert log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants