Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leandromuto/f1cac4e2544fe9411d8b5a44b3c6256a to your computer and use it in GitHub Desktop.
Save leandromuto/f1cac4e2544fe9411d8b5a44b3c6256a to your computer and use it in GitHub Desktop.
log4j:ERROR Could not read configuration file [file:/Users/leandromuto/.m2/repository/com/keyrus/carrefourAutomation/core/1.0-SNAPSHOT/core-1.0-SNAPSHOT.jar!/config/log4j.properties].
java.io.FileNotFoundException: file:/Users/leandromuto/.m2/repository/com/keyrus/carrefourAutomation/core/1.0-SNAPSHOT/core-1.0-SNAPSHOT.jar!/config/log4j.properties (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at java.io.FileInputStream.<init>(FileInputStream.java:93)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:372)
at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:403)
at com.selenium.framework.helper.LoggerHelper.getLogger(LoggerHelper.java:16)
at com.selenium.framework.helper.Generic.<clinit>(Generic.java:13)
at stepsFrontend.GoogleSearch.<init>(GoogleSearch.java:10)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at cucumber.runtime.java.DefaultJavaObjectFactory.cacheNewInstance(DefaultJavaObjectFactory.java:41)
at cucumber.runtime.java.DefaultJavaObjectFactory.getInstance(DefaultJavaObjectFactory.java:33)
at cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:38)
at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37)
at cucumber.runtime.Runtime.runStep(Runtime.java:300)
at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44)
at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39)
at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44)
at cucumber.runtime.model.CucumberFeature.run(CucumberFeature.java:165)
at cucumber.runtime.Runtime.run(Runtime.java:122)
at cucumber.api.cli.Main.run(Main.java:36)
at cucumber.api.cli.Main.main(Main.java:18)
log4j:ERROR Ignoring configuration file [file:/Users/leandromuto/.m2/repository/com/keyrus/carrefourAutomation/core/1.0-SNAPSHOT/core-1.0-SNAPSHOT.jar!/config/log4j.properties].
java.lang.NullPointerException
at com.selenium.framework.helper.Generic.getUrl(Generic.java:36)
at pagesFrontend.GoogleHomePage.openGoogle(GoogleHomePage.java:21)
at stepsFrontend.GoogleSearch.aGoogleSearchPage(GoogleSearch.java:15)
at ✽.Given A Google search page(GoogleSearch.feature:5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment