{"action":"created","issue":{"url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/507","repository_url":"https://api.github.com/repos/serenity-bdd/serenity-core","labels_url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/507/labels{/name}","comments_url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/507/comments","events_url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/507/events","html_url":"https://github.com/serenity-bdd/serenity-core/issues/507","id":172872391,"number":507,"title":"() in Scenario leads to crash in result aggregation >> NullPointerException","user":{"login":"SchnuckySchuster","id":3406054,"avatar_url":"https://avatars.githubusercontent.com/u/3406054?v=3","gravatar_id":"","url":"https://api.github.com/users/SchnuckySchuster","html_url":"https://github.com/SchnuckySchuster","followers_url":"https://api.github.com/users/SchnuckySchuster/followers","following_url":"https://api.github.com/users/SchnuckySchuster/following{/other_user}","gists_url":"https://api.github.com/users/SchnuckySchuster/gists{/gist_id}","starred_url":"https://api.github.com/users/SchnuckySchuster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SchnuckySchuster/subscriptions","organizations_url":"https://api.github.com/users/SchnuckySchuster/orgs","repos_url":"https://api.github.com/users/SchnuckySchuster/repos","events_url":"https://api.github.com/users/SchnuckySchuster/events{/privacy}","received_events_url":"https://api.github.com/users/SchnuckySchuster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-24T06:13:58Z","updated_at":"2016-09-08T06:42:12Z","closed_at":null,"body":"Scenario: This () will crash the aggregation step\r\nGiven i run this scenario\r\nWhen the step aggregate runns\r\nThen I will see a crash that looks like below and no index.html is created\r\n\r\n\r\n[ERROR] -> [Help 1]\r\norg.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.18.1:integration-test (default) on project view-web-tests: Execution default of goal org.apache.maven.plugins:maven-failsafe-plugin:2.18.1:integration-test failed: There wa\r\ns an error in the forked process\r\norg.apache.maven.surefire.testset.TestSetFailedException: java.lang.NullPointerException\r\n        at org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:213)\r\n        at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:109)\r\n       at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:78)\r\n        at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)\r\n        at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:144)\r\n        at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)\r\n        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)\r\n       at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)\r\nCaused by: java.lang.NullPointerException\r\n        at org.apache.maven.surefire.junitcore.ConcurrentRunListener.testStarting(ConcurrentRunListener.java:129)\r\n        at org.apache.maven.surefire.common.junit4.JUnit4RunListener.testStarted(JUnit4RunListener.java:91)\r\n        at org.junit.runner.notification.SynchronizedRunListener.testStarted(SynchronizedRunListener.java:49)\r\n        at org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121)\r\n        at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72)\r\n        at org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118)\r\n        at org.junit.internal.runners.model.EachTestNotifier.fireTestStarted(EachTestNotifier.java:42)\r\n        at cucumber.runtime.junit.JUnitReporter.startExecutionUnit(JUnitReporter.java:50)\r\n        at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:89)\r\n        at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)\r\n        at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)\r\n        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)\r\n        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)\r\n        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)\r\n        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)\r\n        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)\r\n        at org.junit.runners.ParentRunner.run(ParentRunner.java:363)\r\n        at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)\r\n        at cucumber.api.junit.Cucumber.runChild(Cucumber.java:93)\r\n        at cucumber.api.junit.Cucumber.runChild(Cucumber.java:37)\r\n        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)\r\n        at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:387)\r\n \r\nMit besten Grüßen,\r\nGerhard Schuster\r\n \r\nRaum                 22.00.54\r\nDurchwahl       6253\r\nMobil                 0179/100633\r\n \r\nHome Shopping Europe GmbH, Sitz: Ismaning, Amtsgericht München HR B 159494, Geschäftsführer: Richard Reitzner (Vorsitzender), Ralph Brugger, Sonja Piller, Jan Schulze, Aufsichtsratsvorsitzender: Dr. Konrad Hilbers\r\nDer Inhalt dieser E-Mail oder eventueller Anhänge ist ausschließlich für den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie bitte, dass jede Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser E-Mail unzulässig ist. Wir bitten Sie, sich in diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen.\r\nThe information contained in this email is intended solely for the addressee. If you are not the intended recipient, any form of disclosure, reproduction, distribution or any action taken or re-frained from in reliance on it, is prohibited and may be unlawful. Please notify the sender immediately."},"comment":{"url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/comments/245507932","html_url":"https://github.com/serenity-bdd/serenity-core/issues/507#issuecomment-245507932","issue_url":"https://api.github.com/repos/serenity-bdd/serenity-core/issues/507","id":245507932,"user":{"login":"SchnuckySchuster","id":3406054,"avatar_url":"https://avatars.githubusercontent.com/u/3406054?v=3","gravatar_id":"","url":"https://api.github.com/users/SchnuckySchuster","html_url":"https://github.com/SchnuckySchuster","followers_url":"https://api.github.com/users/SchnuckySchuster/followers","following_url":"https://api.github.com/users/SchnuckySchuster/following{/other_user}","gists_url":"https://api.github.com/users/SchnuckySchuster/gists{/gist_id}","starred_url":"https://api.github.com/users/SchnuckySchuster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SchnuckySchuster/subscriptions","organizations_url":"https://api.github.com/users/SchnuckySchuster/orgs","repos_url":"https://api.github.com/users/SchnuckySchuster/repos","events_url":"https://api.github.com/users/SchnuckySchuster/events{/privacy}","received_events_url":"https://api.github.com/users/SchnuckySchuster/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T06:42:12Z","updated_at":"2016-09-08T06:42:12Z","body":"Hi Liviu,\n\nI'm very sure that the brackets are causing the problem.\n- I'm running with serenity version 1.1.36\n- I start the test with mvn clean verify\n- I use jdk 1.8.0_71\nWhenever I insert () into the scenario title I see the NullPointerException I've posted.\nWhenever I remove the () there is no crash.\n\nTry this here:\n\nScenario: This () will crash at result aggregation\n\nIt always crashes on my system.\n\n\nIf you still can't reproduce the issue, I would not mind if you drop it. I can live without () in the scenario title.\n\n\n\n\n\nMit besten Grüßen,\nGerhard Schuster \n\nFestnetz: \t08637/986157\nMobil: \t\t0179/1006330\n\nAm 07.09.2016 um 00:27 schrieb Liviu Carausu <notifications@github.com>:\n\nHi @SchnuckySchuster , I was not able to reproduce your problem. I have tried with a Cucumber scenario having brackets () in title. Are you sure that the brackets () are causing the problem ? Can you please try to run the scenario without the brackets ?\n\n—\nYou are receiving this because you were mentioned.\nReply to this email directly, view it on GitHub, or mute the thread.\n\n"}}
{"actor":{"display_login":"SchnuckySchuster"}}