Skip to content
This repository has been archived by the owner on Nov 13, 2018. It is now read-only.

RegionalGeoUpdater executes without configured polling URL #1147

Closed
elsloo opened this issue Mar 10, 2016 · 0 comments
Closed

RegionalGeoUpdater executes without configured polling URL #1147

elsloo opened this issue Mar 10, 2016 · 0 comments
Assignees
Milestone

Comments

@elsloo
Copy link
Contributor

elsloo commented Mar 10, 2016

The RegionalGeoUpdater service continues to execute even when the regional_geoblock.polling.url parameter is undefined/null. The exception is as follows:

INFO  2016-03-10T18:01:52.294 [pool-1-thread-1] com.comcast.cdn.traffic_control.traffic_router.core.loc.AbstractServiceUpdater - [RegionalGeoUpdater] Downloading database: null
FATAL 2016-03-10T18:01:52.303 [pool-1-thread-1] com.comcast.cdn.traffic_control.traffic_router.core.loc.AbstractServiceUpdater - Caught exception while attempting to download: null
java.net.MalformedURLException
    at java.net.URL.<init>(URL.java:620)
    at java.net.URL.<init>(URL.java:483)
    at java.net.URL.<init>(URL.java:432)
    at com.comcast.cdn.traffic_control.traffic_router.core.loc.AbstractServiceUpdater.downloadDatabase(AbstractServiceUpdater.java:305)
    at com.comcast.cdn.traffic_control.traffic_router.core.loc.AbstractServiceUpdater.updateDatabase(AbstractServiceUpdater.java:106)
    at com.comcast.cdn.traffic_control.traffic_router.core.loc.AbstractServiceUpdater$1.run(AbstractServiceUpdater.java:87)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
    at java.net.URL.<init>(URL.java:525)
    ... 12 more
@elsloo elsloo added this to the 1.5.0 milestone Mar 10, 2016
@elsloo elsloo self-assigned this Mar 10, 2016
elsloo added a commit to elsloo/traffic_control that referenced this issue Mar 11, 2016
…pdater service if the polling URL parameter is missing. This resolves Comcast#1147.
elsloo added a commit to elsloo/traffic_control that referenced this issue Mar 14, 2016
…pdater service if the polling URL parameter is missing. This resolves Comcast#1147.
elsloo added a commit to elsloo/traffic_control that referenced this issue Mar 18, 2016
…pdater service if the polling URL parameter is missing. This resolves Comcast#1147.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant