CGCL-codes / VulCNN

66 stars 14 forks source link

Step 2: Exception in thread "main" overflowdb.storage.BackwardsCompatibilityError #23

Open Ricardo1998-Xu opened 7 months ago

Ricardo1998-Xu commented 7 months ago

When generating pdgs, it doesn't generate .dot files, but folders one by one, and also generates the following error, help!

Exception in thread "main" overflowdb.storage.BackwardsCompatibilityError: storage metadata does not contain version number, this must be an old format. at overflowdb.storage.OdbStorage.verifyStorageVersion(OdbStorage.java:100) at overflowdb.storage.OdbStorage.(OdbStorage.java:62) at overflowdb.storage.OdbStorage.createWithSpecificLocation(OdbStorage.java:54) at overflowdb.Graph.(Graph.java:72) at overflowdb.Graph.open(Graph.java:53) at io.shiftleft.codepropertygraph.generated.Cpg$.withConfig(Cpg.scala:33) at io.shiftleft.codepropertygraph.Cpg$.withConfig(Cpg.scala:34) at io.shiftleft.codepropertygraph.cpgloading.CpgLoader.loadFromOverflowDb(CpgLoader.scala:83) at io.shiftleft.codepropertygraph.cpgloading.CpgLoader$.loadFromOverflowDb(CpgLoader.scala:36) at io.joern.joerncli.CpgBasedTool$.loadFromOdb(CpgBasedTool.scala:21) at io.joern.joerncli.JoernExport$.$anonfun$main$1(JoernExport.scala:66) at io.joern.joerncli.JoernExport$.$anonfun$main$1$adapted(JoernExport.scala:61) at scala.Option.foreach(Option.scala:437) at io.joern.joerncli.JoernExport$.main(JoernExport.scala:61) at io.joern.joerncli.JoernExport.main(JoernExport.scala)

Byw111 commented 3 weeks ago

请问您解决了嘛,我也遇到了这个问题

Ricardo1998-Xu commented 2 weeks ago

请问您解决了嘛,我也遇到了这个问题

还没有解决