Common Issues
This article is a collection of issues which come up frequently.
#
Dataflows are not foundDataflow queries which do not give a result are usually caused by a
forgotten call to run.ossdataflow
.
NOTE: As of Joern v1.1.299, it is no longer necessary to call
run.ossdataflow
explicitly. This is done as an automatic step during
CPG creation.
<source_path>
#
No suitable CPG generator found for: There are 3 possible explanations for this error:
<source_path>
provided is invalid:#
The Confirm that the <source_path>
provided exists. To do this, execute the following
command from the same directory from which you started Joern:
#
The language isn't supportedYou can run joern-scan --list-languages
to get a list of all the languages supported
by Joern/Ocular. If the language you're using does not appear on this list, then it
definitely isn't supported by Joern. If it does appear, then it may only be supported by
Ocular.
#
Automatic language detection failedYou can specify the lanugage to use by running
for joern-scan, or with
in the Joern console.