Skip to content
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

NPE when trying task createGranularIssuesDataSets because of blank description field #167

Open
Prokhorovmax opened this issue May 17, 2021 · 0 comments

Comments

@Prokhorovmax
Copy link
Contributor

Task crashes with following error:

Exception in thread "main" java.lang.NullPointerException
	at com.koval.resolver.common.api.util.TextUtil.simplify(TextUtil.java:17)
	at com.koval.resolver.processor.issues.granular.core.GranularIssuesDataSetsCreator.create(GranularIssuesDataSetsCreator.java:65)
	at com.koval.resolver.core.Launcher.createGranularIssuesDataSets(Launcher.java:114)
	at com.koval.resolver.IResolverApplication.main(IResolverApplication.java:64)

> Task :createGranularIssuesDataSets FAILED

Happens when field description of an issue is empty.

Prokhorovmax added a commit to Prokhorovmax/iresolver that referenced this issue May 17, 2021
kovaloid pushed a commit that referenced this issue May 17, 2021
…e of blank description field fixed (#168)

* #161 Empty line at the top of Issues_DataSet.txt file removed
#167 NPE because of blank description field fixed

* passed pmd check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant