-
Defect
-
Resolution: Done
-
Major
-
1.3.0-RC2
-
None
When selecting a dataset from the search in the data tab and hitting "Download Files" with the default filter "*.nc" I get an internal server exception and the following exception (this does not happen at JPL which also has 1.3RC2):
Server Port: 80
Server Name: albedo2.dkrz.de
Context Path: /esgcet
URL: /esgcet/browse/downloadSearchResults.htm
Query String: regex=*.nc
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:656)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
...
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at sgf.gateway.service.metadata.impl.spring.MetadataServiceImpl.findGatewayByName(MetadataServiceImpl.java:707)
at sgf.gateway.web.controllers.browse.SearchResultsDownloadController.handleRequest(SearchResultsDownloadController.java:195)
...
This seems like a problem with the registry, I'll see what I can find.
Server Port: 80
Server Name: albedo2.dkrz.de
Context Path: /esgcet
URL: /esgcet/browse/downloadSearchResults.htm
Query String: regex=*.nc
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:656)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
...
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at sgf.gateway.service.metadata.impl.spring.MetadataServiceImpl.findGatewayByName(MetadataServiceImpl.java:707)
at sgf.gateway.web.controllers.browse.SearchResultsDownloadController.handleRequest(SearchResultsDownloadController.java:195)
...
This seems like a problem with the registry, I'll see what I can find.