Traceback (most recent call last):


 "/home/ubuntu/.virtualenvs/secpy2/bin/qark", line 10, in <module>

sys.exit(cli())


 "/home/ubuntu/.virtualenvs/secpy2/local/lib/python2.7/site-packages/click/core.py", line 764, in __call__

return self.main(*args, **kwargs)


 "/home/ubuntu/.virtualenvs/secpy2/local/lib/python2.7/site-packages/click/core.py", line 717, in main

rv = self.invoke(ctx)


 "/home/ubuntu/.virtualenvs/secpy2/local/lib/python2.7/site-packages/click/core.py", line 956, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/home/ubuntu/.virtualenvs/secpy2/local/lib/python2.7/site-packages/click/core.py", line 555, in invoke

return callback(*args, **kwargs)


 "/home/ubuntu/.virtualenvs/secpy2/local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func

return f(get_current_context(), *args, **kwargs)


 "/home/ubuntu/.virtualenvs/secpy2/local/lib/python2.7/site-packages/qark/qark.py", line 90, in cli

scanner.run()


 "/home/ubuntu/.virtualenvs/secpy2/local/lib/python2.7/site-packages/qark/scanner/scanner.py", line 64, in run

self._run_checks(plugins)


 "/home/ubuntu/.virtualenvs/secpy2/local/lib/python2.7/site-packages/qark/scanner/scanner.py", line 78, in _run_checks

current_file_subject.notify(filepath)


 "/home/ubuntu/.virtualenvs/secpy2/local/lib/python2.7/site-packages/qark/scanner/scanner.py", line 125, in notify

observer.update(file_path, call_run=True)


 "/home/ubuntu/.virtualenvs/secpy2/local/lib/python2.7/site-packages/qark/scanner/plugin.py", line 239, in update

super(CoroutinePlugin, self).update(file_path)


 "/home/ubuntu/.virtualenvs/secpy2/local/lib/python2.7/site-packages/qark/scanner/plugin.py", line 185, in update

JavaASTPlugin.java_ast = javalang.parse.parse(self.file_contents)


 "/home/ubuntu/.virtualenvs/secpy2/local/lib/python2.7/site-packages/javalang/parse.py", line 52, in parse

parser = Parser(tokens)


 "/home/ubuntu/.virtualenvs/secpy2/local/lib/python2.7/site-packages/javalang/parser.py", line 95, in __init__

self.tokens = util.LookAheadListIterator(tokens)


 "/home/ubuntu/.virtualenvs/secpy2/local/lib/python2.7/site-packages/javalang/util.py", line 92, in __init__

self.list = list(iterable)


 "/home/ubuntu/.virtualenvs/secpy2/local/lib/python2.7/site-packages/javalang/tokenizer.py", line 531, in tokenize

self.read_string()


 "/home/ubuntu/.virtualenvs/secpy2/local/lib/python2.7/site-packages/javalang/tokenizer.py", line 201, in read_string

self.error('Unterminated character/string literal')


 "/home/ubuntu/.virtualenvs/secpy2/local/lib/python2.7/site-packages/javalang/tokenizer.py", line 572, in error

raise error
javalang.tokenizer.LexerError: Unterminated character/string literal at "'", line 24: /* varargs */ Http2Connection$1(Http2Connection http2Connection, String string2, Object[] arrobject, int n2, org.benf.cfr.reader.util.ConfusedCFRException: VARARGS method doesn't have an array as last arg!!


The minion function caused an exception: Traceback (most recent call last):


 "/usr/lib/python2.7/dist-packages/salt/minion.py", line 1660, in _thread_return

return_data = minion_instance.executors[fname](opts, data, func, args, kwargs)


 "/usr/lib/python2.7/dist-packages/salt/executors/direct_call.py", line 12, in execute

return func(*args, **kwargs)


 "/usr/lib/python2.7/dist-packages/salt/modules/s3.py", line 244, in head

https_enable=https_enable)


 "/usr/lib/python2.7/dist-packages/salt/utils/s3.py", line 176, in query

result = requests.request(method,

NameError: global name 'requests' is not defined
