Created
July 30, 2016 13:51
-
-
Save xennygrimmato/4c7ac1627368a54fcdb7ba15d373693b to your computer and use it in GitHub Desktop.
Running infer on jetty raises an error in analyze.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fatal error: exception JBasics.Class_structure_error("Illegal method index (does not refer to a constant method)") | |
Traceback (most recent call last): | |
File "/usr/local/bin/infer", line 183, in <module> | |
main() | |
File "/usr/local/bin/infer", line 147, in main | |
capture_exitcode = imported_module.gen_instance(args, cmd).capture() | |
File "/usr/local/Cellar/infer/0.8.1/libexec/infer/lib/python/inferlib/capture/mvn.py", line 82, in capture | |
return util.run_compilation_commands(cmds, clean_cmd) | |
File "/usr/local/Cellar/infer/0.8.1/libexec/infer/lib/python/inferlib/capture/util.py", line 40, in run_compilation_commands | |
if cmd.start() != os.EX_OK: | |
File "/usr/local/Cellar/infer/0.8.1/libexec/infer/lib/python/inferlib/jwlib.py", line 199, in start | |
self._run_infer_frontend() | |
File "/usr/local/Cellar/infer/0.8.1/libexec/infer/lib/python/inferlib/jwlib.py", line 266, in _run_infer_frontend | |
self.args.analyzer | |
File "/usr/local/Cellar/infer/0.8.1/libexec/infer/lib/python/inferlib/analyze.py", line 222, in run_command | |
raise e | |
subprocess.CalledProcessError: Command '[u'/usr/local/Cellar/infer/0.8.1/libexec/infer/lib/python/inferlib/../../../bin/InferJava', u'-classpath', u'/Users/vaibhavtulsyan/IdeaProjects/jetty.project/jetty-io/target/classes:/Users/vaibhavtulsyan/IdeaProjects/jetty.project/jetty-util/target/jetty-util-9.3.11-SNAPSHOT.jar:/Users/vaibhavtulsyan/IdeaProjects/jetty.project', u'-class_source_map', u'/var/folders/dp/60h271zx007cwhc4j4nf0jfr0000gn/T/classSourceMap_qmZtDm.json', u'-project_root', '/Users/vaibhavtulsyan/IdeaProjects/jetty.project', u'-results_dir', u'/Users/vaibhavtulsyan/IdeaProjects/jetty.project/infer-out', u'-verbose_out', u'/var/folders/dp/60h271zx007cwhc4j4nf0jfr0000gn/T/javac_nPDcA5.out', u'-suppress_warnings_out', u'/var/folders/dp/60h271zx007cwhc4j4nf0jfr0000gn/T/annotations_RXoNP1.out', u'-models', u'/usr/local/Cellar/infer/0.8.1/libexec/infer/lib/python/inferlib/../../../lib/java/models.jar', u'-no-static_final']' returned non-zero exit status 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment