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

Non-empty changes causes "Analysis error File not found" for a Maven project #86

Open
dmikurube opened this issue Apr 29, 2015 · 2 comments

Comments

@dmikurube
Copy link

I always see "Analysis error File not found" errors for a Maven project.

#69 looks like a similar issue, but the project is not empty. It includes .java files, but FindBugs doesn't find the files.

Have you ever seen similar issues?

(Some names are replaced with common names in the following error example.)

18:06:27.590 [main] INFO  p.t.s.c.ConfigurationHolder - Initializing configuration properties from file /home/bamboo/opt/sputnik-1.4.0/sputnik.conf
29-Apr-2015 18:06:28    18:06:28.403 [main] INFO  p.t.s.connector.http.HttpConnector - Request  1: GET to https://somewhere.localhost:443/a/changes/194/revisions/foo/files/?
29-Apr-2015 18:06:28    18:06:28.763 [main] ERROR o.a.http.impl.auth.HttpAuthenticator - DIGEST [complete=false, nonce=null, nc=0] authentication error: missing realm in challenge
29-Apr-2015 18:06:28    18:06:28.823 [main] INFO  p.t.s.connector.http.HttpConnector - Response 1: HTTP/1.1 200 OK
29-Apr-2015 18:06:28    18:06:28.831 [main] INFO  p.t.s.connector.http.HttpConnector - Entity 1: )]}'
29-Apr-2015 18:06:28    {
29-Apr-2015 18:06:28      "/COMMIT_MSG": {
29-Apr-2015 18:06:28        "status": "A",
29-Apr-2015 18:06:28        "lines_inserted": 9
29-Apr-2015 18:06:28      },
29-Apr-2015 18:06:28      "subdir/pom.xml": {
29-Apr-2015 18:06:28        "lines_inserted": 15,
29-Apr-2015 18:06:28        "lines_deleted": 1
29-Apr-2015 18:06:28      },
29-Apr-2015 18:06:28      "subdir/src/main/java/com/company/api/posts/ThingBody.java": {
29-Apr-2015 18:06:28        "lines_inserted": 69
29-Apr-2015 18:06:28      },
29-Apr-2015 18:06:28      "subdir/src/main/java/com/company/api/posts/interfaces/ThingBodyInterface.java": {
29-Apr-2015 18:06:28        "lines_inserted": 26,
29-Apr-2015 18:06:28        "lines_deleted": 1
29-Apr-2015 18:06:28      },
29-Apr-2015 18:06:28      "subdir/src/test/java/com/company/api/posts/ThingBodyTest.java": {
29-Apr-2015 18:06:28        "lines_inserted": 33,
29-Apr-2015 18:06:28        "lines_deleted": 6
29-Apr-2015 18:06:28      }
29-Apr-2015 18:06:28    }
29-Apr-2015 18:06:28    
29-Apr-2015 18:06:28    18:06:28.926 [main] INFO  pl.touk.sputnik.engine.ReviewRunner - Review started for processor FindBugs
29-Apr-2015 18:06:31    18:06:31.511 [main] INFO  p.t.s.r.filter.FileExtensionFilter - Filtering out review files with allowed extensions [java]
29-Apr-2015 18:06:31    18:06:31.512 [main] INFO  p.t.s.r.filter.FileExtensionFilter - File subdir/pom.xml was filtered out due to not allowed extension xml
29-Apr-2015 18:06:31    18:06:31.513 [main] INFO  p.t.s.r.filter.FileExtensionFilter - Total 3 of 4 files had allowed extensions [java]
29-Apr-2015 18:06:31    18:06:31.514 [main] INFO  p.t.s.p.findbugs.FindBugsProcessor - Using FindBugs include filter file 
29-Apr-2015 18:06:31    18:06:31.515 [main] INFO  p.t.s.p.findbugs.FindBugsProcessor - Using FindBugs exclude filter file 
29-Apr-2015 18:06:31    18:06:31.918 [main] WARN  p.t.s.p.f.CollectorBugReporter - Analysis error File not found: filesystem:/home/bamboo/bamboo/xml-data/build-dir/API-GERRIT-JOB1/subdir/target/test-classes
29-Apr-2015 18:06:31    18:06:31.919 [main] WARN  p.t.s.p.f.CollectorBugReporter - Analysis error File not found: filesystem:/home/bamboo/bamboo/xml-data/build-dir/API-GERRIT-JOB1/subdir/target/classes
29-Apr-2015 18:06:31    18:06:31.919 [main] WARN  p.t.s.p.f.CollectorBugReporter - Analysis error File not found: filesystem:/home/bamboo/bamboo/xml-data/build-dir/API-GERRIT-JOB1/subdir/pom.xmljava
29-Apr-2015 18:06:31    18:06:31.924 [main] ERROR p.t.s.p.findbugs.FindBugsProcessor - FindBugs processing error
29-Apr-2015 18:06:31    java.io.IOException: No files to analyze could be opened
@dmikurube
Copy link
Author

Updated the issue with quoting syntax.

@SpOOnman
Copy link
Collaborator

Does this file exist on your system?:

Analysis error File not found: filesystem:/home/bamboo/bamboo/xml-data/build-dir/API-GERRIT-JOB1/subdir/target/test-classes

Maybe you need an asterisk at the end? I am not sure about filesystem: prefix either, is it your configuration or FindBugs'?

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