{"action":"created","issue":{"url":"https://api.github.com/repos/Hygieia/Hygieia/issues/2821","repository_url":"https://api.github.com/repos/Hygieia/Hygieia","labels_url":"https://api.github.com/repos/Hygieia/Hygieia/issues/2821/labels{/name}","comments_url":"https://api.github.com/repos/Hygieia/Hygieia/issues/2821/comments","events_url":"https://api.github.com/repos/Hygieia/Hygieia/issues/2821/events","html_url":"https://github.com/Hygieia/Hygieia/issues/2821","id":430979521,"node_id":"MDU6SXNzdWU0MzA5Nzk1MjE=","number":2821,"title":"NullPointer for Jira Collector","user":{"login":"sudhanshusr","id":10558551,"node_id":"MDQ6VXNlcjEwNTU4NTUx","avatar_url":"https://avatars1.githubusercontent.com/u/10558551?v=4","gravatar_id":"","url":"https://api.github.com/users/sudhanshusr","html_url":"https://github.com/sudhanshusr","followers_url":"https://api.github.com/users/sudhanshusr/followers","following_url":"https://api.github.com/users/sudhanshusr/following{/other_user}","gists_url":"https://api.github.com/users/sudhanshusr/gists{/gist_id}","starred_url":"https://api.github.com/users/sudhanshusr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudhanshusr/subscriptions","organizations_url":"https://api.github.com/users/sudhanshusr/orgs","repos_url":"https://api.github.com/users/sudhanshusr/repos","events_url":"https://api.github.com/users/sudhanshusr/events{/privacy}","received_events_url":"https://api.github.com/users/sudhanshusr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2019-04-09T13:50:32Z","updated_at":"2019-04-15T08:38:15Z","closed_at":null,"author_association":"NONE","body":"#application.properties for JIRA colllector\r\ndbname=dashboarddb\r\ndbhost=localhost\r\ndbport=27017\r\ndbreplicaset=false\r\ndbhostport=[host1:port1,host2:port2,host3:port3]\r\ndbusername=dashboarduser\r\ndbpassword=dbpassword\r\nlogging.file=./logs/jira.log\r\nfeature.pageSize=100\r\n\r\n# Delta change date that modulates the collector item task\r\n# Occasionally, these values should be modified if database size is a concern\r\nfeature.deltaStartDate=2016-03-01T00:00:00.000000\r\nfeature.masterStartDate=2016-03-01T00:00:00.000000\r\nfeature.deltaCollectorItemStartDate=2016-03-01T00:00:00.000000\r\n\r\n# Chron schedule: S M D M Y [Day of the Week]\r\nfeature.cron=0 * * * * *\r\n\r\n# ST Query File Details - Required, but DO NOT MODIFY\r\nfeature.queryFolder=jiraapi-queries\r\nfeature.storyQuery=story\r\nfeature.epicQuery=epic\r\n\r\n# JIRA CONNECTION DETAILS:\r\n# Enterprise Proxy - ONLY INCLUDE IF YOU HAVE A PROXY\r\n#feature.jiraProxyUrl=http://proxy.com\r\n#feature.jiraProxyPort=9000\r\nfeature.jiraBaseUrl=http://pxxxxdevkb.atlassian.net/\r\nfeature.jiraQueryEndpoint=rest/api/2/\r\n# For basic authentication, requires username:password as string in base64\r\n# This command will make this for you:  echo -n username:password | base64\r\n\r\nfeature.jiraCredentials=RWt0YV9UaGFrdXJAcGFwYWpxxxxxxxxxxxxxxxxxxxxxx\r\n\r\n\r\n# OAuth is not fully implemented; please blank-out the OAuth values:\r\n\r\n#feature.jiraOauthAuthtoken=\r\n#feature.jiraOauthRefreshtoken=\r\n#feature.jiraOauthRedirecturi=\r\n#feature.jiraOauthExpiretime=\r\n\r\n#############################################################################\r\n# In Jira, general IssueType IDs are associated to various 'issue'\r\n# attributes. However, there is one attribute which this collector's\r\n# queries rely on that change between different instantiations of Jira.\r\n# Please provide a string name reference to your instance's IssueType for\r\n# the lowest level of Issues (for example, 'user story') specific to your Jira\r\n# instance.  Note:  You can retrieve your instance's IssueType Name\r\n# listings via the following URI:  https://[your-jira-domain-name]/rest/api/2/issuetype/\r\n# Multiple comma-separated values can be specified.\r\n#############################################################################\r\nfeature.jiraIssueTypeNames=Story, Epic\r\n\r\n#############################################################################\r\n# In Jira, your instance will have its own custom field created for 'sprint' or 'timebox' details,\r\n# which includes a list of information.  This field allows you to specify that data field for your\r\n# instance of Jira. Note: You can retrieve your instance's sprint data field name\r\n# via the following URI, and look for a package name com.atlassian.greenhopper.service.sprint.Sprint;\r\n# your custom field name describes the values in this field:\r\n# https://[your-jira-domain-name]/rest/api/2/issue/[some-issue-name]\r\n#############################################################################\r\nfeature.jiraSprintDataFieldName=customfield_10016\r\n\r\n#############################################################################\r\n# In Jira, your instance will have its own custom field created for 'super story' or 'epic' back-end ID,\r\n# which includes a list of information.  This field allows you to specify that data field for your instance\r\n# of Jira.  Note:  You can retrieve your instance's epic ID field name via the following URI where your\r\n# queried user story issue has a super issue (for example, epic) tied to it; your custom field name describes the\r\n# epic value you expect to see, and is the only field that does this for a given issue:\r\n# https://[your-jira-domain-name]/rest/api/2/issue/[some-issue-name]\r\n#############################################################################\r\nfeature.jiraEpicIdFieldName=customfield_10017\r\n\r\n#############################################################################\r\n# In Jira, your instance will have its own custom field created for 'story points'\r\n# This field allows you to specify that data field for your instance\r\n# of Jira.  Note:  You can retrieve your instance's storypoints ID field name via the following URI where your\r\n# queried user story issue has story points set on it; your custom field name describes the\r\n# story points value you expect to see:\r\n# https://[your-jira-domain-name]/rest/api/2/issue/[some-issue-name]\r\n#############################################################################\r\nfeature.jiraStoryPointsFieldName=customfield_10021\r\n\r\n#############################################################################\r\n# In Jira, your instance will have its own custom field created for 'team'\r\n# This field allows you to specify that data field for your instance\r\n# of Jira.  Note:  You can retrieve your instance's team ID field name via the following URI where your\r\n# queried user story issue has team set on it; your custom field name describes the\r\n# team value you expect to see:\r\n# https://[your-jira-domain-name]/rest/api/2/issue/[some-issue-name]\r\n#############################################################################\r\n#feature.jiraTeamFieldName=\r\n\r\n#############################################################################\r\n# In Jira, your instance will have its own Id for the issueTypes. \r\n# You can retrieve the issueType IDs from the following API request:\r\n# https://[your-jira-domain-name]/rest/api/2/issuetype\r\n#############################################################################\r\nfeature.jiraStoryIds[0]=60711\r\n#feature.jiraStoryIds[1]=\r\n\r\n#############################################################################\r\n# In Jira, your instance will have its own Id for the Epic\r\n# You can find the value from the following API request:\r\n# https://[your-jira-domain-name]/rest/api/2/issuetype\r\n#############################################################################\r\n#feature.jiraEpicId=54614\r\n\r\n# Defines how to update features per board. If true then only update based on enabled collectorItems otherwise full update\r\n#feature.collectorItemOnlyUpdate=\r\n\r\n#Defines the maximum number of features allow per board. If limit is reach collection will not happen for given board\r\n#feature.maxNumberOfFeaturesPerBoard=\r\n\r\n# Set this to true if you use boards as team\r\nfeature.jiraBoardAsTeam=true\r\n\r\n\r\n\r\n\r\nError on Collector Console:\r\n\r\n2019-04-09 19:15:00,002 INFO  c.c.d.collector.CollectorTask - Running Collector: Jira\r\n2019-04-09 19:15:00,013 INFO  c.c.d.collector.CollectorTask - -----------------------------------\r\n2019-04-09 19:15:00,014 INFO  c.c.d.collector.CollectorTask - http://pjolodevkb.atlassian.net/\r\n2019-04-09 19:15:00,015 INFO  c.c.d.collector.CollectorTask - -----------------------------------\r\n2019-04-09 19:15:00,016 INFO  c.c.d.collector.FeatureCollectorTask - JIRA Collector is set to work in Board mode\r\n2019-04-09 19:15:00,017 INFO  c.c.d.collector.FeatureCollectorTask - Hours since last run = 431893. Collector is about to refresh Team/Board information\r\n2019-04-09 19:15:00,348 ERROR c.c.d.collector.FeatureCollectorTask - Failed to collect jira information\r\njava.lang.NullPointerException: null\r\n        at java.io.StringReader.<init>(Unknown Source) ~[na:1.8.0_201]\r\n        at org.json.simple.parser.JSONParser.parse(JSONParser.java:79) ~[json-simple-1.1.1.jar!/:na]\r\n        at org.json.simple.parser.JSONParser.parse(JSONParser.java:75) ~[json-simple-1.1.1.jar!/:na]\r\n        at com.capitalone.dashboard.collector.DefaultJiraClient.getBoards(DefaultJiraClient.java:168) ~[jira-feature-collector.jar!/:3.0.2-SNAPSHOT]\r\n        at com.capitalone.dashboard.collector.FeatureCollectorTask.updateTeamInformation(FeatureCollectorTask.java:170) [jira-feature-collector.jar!/:3.0.2-SNAPSHOT]\r\n        at com.capitalone.dashboard.collector.FeatureCollectorTask.collect(FeatureCollectorTask.java:137) [jira-feature-collector.jar!/:3.0.2-SNAPSHOT]\r\n        at com.capitalone.dashboard.collector.FeatureCollectorTask.collect(FeatureCollectorTask.java:46) [jira-feature-collector.jar!/:3.0.2-SNAPSHOT]\r\n        at com.capitalone.dashboard.collector.CollectorTask.run(CollectorTask.java:63) [core-3.1.1-SNAPSHOT.jar!/:3.0.2-SNAPSHOT]\r\n        at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) [spring-context-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]\r\n        at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81) [spring-context-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]\r\n        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [na:1.8.0_201]\r\n        at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.8.0_201]\r\n        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) [na:1.8.0_201]\r\n        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [na:1.8.0_201]\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_201]\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_201]\r\n        at java.lang.Thread.run(Unknown Source) [na:1.8.0_201]\r\n\r\n\r\nNote: I have tried Deleting Team, Scope, Feature Collection, Also removed the Jira entry from collector collection but issue persist. Before deleting these i was able to see my boards in UI but now nothing i can see. Its new and failing.  \r\n"},"comment":{"url":"https://api.github.com/repos/Hygieia/Hygieia/issues/comments/483160765","html_url":"https://github.com/Hygieia/Hygieia/issues/2821#issuecomment-483160765","issue_url":"https://api.github.com/repos/Hygieia/Hygieia/issues/2821","id":483160765,"node_id":"MDEyOklzc3VlQ29tbWVudDQ4MzE2MDc2NQ==","user":{"login":"sudhanshusr","id":10558551,"node_id":"MDQ6VXNlcjEwNTU4NTUx","avatar_url":"https://avatars1.githubusercontent.com/u/10558551?v=4","gravatar_id":"","url":"https://api.github.com/users/sudhanshusr","html_url":"https://github.com/sudhanshusr","followers_url":"https://api.github.com/users/sudhanshusr/followers","following_url":"https://api.github.com/users/sudhanshusr/following{/other_user}","gists_url":"https://api.github.com/users/sudhanshusr/gists{/gist_id}","starred_url":"https://api.github.com/users/sudhanshusr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudhanshusr/subscriptions","organizations_url":"https://api.github.com/users/sudhanshusr/orgs","repos_url":"https://api.github.com/users/sudhanshusr/repos","events_url":"https://api.github.com/users/sudhanshusr/events{/privacy}","received_events_url":"https://api.github.com/users/sudhanshusr/received_events","type":"User","site_admin":false},"created_at":"2019-04-15T08:38:15Z","updated_at":"2019-04-15T08:38:15Z","author_association":"NONE","body":"Added LOGGER.info for url \r\no/p: http://pxjixxxx.atlassian.net/rest/agile/1.0/board?startAt=0 \r\nVerified above URL on the browser it is returning data.\r\n\r\nAdded LOGGER.info for responseBody\r\nO/p: null\r\n\r\n"}}
{"actor":{"display_login":"sudhanshusr"}}