Closed kereid closed 9 years ago
Tried this on edge:
2015-10-07 16:04:03,748 ERROR [http-bio-8080-exec-390] [] grails.app.controllers.au.org.emii.portal.AsyncDownloadController - Problem registering new aggregator job with type 'gogoduck' and parameters: '[jobParameters:{"layerName":"acorn_hourly_avg_rot_qc_timeseries_url","emailAddress":"someone@gmail.com","geoserver":"http://geoserver-123.aodn.org.au/geoserver","subsetDescriptor":{"temporalExtent":{"start":"2010-02-23T06:30:00.000Z","end":"2010-03-11T23:30:00.000Z"},"spatialExtent":{"north":90,"south":-90,"east":180,"west":-180}}}, _dc:1444194206795, controller:asyncDownload]'
java.lang.RuntimeException: org.codehaus.groovy.grails.web.converters.exceptions.ConverterException: Error converting Bean with class net.sf.json.JSONNull
at java.lang.String.valueOf(String.java:2847)
at java.lang.StringBuilder.append(StringBuilder.java:128)
at groovyx.net.http.HTTPBuilder.doRequest(HTTPBuilder.java:493)
at groovyx.net.http.HTTPBuilder.doRequest(HTTPBuilder.java:427)
at groovyx.net.http.HTTPBuilder.request(HTTPBuilder.java:359)
at au.org.emii.portal.AsyncDownloadService.registerJob(AsyncDownloadService.groovy:19)
at au.org.emii.portal.AsyncDownloadController$_closure1.doCall(AsyncDownloadController.groovy:42)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.codehaus.groovy.grails.web.converters.exceptions.ConverterException: Error converting Bean with class net.sf.json.JSONNull
at grails.converters.JSON.value(JSON.java:202)
at grails.converters.JSON.convertAnother(JSON.java:162)
at grails.converters.JSON.value(JSON.java:202)
at grails.converters.JSON.render(JSON.java:134)
... 10 more
Caused by: java.lang.reflect.InvocationTargetException
... 14 more
Caused by: net.sf.json.JSONException: Object is null
at net.sf.json.JSONNull.isEmpty(JSONNull.java:69)
... 14 more
Not reproducing the error on localhost using production gogoduck or localhost gogoduck. The issue is visible on portal-edge however
Note the "queuePosition" = null returned from Gogoduck ??
{"queuePosition":null,"status":"IN_PROGRESS","url":"https://gogoduck.aodn.org.au/gogoduck/job/bfc73d3d"}
App version: 4.15.3 Build date: Tue Sep 29 12:17:44 AEST 2015 Build number: 20 Git ref: f5e30b566e43440ba6dc8c5632ae7ee7392ad2b6
This is the issue I saw yesterday when there were weird things going on with systest and prod.
Steps to reproduce:
Select any ncwms collection today I used ACORN Rottnest. Subset to one day. Proceed to step 3 and select download as netcdf.
What should happen:
Get a pop-up indicating where to see statues page and letting me know job has started and could take any amount of time. Then get emails regarding the downloading.
What does happen:
See this pop-up:
But then still get email for requested job and also email for success of job.