-
-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zerocode JavaNullPointerException #582
Comments
Can i work on it? |
As in? Do you want access to the git repo? |
As in im new to open source, and I want to contribute. tell me what can i
do.
…On Thu, 6 Jul 2023 at 16:04, Haripriya Kulkarni ***@***.***> wrote:
Can i work on it?
As in? Do you want access to the git repo?
—
Reply to this email directly, view it on GitHub
<#582 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQI43UBP7HS53MT722UMWB3XO2IFBANCNFSM6AAAAAAZ7H4FGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Yes or maybe to just part of the repo to reproduce this issue like get_screening_details_by_custid.json, src/test/resources/contact_host.properties and info about project structure. Ofc with removed sensitive business data like passwords, api tokens and so on. Please also share data about your project environment: jdk and maven/gradle versions. |
Hello @hpkoolkarni , You can clone HelloWorld repo and run the ready-made tests from your laptop/PC and observe where things going wrong in your custom setup. Link: Give it a try and see if you are still facing the issues. |
build itself is failing in that repo |
That sounds wierd. That repo is used by many developers and testers to set up. Not sure what's going wrong at your end :-( Is it possible to share a screen record link of how/what you are doing to run the tests, so that we can have a look at? |
I am executing a normal unit test using zerocode-tdd version 1.3.34 and junit4 and STS as IDE in corporate settings
and I am stuck with an error: 0;39mjava.lang.NullPointerException ERROR org.jsmart.zerocode.core.runner.ZeroCodeMultiStepsScenarioRunnerImpl - 34m###Exception while executing a step in the zerocode dsl.
This is my code :
package com.contact;
import org.jsmart.zerocode.core.domain.Scenario;
import org.jsmart.zerocode.core.domain.TargetEnv;
import org.jsmart.zerocode.core.runner.ZeroCodeUnitRunner;
import org.junit.Test;
import org.junit.runner.RunWith;
@TargetEnv("src/test/resources/contact_host.properties")
@RunWith(ZeroCodeUnitRunner.class)
public class GetContact {
}
The test is returning the get response of the api but this error is also there and in Expected Response also I am getting {Oops! Not decided. Possible due to non JSON content was encountered. See log for details.}
The text was updated successfully, but these errors were encountered: