{"action":"created","issue":{"url":"https://api.github.com/repos/sbt/sbt/issues/653","labels_url":"https://api.github.com/repos/sbt/sbt/issues/653/labels{/name}","comments_url":"https://api.github.com/repos/sbt/sbt/issues/653/comments","events_url":"https://api.github.com/repos/sbt/sbt/issues/653/events","html_url":"https://github.com/sbt/sbt/issues/653","id":10311579,"number":653,"title":"Fork in test should handle exceptions during creation of test class","user":{"login":"ijuma","id":24747,"avatar_url":"https://avatars.githubusercontent.com/u/24747?v=3","gravatar_id":"","url":"https://api.github.com/users/ijuma","html_url":"https://github.com/ijuma","followers_url":"https://api.github.com/users/ijuma/followers","following_url":"https://api.github.com/users/ijuma/following{/other_user}","gists_url":"https://api.github.com/users/ijuma/gists{/gist_id}","starred_url":"https://api.github.com/users/ijuma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ijuma/subscriptions","organizations_url":"https://api.github.com/users/ijuma/orgs","repos_url":"https://api.github.com/users/ijuma/repos","events_url":"https://api.github.com/users/ijuma/events{/privacy}","received_events_url":"https://api.github.com/users/ijuma/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sbt/sbt/labels/Bug","name":"Bug","color":"e10c02"}],"state":"closed","locked":false,"assignee":{"login":"harrah","id":72742,"avatar_url":"https://avatars.githubusercontent.com/u/72742?v=3","gravatar_id":"","url":"https://api.github.com/users/harrah","html_url":"https://github.com/harrah","followers_url":"https://api.github.com/users/harrah/followers","following_url":"https://api.github.com/users/harrah/following{/other_user}","gists_url":"https://api.github.com/users/harrah/gists{/gist_id}","starred_url":"https://api.github.com/users/harrah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harrah/subscriptions","organizations_url":"https://api.github.com/users/harrah/orgs","repos_url":"https://api.github.com/users/harrah/repos","events_url":"https://api.github.com/users/harrah/events{/privacy}","received_events_url":"https://api.github.com/users/harrah/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/sbt/sbt/milestones/3","html_url":"https://github.com/sbt/sbt/milestones/0.12.3","labels_url":"https://api.github.com/repos/sbt/sbt/milestones/3/labels","id":240191,"number":3,"title":"0.12.3","description":"","creator":{"login":"harrah","id":72742,"avatar_url":"https://avatars.githubusercontent.com/u/72742?v=3","gravatar_id":"","url":"https://api.github.com/users/harrah","html_url":"https://github.com/harrah","followers_url":"https://api.github.com/users/harrah/followers","following_url":"https://api.github.com/users/harrah/following{/other_user}","gists_url":"https://api.github.com/users/harrah/gists{/gist_id}","starred_url":"https://api.github.com/users/harrah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harrah/subscriptions","organizations_url":"https://api.github.com/users/harrah/orgs","repos_url":"https://api.github.com/users/harrah/repos","events_url":"https://api.github.com/users/harrah/events{/privacy}","received_events_url":"https://api.github.com/users/harrah/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":18,"state":"closed","created_at":"2013-01-07T20:18:47Z","updated_at":"2013-11-20T18:45:49Z","due_on":"2013-03-04T08:00:00Z","closed_at":"2013-03-18T16:03:31Z"},"comments":28,"created_at":"2013-01-25T13:54:48Z","updated_at":"2015-05-13T00:51:47Z","closed_at":"2013-11-20T18:45:49Z","body":"We recently ran into a pretty severe issue where a ScalaTest test class was throwing a NPE during construction, which caused test execution to stop but for success to be reported. This meant that we were running 1/3 of our test suite instead of the full test suite and failures were not reported. Note that this was a multi-module build.\r\n\r\nI can provide a simple test case if that helps.\r\n\r\nThe output was:\r\n\r\n    Exception in thread \"Thread-32\" java.io.EOFException\r\n        at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2571)\r\n        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1315)\r\n        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)\r\n        at sbt.React.react(ForkTests.scala:98)\r\n        at sbt.ForkTests$$anonfun$apply$2$Acceptor$2$.run(ForkTests.scala:66)\r\n        at java.lang.Thread.run(Thread.java:722)\r\n    Exception in thread \"Thread-32\" java.io.EOFException\r\n        at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2571)\r\n        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1315)\r\n        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)\r\n        at sbt.React.react(ForkTests.scala:98)\r\n        at sbt.ForkTests$$anonfun$apply$2$Acceptor$2$.run(ForkTests.scala:66)\r\n        at java.lang.Thread.run(Thread.java:722)\r\n    [info] Passed: : Total 0, Failed 0, Errors 0, Passed 0, Skipped 0\r\n"},"comment":{"url":"https://api.github.com/repos/sbt/sbt/issues/comments/101471368","html_url":"https://github.com/sbt/sbt/issues/653#issuecomment-101471368","issue_url":"https://api.github.com/repos/sbt/sbt/issues/653","id":101471368,"user":{"login":"kapilsaini","id":6582796,"avatar_url":"https://avatars.githubusercontent.com/u/6582796?v=3","gravatar_id":"","url":"https://api.github.com/users/kapilsaini","html_url":"https://github.com/kapilsaini","followers_url":"https://api.github.com/users/kapilsaini/followers","following_url":"https://api.github.com/users/kapilsaini/following{/other_user}","gists_url":"https://api.github.com/users/kapilsaini/gists{/gist_id}","starred_url":"https://api.github.com/users/kapilsaini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kapilsaini/subscriptions","organizations_url":"https://api.github.com/users/kapilsaini/orgs","repos_url":"https://api.github.com/users/kapilsaini/repos","events_url":"https://api.github.com/users/kapilsaini/events{/privacy}","received_events_url":"https://api.github.com/users/kapilsaini/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T00:51:47Z","updated_at":"2015-05-13T00:51:47Z","body":"For me adding JVM memory options to build.sbt did the magic..somehow"}}