{"action":"created","issue":{"url":"https://api.github.com/repos/RetailMeNot/SeleniumGridScaler/issues/9","labels_url":"https://api.github.com/repos/RetailMeNot/SeleniumGridScaler/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/RetailMeNot/SeleniumGridScaler/issues/9/comments","events_url":"https://api.github.com/repos/RetailMeNot/SeleniumGridScaler/issues/9/events","html_url":"https://github.com/RetailMeNot/SeleniumGridScaler/issues/9","id":69936770,"number":9,"title":"[AutomationTestRunServlet] Error trying to start nodes: java.lang.NullPointerException","user":{"login":"dquiles","id":1631645,"avatar_url":"https://avatars.githubusercontent.com/u/1631645?v=3","gravatar_id":"","url":"https://api.github.com/users/dquiles","html_url":"https://github.com/dquiles","followers_url":"https://api.github.com/users/dquiles/followers","following_url":"https://api.github.com/users/dquiles/following{/other_user}","gists_url":"https://api.github.com/users/dquiles/gists{/gist_id}","starred_url":"https://api.github.com/users/dquiles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dquiles/subscriptions","organizations_url":"https://api.github.com/users/dquiles/orgs","repos_url":"https://api.github.com/users/dquiles/repos","events_url":"https://api.github.com/users/dquiles/events{/privacy}","received_events_url":"https://api.github.com/users/dquiles/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-21T20:01:20Z","updated_at":"2015-04-21T20:12:56Z","closed_at":null,"body":"Ive compiled the project, populated src/main/resources/aws.properties.default and startGrid with modified vars. The output shows the correct data as far as subnet, ami, security group, but I keep running into an error. Any insight would be greatly appreciated, tyia.\r\n\r\ncurl -v -L -G -d \"uuid=testRun1&threadCount=2&browser=chrome&os=linux\" http://localhost:4444/grid/admin/AutomationTestRunServlet\r\n\r\n* Hostname was NOT found in DNS cache\r\n*   Trying ::1...\r\n* Connected to localhost (::1) port 4444 (#0)\r\n> GET /grid/admin/AutomationTestRunServlet?uuid=testRun1&threadCount=2&browser=chrome&os=linux HTTP/1.1\r\n> User-Agent: curl/7.37.1\r\n> Host: localhost:4444\r\n> Accept: */*\r\n>\r\n< HTTP/1.1 500 Nodes could not be started: null\r\n< Cache-Control: must-revalidate,no-cache,no-store\r\n< Content-Type: text/html;charset=ISO-8859-1\r\n< Content-Length: 1348\r\n* Server Jetty(7.x.y-SNAPSHOT) is not blacklisted\r\n< Server: Jetty(7.x.y-SNAPSHOT)\r\n<\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html;charset=ISO-8859-1\"/>\r\n<title>Error 500 Nodes could not be started: null</title>\r\n</head>\r\n<body>\r\n<h2>HTTP ERROR: 500</h2>\r\n<p>Problem accessing /grid/admin/AutomationTestRunServlet. Reason:\r\n<pre>    Nodes could not be started: null</pre></p>\r\n<hr /><i><small>Powered by Jetty://</small></i>\r\n...snip whitespace...\r\n</body>\r\n</html>\r\n* Connection #0 to host localhost left intact\r\n\r\n\r\n./starGrid\r\n...snip...\r\nApr 21, 2015 19:49:05:907 PM - INFO  [main] [Server] jetty-7.x.y-SNAPSHOT\r\nApr 21, 2015 19:49:05:942 PM - INFO  [main] [ContextHandler] started o.s.j.s.ServletContextHandler{/,null}\r\nApr 21, 2015 19:49:05:952 PM - INFO  [main] [AbstractConnector] Started SocketConnector@0.0.0.0:4444\r\nApr 21, 2015 19:49:29:930 PM - INFO  [qtp1885828976-12] [AutomationTestRunServlet] Hub is not a dynamic hub -- termination logic will not be started\r\nApr 21, 2015 19:49:29:936 PM - INFO  [qtp1885828976-12] [AutomationTestRunServlet] Server request received.  Browser [chrome] - Requested Node Count [2] - Request UUID [testRun1]\r\nApr 21, 2015 19:49:29:940 PM - WARN  [qtp1885828976-12] [AutomationContext] Defaulting node count to 150\r\nApr 21, 2015 19:49:29:941 PM - INFO  [qtp1885828976-12] [AutomationRunContext] Returning 150 free capacity for the hub\r\nApr 21, 2015 19:49:29:947 PM - INFO  [qtp1885828976-12] [AutomationRequestMatcher] Returning 0 free slots for request Run Request - UUID: testRun1 - Thread count: 2 - Browser: chrome - OS: linux\r\nApr 21, 2015 19:49:29:948 PM - WARN  [qtp1885828976-12] [AutomationTestRunServlet] Insufficient nodes to fulfill request. New AMIs will be queued up. Requested [2] - Available [0] - Request UUID [testRun1]\r\nApr 21, 2015 19:49:29:949 PM - INFO  [qtp1885828976-12] [AutomationTestRunServlet] 2 threads requested\r\nApr 21, 2015 19:49:29:949 PM - INFO  [qtp1885828976-12] [AutomationTestRunServlet] 1 nodes will be started for run [testRun1]\r\nApr 21, 2015 19:49:29:957 PM - INFO  [qtp1885828976-12] [AwsVmManager] Setting image id: ami-xxxxxxxx\r\nApr 21, 2015 19:49:29:957 PM - INFO  [qtp1885828976-12] [AwsVmManager] Setting instance type: c3.large\r\nApr 21, 2015 19:49:29:957 PM - INFO  [qtp1885828976-12] [AwsVmManager] Setting subnet: subnet-xxxxxxxx\r\nApr 21, 2015 19:49:29:957 PM - INFO  [qtp1885828976-12] [AwsVmManager] Setting security group: sg-xxxxxxxx\r\nApr 21, 2015 19:49:29:958 PM - INFO  [qtp1885828976-12] [AwsVmManager] Setting keyname:some@key\r\nApr 21, 2015 19:49:29:958 PM - INFO  [qtp1885828976-12] [AwsVmManager] Sending run request to AWS...\r\nApr 21, 2015 19:49:29:961 PM - ERROR [qtp1885828976-12] [AutomationTestRunServlet] Error trying to start nodes: java.lang.NullPointerException\r\nApr 21, 2015 19:50:29:928 PM - INFO  [pool-2-thread-1] [AutomationRunCleanupTask] Performing cleanup on runs.\r\nApr 21, 2015 19:50:29:928 PM - WARN  [pool-2-thread-1] [AutomationRunContext] No runs found to clean up\r\nApr 21, 2015 19:50:29:929 PM - INFO  [pool-3-thread-1] [AutomationNodeCleanupTask] Performing cleanup on nodes.\r\n"},"comment":{"url":"https://api.github.com/repos/RetailMeNot/SeleniumGridScaler/issues/comments/94924057","html_url":"https://github.com/RetailMeNot/SeleniumGridScaler/issues/9#issuecomment-94924057","issue_url":"https://api.github.com/repos/RetailMeNot/SeleniumGridScaler/issues/9","id":94924057,"user":{"login":"mhardin","id":2466986,"avatar_url":"https://avatars.githubusercontent.com/u/2466986?v=3","gravatar_id":"","url":"https://api.github.com/users/mhardin","html_url":"https://github.com/mhardin","followers_url":"https://api.github.com/users/mhardin/followers","following_url":"https://api.github.com/users/mhardin/following{/other_user}","gists_url":"https://api.github.com/users/mhardin/gists{/gist_id}","starred_url":"https://api.github.com/users/mhardin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhardin/subscriptions","organizations_url":"https://api.github.com/users/mhardin/orgs","repos_url":"https://api.github.com/users/mhardin/repos","events_url":"https://api.github.com/users/mhardin/events{/privacy}","received_events_url":"https://api.github.com/users/mhardin/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T20:12:56Z","updated_at":"2015-04-21T20:12:56Z","body":"Also, I note we're not logging the exception we catch in AutomationTestRunServlet line 226.  I'm going to correct this and get a fix pushed but if you can log this exception locally and put the full stack trace here as well, that will help me figure out whats going wrong."}}