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

NPEFix doesn't find patches outside class files #27

Open
andre15silva opened this issue Mar 1, 2021 · 0 comments
Open

NPEFix doesn't find patches outside class files #27

andre15silva opened this issue Mar 1, 2021 · 0 comments

Comments

@andre15silva
Copy link
Contributor

NPEFix isn't able to produce textual patches for NPE's that could be fixed with changes in files outside of the class files in which the error occurs.

This is can be exemplified by https://github.com/andre15silva/failingProject/tree/npefix-scope, where changes to nopol_example_12.NopolExamplePackageFile.java or nopol_example_12.NopolExampleStackFile.java could fix the respective error, but only textual patches for nopol_example_12.NopolExample.java are produced.

This behavior can be found in eclipse-repairnator/repairnator#1172 (comment), where the scope option influences what files are passed to NPEFix.

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