ace issueshttps://gitlab.umiacs.umd.edu/adapt/ace/-/issues2019-06-05T12:46:01-04:00https://gitlab.umiacs.umd.edu/adapt/ace/-/issues/64ReportConfiguration servlet not removing report2019-06-05T12:46:01-04:00Ghost UserReportConfiguration servlet not removing reportA NullPointerException is being thrown, which prevents the report from being removed
```
[25/Apr/2019:15:55:51] [request /ReportConfiguration] Error removing report
java.lang.NullPointerException
at edu.umiacs.ace.monitor.reporti...A NullPointerException is being thrown, which prevents the report from being removed
```
[25/Apr/2019:15:55:51] [request /ReportConfiguration] Error removing report
java.lang.NullPointerException
at edu.umiacs.ace.monitor.reporting.SchedulerContextListener.removeJob(SchedulerContextListener.java:121)
at edu.umiacs.ace.monitor.reporting.ReportConfigurationServlet.processRequest(ReportConfigurationServlet.java:101)
at edu.umiacs.ace.util.EntityManagerServlet.wrapRequest(EntityManagerServlet.java:120)
at edu.umiacs.ace.util.EntityManagerServlet.doGet(EntityManagerServlet.java:244)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at edu.umiacs.ace.rest.CharsetFilter.doFilter(CharsetFilter.java:41)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:615)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
```https://gitlab.umiacs.umd.edu/adapt/ace/-/issues/59NPE in IngestThreadPool submitTokens2019-04-10T14:25:05-04:00Ghost UserNPE in IngestThreadPool submitTokensIf a token store is resubmitted for a collection before it finishes processing, a null pointer will be returned in place of a Future which will throw a NullPointerException when trying to use it.If a token store is resubmitted for a collection before it finishes processing, a null pointer will be returned in place of a Future which will throw a NullPointerException when trying to use it.https://gitlab.umiacs.umd.edu/adapt/ace/-/issues/29StatusServlet has filter on collection '0'2018-05-21T17:55:04-04:00Ghost UserStatusServlet has filter on collection '0'There are numerous times when going back to the status servlet that it errantly has `0` as a filter for the collection. This is easiest triggered by viewing the event log for a collection, then clicking `Status` to get back to the main p...There are numerous times when going back to the status servlet that it errantly has `0` as a filter for the collection. This is easiest triggered by viewing the event log for a collection, then clicking `Status` to get back to the main page for ACE.https://gitlab.umiacs.umd.edu/adapt/ace/-/issues/28OOM in AuditThread2018-01-23T08:32:47-05:00Ghost UserOOM in AuditThreadWhen auditing a large collection which has many (500k+) missing files, we pull the entire result set in to memory which then causes us to run out of heap space. We should instead use a cursor to iterate.
This is the result of Monitore...When auditing a large collection which has many (500k+) missing files, we pull the entire result set in to memory which then causes us to run out of heap space. We should instead use a cursor to iterate.
This is the result of MonitoredItemManager.listItemsBefore, of which the only usage is in the AuditThread.https://gitlab.umiacs.umd.edu/adapt/ace/-/issues/33Fix css in Statistics servlet2018-01-23T08:32:47-05:00Ghost UserFix css in Statistics servletMany of the rows in the table end up going out of bounds due to the length of the date, collection name, and size.Many of the rows in the table end up going out of bounds due to the length of the date, collection name, and size.https://gitlab.umiacs.umd.edu/adapt/ace/-/issues/39Stats query doesn't work if a collection has no group2018-01-23T08:32:47-05:00Ghost UserStats query doesn't work if a collection has no groupWhen executing the query for the statistics page, an exception is thrown when a collection with no group exists in ace
```
Exception Description: The column result [colgroup] was not found in the results of the query.
Query: ResultSetMap...When executing the query for the statistics page, an exception is thrown when a collection with no group exists in ace
```
Exception Description: The column result [colgroup] was not found in the results of the query.
Query: ResultSetMappingQuery(sql="SELECT l1.date, c.name, c.colgroup, m.count, m.size FROM logevent l1 JOIN ( SELECT collection_id, min(date) AS date FROM logevent WHERE logtype = 20 GROUP BY collection_id) AS l2 ON l1.collection_id = l2.collection_id AND l1.date = l2.date AND l1.logtype = 20 JOIN ( SELECT id, name, colgroup FROM collection ) AS c ON l1.collection_id = c.id JOIN ( SELECT count(id) AS count, sum(size) AS size, parentcollection_id FROM monitored_item GROUP BY parentcollection_id) AS m ON m.parentcollection_id = c.id ")
```