atom usages -o app.atom -l javascript --slice-outfile usages.json . ok
2023-08-23 10:58:34.624 ERROR CpgPassBase: Pass io.appthreat.atom.passes.SafeJSTypeRecovery failed
java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
at java.util.concurrent.ForkJoinTask.reportExecutionException(ForkJoinTask.java:581) ~[?:?]
at java.util.concurrent.ForkJoinTask.get(ForkJoinTask.java:993) ~[?:?]
at io.joern.x2cpg.passes.frontend.XTypeRecovery.$anonfun$2(XTypeRecovery.scala:135) ~[io.joern.x2cpg_3-2.0.56.jar:2.0.56]
at scala.collection.Iterator$$anon$9.next(Iterator.scala:584) ~[org.scala-lang.scala-library-2.13.10.jar:?]
at scala.collection.IterableOnceOps.reduceLeft(IterableOnce.scala:764) ~[org.scala-lang.scala-library-2.13.10.jar:?]
at scala.collection.IterableOnceOps.reduceLeft$(IterableOnce.scala:753) ~[org.scala-lang.scala-library-2.13.10.jar:?]
at scala.collection.AbstractIterator.reduceLeft(Iterator.scala:1300) ~[org.scala-lang.scala-library-2.13.10.jar:?]
at scala.collection.IterableOnceOps.reduceLeftOption(IterableOnce.scala:805) ~[org.scala-lang.scala-library-2.13.10.jar:?]
at scala.collection.IterableOnceOps.reduceLeftOption$(IterableOnce.scala:805) ~[org.scala-lang.scala-library-2.13.10.jar:?]
at scala.collection.AbstractIterator.reduceLeftOption(Iterator.scala:1300) ~[org.scala-lang.scala-library-2.13.10.jar:?]
at scala.collection.IterableOnceOps.reduceOption(IterableOnce.scala:739) ~[org.scala-lang.scala-library-2.13.10.jar:?]
at scala.collection.IterableOnceOps.reduceOption$(IterableOnce.scala:739) ~[org.scala-lang.scala-library-2.13.10.jar:?]
at scala.collection.AbstractIterator.reduceOption(Iterator.scala:1300) ~[org.scala-lang.scala-library-2.13.10.jar:?]
at io.joern.x2cpg.passes.frontend.XTypeRecovery.run(XTypeRecovery.scala:136) ~[io.joern.x2cpg_3-2.0.56.jar:2.0.56]
at io.shiftleft.passes.CpgPass.runOnPart(CpgPass.scala:27) ~[io.shiftleft.codepropertygraph_3-1.4.20.jar:1.4.20]
at io.shiftleft.passes.NewStyleCpgPassBase.runWithBuilder(CpgPass.scala:134) ~[io.shiftleft.codepropertygraph_3-1.4.20.jar:1.4.20]
at io.shiftleft.passes.ForkJoinParallelCpgPass.createApplySerializeAndStore(CpgPass.scala:74) ~[io.shiftleft.codepropertygraph_3-1.4.20.jar:1.4.20]
at io.shiftleft.passes.NewStyleCpgPassBase.createAndApply(CpgPass.scala:124) ~[io.shiftleft.codepropertygraph_3-1.4.20.jar:1.4.20]
at io.joern.x2cpg.passes.frontend.XTypeRecoveryPass.run$$anonfun$2(XTypeRecovery.scala:77) ~[io.joern.x2cpg_3-2.0.56.jar:2.0.56]
at scala.runtime.java8.JFunction1$mcVI$sp.apply(JFunction1$mcVI$sp.scala:18) ~[org.scala-lang.scala-library-2.13.10.jar:?]
at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:575) ~[org.scala-lang.scala-library-2.13.10.jar:?]
at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:573) ~[org.scala-lang.scala-library-2.13.10.jar:?]
at scala.collection.AbstractIterator.foreach(Iterator.scala:1300) ~[org.scala-lang.scala-library-2.13.10.jar:?]
at io.joern.x2cpg.passes.frontend.XTypeRecoveryPass.run(XTypeRecovery.scala:77) ~[io.joern.x2cpg_3-2.0.56.jar:2.0.56]
at io.shiftleft.passes.CpgPass.runOnPart(CpgPass.scala:27) ~[io.shiftleft.codepropertygraph_3-1.4.20.jar:1.4.20]
at io.shiftleft.passes.NewStyleCpgPassBase.runWithBuilder(CpgPass.scala:134) ~[io.shiftleft.codepropertygraph_3-1.4.20.jar:1.4.20]
at io.shiftleft.passes.ForkJoinParallelCpgPass.createApplySerializeAndStore(CpgPass.scala:74) ~[io.shiftleft.codepropertygraph_3-1.4.20.jar:1.4.20]
at io.shiftleft.passes.NewStyleCpgPassBase.createAndApply(CpgPass.scala:124) ~[io.shiftleft.codepropertygraph_3-1.4.20.jar:1.4.20]
https://github.com/Vendicated/Vencord