utk-se / CodeAnalytics-analyzer

Single-shot code analysis for a code repo
1 stars 0 forks source link

Java: FunctionInfo full_parameters #53

Closed robobenklein closed 4 years ago

robobenklein commented 4 years ago
[2020-08-06 07:50:24] [    INFO] [jsonresults execute_job] Beginning clone for job https://github.com/Sousa22ko/TestResidenciaNuplam.git
[2020-08-06 07:50:24] [    INFO] [api checkin] Checkin completed: analyze
[2020-08-06 07:50:24] [    INFO] [analyzer __init__] job-https%3A%2F%2Fgithub.com%2FSousa22ko%2FTestResidenciaNuplam.git/src/banco/Conta.java
[2020-08-06 07:50:24] [   ERROR] [jsonresults execute_job] Unknown exception when calling the analysis_function!
[2020-08-06 07:50:24] [   ERROR] [jsonresults start] Unknown exception: 'FunctionInfo' object has no attribute 'full_parameters'
[2020-08-06 07:50:24] [    INFO] [api checkin] Checkin completed: error
Traceback (most recent call last):
  File "/home/ca-worker/venv/bin/ca-worker", line 11, in <module>
    load_entry_point('CA-Distributor==0.1.1.dev0', 'console_scripts', 'ca-worker')()
  File "/home/ca-worker/venv/lib/python3.6/site-packages/CA_Distributor-0.1.1.dev0-py3.6.egg/cadistributor/worker/jsonresults.py", line 249, in __main__
    worker.start()
  File "/home/ca-worker/venv/lib/python3.6/site-packages/CA_Distributor-0.1.1.dev0-py3.6.egg/cadistributor/worker/jsonresults.py", line 226, in start
    raise e
  File "/home/ca-worker/venv/lib/python3.6/site-packages/CA_Distributor-0.1.1.dev0-py3.6.egg/cadistributor/worker/jsonresults.py", line 212, in start
    self.job_loop()
  File "/home/ca-worker/venv/lib/python3.6/site-packages/CA_Distributor-0.1.1.dev0-py3.6.egg/cadistributor/worker/jsonresults.py", line 200, in job_loop
    self.execute_job(repo)
  File "/home/ca-worker/venv/lib/python3.6/site-packages/CA_Distributor-0.1.1.dev0-py3.6.egg/cadistributor/worker/jsonresults.py", line 179, in execute_job
    raise e # will let the main loop report error to server
  File "/home/ca-worker/venv/lib/python3.6/site-packages/CA_Distributor-0.1.1.dev0-py3.6.egg/cadistributor/worker/jsonresults.py", line 175, in execute_job
    result = self.config['analysis']['function'](repodir)
  File "/home/ca-worker/venv/lib/python3.6/site-packages/CAanalyzer-0.0.7-py3.6.egg/caanalyzer/__main__.py", line 11, in analyze
    repo = analyzer.Repo(path, ignorefile, True)
  File "/home/ca-worker/venv/lib/python3.6/site-packages/CAanalyzer-0.0.7-py3.6.egg/caanalyzer/analyzer.py", line 231, in __init__
    file_obj = File(file_path, file_ext, tabsize)
  File "/home/ca-worker/venv/lib/python3.6/site-packages/CAanalyzer-0.0.7-py3.6.egg/caanalyzer/analyzer.py", line 800, in __init__
    for param in func.full_parameters:
AttributeError: 'FunctionInfo' object has no attribute 'full_parameters'
jball1997 commented 4 years ago

I couldn't replicate this error on that repo. Maybe try updating lizard. The newest is 1.17.4

jball1997 commented 4 years ago

image

jball1997 commented 4 years ago

Getting good data for it.