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

findbugs fails #12

Closed
aegis123 opened this issue Sep 28, 2015 · 3 comments
Closed

findbugs fails #12

aegis123 opened this issue Sep 28, 2015 · 3 comments

Comments

@aegis123
Copy link

I updated the plugin to 1.2.2 added findbugs config to the checks closure.

findbugs {
        skip true
        abortOnError false
        config easy()
        // directory for report files
        report new File(project.buildDir, 'reports/findbugs')
        // XML report file
        reportXML new File(project.buildDir, 'reports/findbugs/findbugs.xml')
        // HTML report file
        reportHTML new File(project.buildDir, 'reports/findbugs/findbugs.html')
}

and I get the following error

* What went wrong:
Execution failed for task ':app:androidFindbugs'.
> javax.xml.transform.TransformerException: javax.xml.transform.TransformerException:   com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Premature end of file.

Any idea how to fix this?

@igelgrun
Copy link
Member

Could you rerun it using ./gradlew clean build --stacktrace?

@aegis123
Copy link
Author

that seems to run fine, it happens when i call ./gradlew clean check

@igelgrun
Copy link
Member

fixed in 1.2.3

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

2 participants