-
Notifications
You must be signed in to change notification settings - Fork 162
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
Nullpointer Excpetion while trying to create gspec file using new feature Spec Generator in Release 2.4 #597
Comments
Could you please provide clear steps to reproduce? Even better - could you please share the sample project? |
I would like to generate a spec file automatically using the 'Spec Generator' feature in 2.4 by passing the PageDump json file as an input. But i'm getting Null pointer exception while calling the method generateSpecSections in SpecGenerator. Please help me here. |
It is not really clear how to reproduce this issue. Could you please share the pagedump and exact command that reproduces this issue? |
Attached the pagedump json file for reference. Command that throws Nullpointer exception |
Please let me know if you need any other details |
Thanks for the sample file! I did manage to reproduce. Now all I need is to find some time and fix it. |
Thank you ishubin. May i know the issue behind this please. |
I have pushed a fix in the master branch. Tomorrow will try to make a minor release once I fix another issue. |
Hi Team,
|
Getting Nullpointer exception while calling the method generateSpecSections with PageSpecGenerationResult object as a parameter.
java.lang.NullPointerException
at com.galenframework.generator.model.GmPageSpec.lambda$null$51(GmPageSpec.java:75)
at com.galenframework.generator.PageItemNode.visitTree(PageItemNode.java:80)
at com.galenframework.generator.PageItemNode.visitTree(PageItemNode.java:82)
at com.galenframework.generator.model.GmPageSpec.lambda$create$52(GmPageSpec.java:61)
at java.util.ArrayList.forEach(Unknown Source)
at com.galenframework.generator.model.GmPageSpec.create(GmPageSpec.java:61)
at com.galenframework.generator.SpecGenerator.generateSpecSections(SpecGenerator.java:228)
The text was updated successfully, but these errors were encountered: