{"action":"created","issue":{"url":"https://api.github.com/repos/mucaho/jnetrobust/issues/14","repository_url":"https://api.github.com/repos/mucaho/jnetrobust","labels_url":"https://api.github.com/repos/mucaho/jnetrobust/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/mucaho/jnetrobust/issues/14/comments","events_url":"https://api.github.com/repos/mucaho/jnetrobust/issues/14/events","html_url":"https://github.com/mucaho/jnetrobust/issues/14","id":157344430,"number":14,"title":"NPE during modified unit test","user":{"login":"spyhunter99","id":1975321,"avatar_url":"https://avatars.githubusercontent.com/u/1975321?v=3","gravatar_id":"","url":"https://api.github.com/users/spyhunter99","html_url":"https://github.com/spyhunter99","followers_url":"https://api.github.com/users/spyhunter99/followers","following_url":"https://api.github.com/users/spyhunter99/following{/other_user}","gists_url":"https://api.github.com/users/spyhunter99/gists{/gist_id}","starred_url":"https://api.github.com/users/spyhunter99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyhunter99/subscriptions","organizations_url":"https://api.github.com/users/spyhunter99/orgs","repos_url":"https://api.github.com/users/spyhunter99/repos","events_url":"https://api.github.com/users/spyhunter99/events{/privacy}","received_events_url":"https://api.github.com/users/spyhunter99/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-28T15:43:28Z","updated_at":"2016-05-30T20:03:44Z","closed_at":null,"body":"````\r\n[0] 40, 60000, 0.75, 0.25, 16, 1000, true (testDelayed)(com.github.mucaho.jnetrobust.DelayedTest)  Time elapsed: 1,472.111 sec  <<< ERROR!\r\njava.lang.NullPointerException\r\n\tat com.github.mucaho.jnetrobust.controller.Controller.receive(Controller.java:92)\r\n\tat com.github.mucaho.jnetrobust.controller.Controller.receive(Controller.java:86)\r\n\tat com.github.mucaho.jnetrobust.util.TestHost.consume(TestHost.java:73)\r\n\tat com.github.mucaho.jnetrobust.util.TestHost.receive(TestHost.java:64)\r\n\tat com.github.mucaho.jnetrobust.util.TestHost.receive(TestHost.java:59)\r\n\tat com.github.mucaho.jnetrobust.DelayedTest.testDelayed(DelayedTest.java:202)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:209)\r\n\tat junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:49)\r\n\tat junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:42)\r\n\tat junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143)\r\n\tat junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:393)\r\n\tat junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:371)\r\n\tat org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)\r\n\tat org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)\r\n\tat org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)\r\n\tat org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)\r\n\tat org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)\r\n\tat org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)\r\n\tat org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)\r\n````"},"comment":{"url":"https://api.github.com/repos/mucaho/jnetrobust/issues/comments/222548032","html_url":"https://github.com/mucaho/jnetrobust/issues/14#issuecomment-222548032","issue_url":"https://api.github.com/repos/mucaho/jnetrobust/issues/14","id":222548032,"user":{"login":"mucaho","id":3935691,"avatar_url":"https://avatars.githubusercontent.com/u/3935691?v=3","gravatar_id":"","url":"https://api.github.com/users/mucaho","html_url":"https://github.com/mucaho","followers_url":"https://api.github.com/users/mucaho/followers","following_url":"https://api.github.com/users/mucaho/following{/other_user}","gists_url":"https://api.github.com/users/mucaho/gists{/gist_id}","starred_url":"https://api.github.com/users/mucaho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mucaho/subscriptions","organizations_url":"https://api.github.com/users/mucaho/orgs","repos_url":"https://api.github.com/users/mucaho/repos","events_url":"https://api.github.com/users/mucaho/events{/privacy}","received_events_url":"https://api.github.com/users/mucaho/received_events","type":"User","site_admin":false},"created_at":"2016-05-30T20:03:44Z","updated_at":"2016-05-30T20:03:44Z","body":"Thanks for testing under these extreme conditions. This has identified a bug:\r\nData that hasn't received an ACK is queued for retransmission, but is subsequently removed due to the restrictions (e.g. size and/or time limits) of the internal queue.\r\nHowever, due to the incremental nature of the implementation, the data is only removed from the queue, but not from the resulting packet that will be sent, leading to inconsistent state."}}
{"actor":{"display_login":"mucaho"}}