Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Exceptions with flask-webgoat notebook #18

Open
prabhu opened this issue Jun 2, 2023 · 0 comments
Open

Exceptions with flask-webgoat notebook #18

prabhu opened this issue Jun 2, 2023 · 0 comments

Comments

@prabhu
Copy link
Contributor

prabhu commented Jun 2, 2023

Seeing many exceptions like below for python

joern-lib-joern-1     | Connection closed.
joern-lib-joern-1     | 2023-06-02 20:08:58.189 ERROR LocationCreator$: Cannot determine location for METHOD_REF due to broken CPG
joern-lib-joern-1     | java.util.NoSuchElementException: next on empty iterator
joern-lib-joern-1     | 	at scala.collection.Iterator$$anon$19.next(Iterator.scala:966) ~[org.scala-lang.scala-library-2.13.8.jar:?]
joern-lib-joern-1     | 	at scala.collection.Iterator$$anon$19.next(Iterator.scala:964) ~[org.scala-lang.scala-library-2.13.8.jar:?]
joern-lib-joern-1     | 	at scala.collection.Iterator$$anon$7.next(Iterator.scala:528) ~[org.scala-lang.scala-library-2.13.8.jar:?]
joern-lib-joern-1     | 	at overflowdb.traversal.Traversal.next(Traversal.scala:22) ~[io.shiftleft.overflowdb-traversal_2.13-1.171.jar:1.171]
joern-lib-joern-1     | 	at io.shiftleft.semanticcpg.language.nodemethods.MethodRefMethods$.location$extension(MethodRefMethods.scala:14) ~[io.joern.semanticcpg-1.1.1742.jar:1.1.1742]
joern-lib-joern-1     | 	at io.shiftleft.semanticcpg.language.nodemethods.MethodRefMethods.location(MethodRefMethods.scala:9) ~[io.joern.semanticcpg-1.1.1742.jar:1.1.1742]
joern-lib-joern-1     | 	at io.shiftleft.semanticcpg.language.LocationCreator$.location(LocationCreator.scala:27) ~[io.joern.semanticcpg-1.1.1742.jar:1.1.1742]
joern-lib-joern-1     | 	at io.shiftleft.semanticcpg.language.LocationCreator$.apply(LocationCreator.scala:17) ~[io.joern.semanticcpg-1.1.1742.jar:1.1.1742]
joern-lib-joern-1     | 	at io.shiftleft.semanticcpg.language.nodemethods.NodeMethods$.location$extension(NodeMethods.scala:12) ~[io.joern.semanticcpg-1.1.1742.jar:1.1.1742]
joern-lib-joern-1     | 	at io.shiftleft.semanticcpg.language.NodeSteps$.$anonfun$location$1(NodeSteps.scala:49) ~[io.joern.semanticcpg-1.1.1742.jar:1.1.1742]
joern-lib-joern-1     | 	at scala.collection.Iterator$$anon$9.next(Iterator.scala:577) ~[org.scala-lang.scala-library-2.13.8.jar:?]
joern-lib-joern-1     | 	at scala.collection.immutable.List.prependedAll(List.scala:153) ~[org.scala-lang.scala-library-2.13.8.jar:?]
joern-lib-joern-1     | 	at scala.collection.IterableOnceOps.toList(IterableOnce.scala:1251) ~[org.scala-lang.scala-library-2.13.8.jar:?]
joern-lib-joern-1     | 	at scala.collection.IterableOnceOps.toList$(IterableOnce.scala:1251) ~[org.scala-lang.scala-library-2.13.8.jar:?]
joern-lib-joern-1     | 	at overflowdb.traversal.Traversal.toList(Traversal.scala:16) ~[io.shiftleft.overflowdb-traversal_2.13-1.171.jar:1.171]
joern-lib-joern-1     | 	at io.shiftleft.semanticcpg.language.Steps$.toJson$extension(Steps.scala:67) ~[io.joern.semanticcpg-1.1.1742.jar:1.1.1742]
joern-lib-joern-1     | 	at io.shiftleft.semanticcpg.language.Steps$.toJsonPretty$extension(Steps.scala:62) ~[io.joern.semanticcpg-1.1.1742.jar:1.1.1742]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant