{"action":"created","issue":{"url":"https://api.github.com/repos/ncl427/IBN-Manager/issues/1","repository_url":"https://api.github.com/repos/ncl427/IBN-Manager","labels_url":"https://api.github.com/repos/ncl427/IBN-Manager/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ncl427/IBN-Manager/issues/1/comments","events_url":"https://api.github.com/repos/ncl427/IBN-Manager/issues/1/events","html_url":"https://github.com/ncl427/IBN-Manager/issues/1","id":395468981,"node_id":"MDU6SXNzdWUzOTU0Njg5ODE=","number":1,"title":"Getting null pointer exception, when trying to create intent (Path, Slice) & Host To Host Intent","user":{"login":"arunKumaramarnath","id":31470812,"node_id":"MDQ6VXNlcjMxNDcwODEy","avatar_url":"https://avatars1.githubusercontent.com/u/31470812?v=4","gravatar_id":"","url":"https://api.github.com/users/arunKumaramarnath","html_url":"https://github.com/arunKumaramarnath","followers_url":"https://api.github.com/users/arunKumaramarnath/followers","following_url":"https://api.github.com/users/arunKumaramarnath/following{/other_user}","gists_url":"https://api.github.com/users/arunKumaramarnath/gists{/gist_id}","starred_url":"https://api.github.com/users/arunKumaramarnath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arunKumaramarnath/subscriptions","organizations_url":"https://api.github.com/users/arunKumaramarnath/orgs","repos_url":"https://api.github.com/users/arunKumaramarnath/repos","events_url":"https://api.github.com/users/arunKumaramarnath/events{/privacy}","received_events_url":"https://api.github.com/users/arunKumaramarnath/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-01-03T06:28:47Z","updated_at":"2019-01-03T06:30:30Z","closed_at":null,"author_association":"NONE","body":"Cannot invoke method getHeaders() on null object\r\n\r\nError 500: Internal Server Error\r\nURI\r\n/pointToPointIntent/save\r\nClass\r\njava.lang.NullPointerException\r\nMessage\r\nnull\r\nCaused by\r\nCannot invoke method getHeaders() on null object\r\nAround line 57 of grails-app\\controllers\\ibn\\manager\\PointToPointIntentController.groovy\r\n54:            else\r\n55:                response = clientONOS.createSlicingIntent(pointToPointIntent)\r\n56:            \r\n57:            pointToPointIntent.intentKey = response.getHeaders().getLocation().toString().split(\"/\")[response.getHeaders().getLocation().toString().split(\"/\").length-1]\r\n58:\r\n59:            pointToPointIntentService.save(pointToPointIntent)\r\n60:\r\nTrace\r\n    Line | Method\r\n->>  211 | invoke           in org.grails.core.DefaultGrailsControllerClass$ReflectionInvoker\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \r\n|    188 | invoke           in org.grails.core.DefaultGrailsControllerClass\r\n|     90 | handle . . . . . in org.grails.web.mapping.mvc.UrlMappingsInfoHandlerAdapter\r\n|    967 | doDispatch       in org.springframework.web.servlet.DispatcherServlet\r\n|    901 | doService . . .  in     ''\r\n|    970 | processRequest   in org.springframework.web.servlet.FrameworkServlet\r\n|    872 | doPost . . . . . in     ''\r\n|    846 | service          in     ''\r\n|     55 | doFilterInternal in org.springframework.boot.web.filter.ApplicationContextHeaderFilter\r\n|     77 | doFilterInternal in org.grails.web.servlet.mvc.GrailsWebRequestFilter\r\n|     67 | doFilterInternal in org.grails.web.filters.HiddenHttpMethodFilter\r\n|   1149 | runWorker        in java.util.concurrent.ThreadPoolExecutor\r\n|    624 | run . . . . . .  in java.util.concurrent.ThreadPoolExecutor$Worker\r\n^    748 | run              in java.lang.Thread\r\n\r\nCaused by NullPointerException: Cannot invoke method getHeaders() on null object\r\n->>   57 | save             in PointToPointIntentController.groovy\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \r\n|    211 | invoke           in org.grails.core.DefaultGrailsControllerClass$ReflectionInvoker\r\n|    188 | invoke . . . . . in org.grails.core.DefaultGrailsControllerClass\r\n|     90 | handle           in org.grails.web.mapping.mvc.UrlMappingsInfoHandlerAdapter\r\n|    967 | doDispatch . . . in org.springframework.web.servlet.DispatcherServlet\r\n|    901 | doService        in     ''\r\n|    970 | processRequest . in org.springframework.web.servlet.FrameworkServlet\r\n|    872 | doPost           in     ''\r\n|    846 | service . . . .  in     ''\r\n|     55 | doFilterInternal in org.springframework.boot.web.filter.ApplicationContextHeaderFilter\r\n|     77 | doFilterInternal in org.grails.web.servlet.mvc.GrailsWebRequestFilter\r\n|     67 | doFilterInternal in org.grails.web.filters.HiddenHttpMethodFilter\r\n|   1149 | runWorker . . .  in java.util.concurrent.ThreadPoolExecutor\r\n|    624 | run              in java.util.concurrent.ThreadPoolExecutor$Worker\r\n^    748 | run . . . . . .  in java.lang.Thread"},"comment":{"url":"https://api.github.com/repos/ncl427/IBN-Manager/issues/comments/451064577","html_url":"https://github.com/ncl427/IBN-Manager/issues/1#issuecomment-451064577","issue_url":"https://api.github.com/repos/ncl427/IBN-Manager/issues/1","id":451064577,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTA2NDU3Nw==","user":{"login":"arunKumaramarnath","id":31470812,"node_id":"MDQ6VXNlcjMxNDcwODEy","avatar_url":"https://avatars1.githubusercontent.com/u/31470812?v=4","gravatar_id":"","url":"https://api.github.com/users/arunKumaramarnath","html_url":"https://github.com/arunKumaramarnath","followers_url":"https://api.github.com/users/arunKumaramarnath/followers","following_url":"https://api.github.com/users/arunKumaramarnath/following{/other_user}","gists_url":"https://api.github.com/users/arunKumaramarnath/gists{/gist_id}","starred_url":"https://api.github.com/users/arunKumaramarnath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arunKumaramarnath/subscriptions","organizations_url":"https://api.github.com/users/arunKumaramarnath/orgs","repos_url":"https://api.github.com/users/arunKumaramarnath/repos","events_url":"https://api.github.com/users/arunKumaramarnath/events{/privacy}","received_events_url":"https://api.github.com/users/arunKumaramarnath/received_events","type":"User","site_admin":false},"created_at":"2019-01-03T06:30:30Z","updated_at":"2019-01-03T06:30:30Z","author_association":"NONE","body":"![create_hosttohost_error](https://user-images.githubusercontent.com/31470812/50625591-22ab5e80-0f4f-11e9-84cd-8fc6ea16a4cf.PNG)\r\n"}}
{"actor":{"display_login":"arunKumaramarnath"}}