GET http://localhost:8080/api/task/type/undefined 500 ()
core.umd.js:2837 EXCEPTION: Response with status: 500 OK for URL: http://localhost:8080/api/task/type/undefined
ErrorHandler.handleError @ core.umd.js:2837
next @ core.umd.js:6423
schedulerFn @ core.umd.js:5721
SafeSubscriber.__tryOrUnsub @ Subscriber.ts:238
SafeSubscriber.next @ Subscriber.ts:190
Subscriber._next @ Subscriber.ts:135
Subscriber.next @ Subscriber.ts:95
Subject.next @ Subject.ts:61
EventEmitter.emit @ core.umd.js:5713
NgZone.triggerError @ core.umd.js:6017
onHandleError @ core.umd.js:5996
ZoneDelegate.handleError @ zone.js@0.6.23?main=browser:196
Zone.runTask @ zone.js@0.6.23?main=browser:128
ZoneTask.invoke @ zone.js@0.6.23?main=browser:293
Subscriber.ts:241 Uncaught Response {_body: "{"timestamp":1491936683888,"status":500,"error":"I…\"undefined\"","path":"/api/task/type/undefined"}", status: 500, ok: false, statusText: "OK", headers: Headers…}