Open Liyw979 opened 11 months ago
please share the 'caused by' part of the Stacktrace as well.
Caused by: java.lang.IllegalStateException: visualize invalid StmtGraph: http://magjac.com/graphviz-visual-editor/?dot=digraph+G+%7B%0A%09compound%3Dtrue%0A%09labelloc%3Db%0A%09style%3Dfilled%0A%09color%3Dgray90%0A%09node+%5Bshape%3Dbox%2Cstyle%3Dfilled%2Ccolor%3Dwhite%5D%0A%09edge+%5Bfontsize%3D10%2Carrowsize%3D1.5%2Cfontcolor%3Dgrey40%5D%0A%09fontsize%3D10%0A%0A%2F%2F++lines+%5B115%3A+115%5D+%0A%09subgraph+cluster_423733503+%7B+%0A%09%09label+%3D+%22Block+%231%22%0A%09%091262408432%5Blabel%3D%22this+%3A%3D+%40this%3A+org.apache.activemq.util.LockFile%22%2Cshape%3DMdiamond%2Ccolor%3Dgrey50%2Cfillcolor%3Dwhite%5D%0A%09%09948115224%5Blabel%3D%22%24stack3+%3D+%26lt%3Borg.apache.activemq.util.LockFile%3A+boolean+DISABLE_FILE_LOCK%26gt%3B%22%5D%0A%09%09909282611%5Blabel%3D%22if+%24stack3+%3D%3D+0%22%5D%0A%0A%09%091262408432+-%3E+948115224+-%3E+909282611%0A%09%7D%0A%09909282611%3As+-%3E+739333799%3An%5Blabel%3D%22false%22%5D%0A%09909282611%3As+-%3E+1233308726%3An%5Blabel%3D%22true%22%5D%0A%0A%2F%2F++lines+%5B116%3A+116%5D+%0A%09subgraph+cluster_872306601+%7B+%0A%09%09label+%3D+%22Block+%232%22%0A%09%09739333799%5Blabel%3D%22return%22%2Cshape%3DMdiamond%2Ccolor%3Dgrey50%2Cfillcolor%3Dwhite%5D%0A%09%7D%0A%0A%2F%2F++lines+%5B119%3A+120%5D+%0A%09subgraph+cluster_1763260873+%7B+%0A%09%09label+%3D+%22Block+%233%22%0A%09%091233308726%5Blabel%3D%22%24stack4+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+int+lockCounter%26gt%3B%22%5D%0A%09%091327234595%5Blabel%3D%22%24stack5+%3D+%24stack4+-+1%22%5D%0A%09%09236567414%5Blabel%3D%22this.%26lt%3Borg.apache.activemq.util.LockFile%3A+int+lockCounter%26gt%3B+%3D+%24stack5%22%5D%0A%09%091361393151%5Blabel%3D%22%24stack6+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+int+lockCounter%26gt%3B%22%5D%0A%09%091558763625%5Blabel%3D%22if+%24stack6+%3D%3D+0%22%5D%0A%0A%09%091233308726+-%3E+1327234595+-%3E+236567414+-%3E+1361393151+-%3E+1558763625%0A%09%7D%0A%091558763625%3As+-%3E+1901238627%3An%5Blabel%3D%22false%22%5D%0A%091558763625%3As+-%3E+573136580%3An%5Blabel%3D%22true%22%5D%0A%0A%2F%2F++lines+%5B121%3A+121%5D+%0A%09subgraph+cluster_1638435724+%7B+%0A%09%09label+%3D+%22Block+%234%22%0A%09%091901238627%5Blabel%3D%22return%22%2Cshape%3DMdiamond%2Ccolor%3Dgrey50%2Cfillcolor%3Dwhite%5D%0A%09%7D%0A%0A%2F%2F++lines+%5B125%3A+125%5D+%0A%09subgraph+cluster_1524305331+%7B+%0A%09%09label+%3D+%22Block+%235%22%0A%09%09573136580%5Blabel%3D%22%24stack7+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+java.nio.channels.FileLock+lock%26gt%3B%22%5D%0A%09%09950698351%5Blabel%3D%22if+%24stack7+%3D%3D+null%22%5D%0A%0A%09%09573136580+-%3E+950698351%0A%09%7D%0A%09950698351%3As+-%3E+1561502550%3An%5Blabel%3D%22false%22%5D%0A%09950698351%3As+-%3E+443942537%3An%5Blabel%3D%22true%22%5D%0A%0A%2F%2F++lines+%5B127%3A+127%5D+%0A%09subgraph+cluster_1059524106+%7B+%0A%09%09label+%3D+%22Block+%236%22%0A%09%091561502550%5Blabel%3D%22%24stack11+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+java.nio.channels.FileLock+lock%26gt%3B%22%5D%0A%09%091104422581%5Blabel%3D%22virtualinvoke+%24stack11.%26lt%3Bjava.nio.channels.FileLock%3A+void+release%28%29%26gt%3B%28%29%22%5D%0A%0A%09%091561502550+-%3E+1104422581%0A%09%7D%0A%091104422581%3As+-%3E+323823279%3An%0A%09%2F%2Fexceptional+edges+%0A%091104422581%3Ae+-%3E+1722570594%3An+%5Blabel%3D%22%09java.lang.Throwable%22color%3Dred%2Cltail%3D%22cluster_1059524106%22%5D%0A%0A%2F%2F++lines+%5B130%3A+130%5D+%0A%09subgraph+cluster_1789110533+%7B+%0A%09%09label+%3D+%22Block+%237%22%0A%09%09323823279%5Blabel%3D%22%24stack12+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+java.lang.String+lockSystemPropertyName%26gt%3B%22%5D%0A%09%091415630650%5Blabel%3D%22if+%24stack12+%3D%3D+null%22%5D%0A%0A%09%09323823279+-%3E+1415630650%0A%09%7D%0A%091415630650%3As+-%3E+843710487%3An%5Blabel%3D%22false%22%5D%0A%091415630650%3As+-%3E+608519258%3An%5Blabel%3D%22true%22%5D%0A%0A%2F%2F++lines+%5B131%3A+131%5D+%0A%09subgraph+cluster_1636291061+%7B+%0A%09%09label+%3D+%22Block+%238%22%0A%09%09843710487%5Blabel%3D%22%24stack14+%3D+staticinvoke+%26lt%3Bjava.lang.System%3A+java.util.Properties+getProperties%28%29%26gt%3B%28%29%22%5D%0A%09%09397071633%5Blabel%3D%22%24stack13+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+java.lang.String+lockSystemPropertyName%26gt%3B%22%5D%0A%09%091216198248%5Blabel%3D%22virtualinvoke+%24stack14.%26lt%3Bjava.util.Properties%3A+java.lang.Object+remove%28java.lang.Object%29%26gt%3B%28%24stack13%29%22%5D%0A%0A%09%09843710487+-%3E+397071633+-%3E+1216198248%0A%09%7D%0A%091216198248%3As+-%3E+608519258%3An%0A%0A%2F%2F++lines+%5B133%3A+134%5D+%0A%09subgraph+cluster_1963075870+%7B+%0A%09%09label+%3D+%22Block+%239%22%0A%09%09608519258%5Blabel%3D%22this.%26lt%3Borg.apache.activemq.util.LockFile%3A+java.nio.channels.FileLock+lock%26gt%3B+%3D+null%22%5D%0A%09%09836427078%5Blabel%3D%22goto%22%5D%0A%0A%09%09608519258+-%3E+836427078%0A%09%7D%0A%09836427078%3As+-%3E+443942537%3An%0A%0A%2F%2F++lines+%5B-1%3A+130%5D+%0A%09subgraph+cluster_337799666+%7B+%0A%09%09label+%3D+%22Block+%2310%22%0A%09%091722570594%5Blabel%3D%22%24stack19+%3A%3D+%40caughtexception%22%5D%0A%09%091184124073%5Blabel%3D%22l1+%3D+%24stack19%22%5D%0A%09%09582666172%5Blabel%3D%22%24stack20+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+java.lang.String+lockSystemPropertyName%26gt%3B%22%5D%0A%09%09962944318%5Blabel%3D%22if+%24stack20+%3D%3D+null%22%5D%0A%0A%09%091722570594+-%3E+1184124073+-%3E+582666172+-%3E+962944318%0A%09%7D%0A%09962944318%3As+-%3E+1668910247%3An%5Blabel%3D%22false%22%5D%0A%09962944318%3As+-%3E+579294521%3An%5Blabel%3D%22true%22%5D%0A%0A%2F%2F++lines+%5B131%3A+131%5D+%0A%09subgraph+cluster_1175631958+%7B+%0A%09%09label+%3D+%22Block+%2311%22%0A%09%091668910247%5Blabel%3D%22%24stack22+%3D+staticinvoke+%26lt%3Bjava.lang.System%3A+java.util.Properties+getProperties%28%29%26gt%3B%28%29%22%5D%0A%09%092043106095%5Blabel%3D%22%24stack21+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+java.lang.String+lockSystemPropertyName%26gt%3B%22%5D%0A%09%09709133385%5Blabel%3D%22virtualinvoke+%24stack22.%26lt%3Bjava.util.Properties%3A+java.lang.Object+remove%28java.lang.Object%29%26gt%3B%28%24stack21%29%22%5D%0A%0A%09%091668910247+-%3E+2043106095+-%3E+709133385%0A%09%7D%0A%09709133385%3As+-%3E+579294521%3An%0A%0A%2F%2F++lines+%5B133%3A+134%5D+%0A%09subgraph+cluster_1450500594+%7B+%0A%09%09label+%3D+%22Block+%2312%22%0A%09%09579294521%5Blabel%3D%22this.%26lt%3Borg.apache.activemq.util.LockFile%3A+java.nio.channels.FileLock+lock%26gt%3B+%3D+null%22%5D%0A%09%091812831622%5Blabel%3D%22goto%22%5D%0A%0A%09%09579294521+-%3E+1812831622%0A%09%7D%0A%091812831622%3As+-%3E+443942537%3An%0A%0A%2F%2F++lines+%5B136%3A+138%5D+%0A%09subgraph+cluster_1916904573+%7B+%0A%09%09label+%3D+%22Block+%2313%22%0A%09%09443942537%5Blabel%3D%22virtualinvoke+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+void+closeReadFile%28%29%26gt%3B%28%29%22%5D%0A%09%09317562294%5Blabel%3D%22%24stack8+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+boolean+locked%26gt%3B%22%5D%0A%09%091686934746%5Blabel%3D%22if+%24stack8+%3D%3D+0%22%5D%0A%0A%09%09443942537+-%3E+317562294+-%3E+1686934746%0A%09%7D%0A%091686934746%3As+-%3E+1341404543%3An%5Blabel%3D%22false%22%5D%0A%091686934746%3As+-%3E+1429351083%3An%5Blabel%3D%22true%22%5D%0A%0A%2F%2F++lines+%5B138%3A+138%5D+%0A%09subgraph+cluster_1238080693+%7B+%0A%09%09label+%3D+%22Block+%2314%22%0A%09%091341404543%5Blabel%3D%22%24stack9+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+boolean+deleteOnUnlock%26gt%3B%22%5D%0A%09%09438314766%5Blabel%3D%22if+%24stack9+%3D%3D+0%22%5D%0A%0A%09%091341404543+-%3E+438314766%0A%09%7D%0A%09438314766%3As+-%3E+1174248013%3An%5Blabel%3D%22false%22%5D%0A%09438314766%3As+-%3E+1429351083%3An%5Blabel%3D%22true%22%5D%0A%0A%2F%2F++lines+%5B139%3A+139%5D+%0A%09subgraph+cluster_1346799731+%7B+%0A%09%09label+%3D+%22Block+%2315%22%0A%09%091174248013%5Blabel%3D%22%24stack10+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+java.io.File+file%26gt%3B%22%5D%0A%09%09342198178%5Blabel%3D%22virtualinvoke+%24stack10.%26lt%3Bjava.io.File%3A+boolean+delete%28%29%26gt%3B%28%29%22%5D%0A%0A%09%091174248013+-%3E+342198178%0A%09%7D%0A%09342198178%3As+-%3E+1429351083%3An%0A%0A%2F%2F++lines+%5B141%3A+141%5D+%0A%09subgraph+cluster_726408598+%7B+%0A%09%09label+%3D+%22Block+%2316%22%0A%09%091429351083%5Blabel%3D%22return%22%2Cshape%3DMdiamond%2Ccolor%3Dgrey50%2Cfillcolor%3Dwhite%5D%0A%09%7D%0A%0A%2F%2F++lines+%5B-1%3A+130%5D+%0A%09subgraph+cluster_854733477+%7B+%0A%09%09label+%3D+%22Block+%2317%22%0A%09%092038232668%5Blabel%3D%22%24stack15+%3A%3D+%40caughtexception%22%5D%0A%09%091140338296%5Blabel%3D%22l2+%3D+%24stack15%22%5D%0A%09%0915024899%5Blabel%3D%22%24stack16+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+java.lang.String+lockSystemPropertyName%26gt%3B%22%5D%0A%09%091808432653%5Blabel%3D%22if+%24stack16+%3D%3D+null%22%5D%0A%0A%09%092038232668+-%3E+1140338296+-%3E+15024899+-%3E+1808432653%0A%09%7D%0A%091808432653%3As+-%3E+244185498%3An%5Blabel%3D%22false%22%5D%0A%091808432653%3As+-%3E+792782299%3An%5Blabel%3D%22true%22%5D%0A%0A%2F%2F++lines+%5B131%3A+131%5D+%0A%09subgraph+cluster_768185844+%7B+%0A%09%09label+%3D+%22Block+%2318%22%0A%09%09244185498%5Blabel%3D%22%24stack18+%3D+staticinvoke+%26lt%3Bjava.lang.System%3A+java.util.Properties+getProperties%28%29%26gt%3B%28%29%22%5D%0A%09%091689730682%5Blabel%3D%22%24stack17+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+java.lang.String+lockSystemPropertyName%26gt%3B%22%5D%0A%09%0987060781%5Blabel%3D%22virtualinvoke+%24stack18.%26lt%3Bjava.util.Properties%3A+java.lang.Object+remove%28java.lang.Object%29%26gt%3B%28%24stack17%29%22%5D%0A%0A%09%09244185498+-%3E+1689730682+-%3E+87060781%0A%09%7D%0A%0987060781%3As+-%3E+792782299%3An%0A%0A%2F%2F++lines+%5B133%3A+134%5D+%0A%09subgraph+cluster_85415531+%7B+%0A%09%09label+%3D+%22Block+%2319%22%0A%09%09792782299%5Blabel%3D%22this.%26lt%3Borg.apache.activemq.util.LockFile%3A+java.nio.channels.FileLock+lock%26gt%3B+%3D+null%22%5D%0A%09%09771105389%5Blabel%3D%22throw+l2%22%2Cshape%3DMdiamond%2Ccolor%3Dgrey50%2Cfillcolor%3Dwhite%5D%0A%0A%09%09792782299+-%3E+771105389%0A%09%7D%0A%0A%7D
at sootup.core.graph.StmtGraph.validateStmtConnectionsInGraph(StmtGraph.java:244)
at sootup.core.model.Body$BodyBuilder.build(Body.java:496)
... 6 more
The url is too long and stacktrace are hidden
does this situation still occur with the current develop?
using ea1b4c9
Exception in thread "main" java.lang.RuntimeException: StmtGraph of <org.apache.activemq.util.LockFile: void unlock()> is invalid.
at sootup.core.model.Body$BodyBuilder.build(Body.java:441)
at sootup.java.bytecode.frontend.AsmMethodSource.resolveBody(AsmMethodSource.java:243)
at sootup.core.model.SootMethod.lazyBodyInitializer(SootMethod.java:98)
at com.google.common.base.Suppliers$NonSerializableMemoizingSupplier.get(Suppliers.java:181)
at sootup.core.model.SootMethod.getBody(SootMethod.java:177)
at com.huawei.it.liquid.projects.HutoolTest$package$.main(HutoolTest.scala:39)
at com.huawei.it.liquid.projects.main.main(HutoolTest.scala:32)
Caused by: java.lang.IllegalStateException: visualize invalid StmtGraph: http://magjac.com/graphviz-visual-editor/?dot=digraph+G+%7B%0A%09compound%3Dtrue%0A%09labelloc%3Db%0A%09style%3Dfilled%0A%09color%3Dgray90%0A%09node+%5Bshape%3Dbox%2Cstyle%3Dfilled%2Ccolor%3Dwhite%5D%0A%09edge+%5Bfontsize%3D10%2Carrowsize%3D1.5%2Cfontcolor%3Dgrey40%5D%0A%09fontsize%3D10%0A%0A%2F%2F++lines+%5B115%3A+115%5D+%0A%09subgraph+cluster_1408482749+%7B+%0A%09%09label+%3D+%22Block+%231%22%0A%09%091991278377%5Blabel%3D%22this+%3A%3D+%40this%3A+org.apache.activemq.util.LockFile%22%2Cshape%3DMdiamond%2Ccolor%3Dgrey50%2Cfillcolor%3Dwhite%5D%0A%09%09573200870%5Blabel%3D%22%24stack3+%3D+%26lt%3Borg.apache.activemq.util.LockFile%3A+boolean+DISABLE_FILE_LOCK%26gt%3B%22%5D%0A%09%091267556427%5Blabel%3D%22if+%24stack3+%3D%3D+0%22%5D%0A%0A%09%091991278377+-%3E+573200870+-%3E+1267556427%0A%09%7D%0A%091267556427%3As+-%3E+1819940427%3An%5Blabel%3D%22false%22%5D%0A%091267556427%3As+-%3E+1046665075%3An%5Blabel%3D%22true%22%5D%0A%0A%2F%2F++lines+%5B116%3A+116%5D+%0A%09subgraph+cluster_1277933280+%7B+%0A%09%09label+%3D+%22Block+%232%22%0A%09%091819940427%5Blabel%3D%22return%22%2Cshape%3DMdiamond%2Ccolor%3Dgrey50%2Cfillcolor%3Dwhite%5D%0A%09%7D%0A%0A%2F%2F++lines+%5B119%3A+120%5D+%0A%09subgraph+cluster_1324829744+%7B+%0A%09%09label+%3D+%22Block+%233%22%0A%09%091046665075%5Blabel%3D%22%24stack4+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+int+lockCounter%26gt%3B%22%5D%0A%09%091921242091%5Blabel%3D%22%24stack5+%3D+%24stack4+-+1%22%5D%0A%09%091670313965%5Blabel%3D%22this.%26lt%3Borg.apache.activemq.util.LockFile%3A+int+lockCounter%26gt%3B+%3D+%24stack5%22%5D%0A%09%091275035040%5Blabel%3D%22%24stack6+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+int+lockCounter%26gt%3B%22%5D%0A%09%092053996178%5Blabel%3D%22if+%24stack6+%3D%3D+0%22%5D%0A%0A%09%091046665075+-%3E+1921242091+-%3E+1670313965+-%3E+1275035040+-%3E+2053996178%0A%09%7D%0A%092053996178%3As+-%3E+1058876963%3An%5Blabel%3D%22false%22%5D%0A%092053996178%3As+-%3E+1204296383%3An%5Blabel%3D%22true%22%5D%0A%0A%2F%2F++lines+%5B121%3A+121%5D+%0A%09subgraph+cluster_1399701152+%7B+%0A%09%09label+%3D+%22Block+%234%22%0A%09%091058876963%5Blabel%3D%22return%22%2Cshape%3DMdiamond%2Ccolor%3Dgrey50%2Cfillcolor%3Dwhite%5D%0A%09%7D%0A%0A%2F%2F++lines+%5B125%3A+125%5D+%0A%09subgraph+cluster_2003463579+%7B+%0A%09%09label+%3D+%22Block+%235%22%0A%09%091204296383%5Blabel%3D%22%24stack7+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+java.nio.channels.FileLock+lock%26gt%3B%22%5D%0A%09%09959629210%5Blabel%3D%22if+%24stack7+%3D%3D+null%22%5D%0A%0A%09%091204296383+-%3E+959629210%0A%09%7D%0A%09959629210%3As+-%3E+1309335839%3An%5Blabel%3D%22false%22%5D%0A%09959629210%3As+-%3E+527829831%3An%5Blabel%3D%22true%22%5D%0A%0A%2F%2F++lines+%5B127%3A+127%5D+%0A%09subgraph+cluster_567294307+%7B+%0A%09%09label+%3D+%22Block+%236%22%0A%09%091309335839%5Blabel%3D%22%24stack11+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+java.nio.channels.FileLock+lock%26gt%3B%22%5D%0A%09%09136157810%5Blabel%3D%22virtualinvoke+%24stack11.%26lt%3Bjava.nio.channels.FileLock%3A+void+release%28%29%26gt%3B%28%29%22%5D%0A%0A%09%091309335839+-%3E+136157810%0A%09%7D%0A%09136157810%3As+-%3E+596470015%3An%0A%09%2F%2Fexceptional+edges+%0A%09136157810%3Ae+-%3E+1481818223%3An+%5Blabel%3D%22%09java.lang.Throwable%22color%3Dred%2Cltail%3D%22cluster_567294307%22%5D%0A%0A%2F%2F++lines+%5B130%3A+130%5D+%0A%09subgraph+cluster_748842359+%7B+%0A%09%09label+%3D+%22Block+%237%22%0A%09%09596470015%5Blabel%3D%22%24stack12+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+java.lang.String+lockSystemPropertyName%26gt%3B%22%5D%0A%09%09403174823%5Blabel%3D%22if+%24stack12+%3D%3D+null%22%5D%0A%0A%09%09596470015+-%3E+403174823%0A%09%7D%0A%09403174823%3As+-%3E+515809288%3An%5Blabel%3D%22false%22%5D%0A%09403174823%3As+-%3E+394785440%3An%5Blabel%3D%22true%22%5D%0A%0A%2F%2F++lines+%5B131%3A+131%5D+%0A%09subgraph+cluster_1926673338+%7B+%0A%09%09label+%3D+%22Block+%238%22%0A%09%09515809288%5Blabel%3D%22%24stack14+%3D+staticinvoke+%26lt%3Bjava.lang.System%3A+java.util.Properties+getProperties%28%29%26gt%3B%28%29%22%5D%0A%09%09372469954%5Blabel%3D%22%24stack13+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+java.lang.String+lockSystemPropertyName%26gt%3B%22%5D%0A%09%091371495133%5Blabel%3D%22virtualinvoke+%24stack14.%26lt%3Bjava.util.Properties%3A+java.lang.Object+remove%28java.lang.Object%29%26gt%3B%28%24stack13%29%22%5D%0A%0A%09%09515809288+-%3E+372469954+-%3E+1371495133%0A%09%7D%0A%091371495133%3As+-%3E+394785440%3An%0A%0A%2F%2F++lines+%5B133%3A+134%5D+%0A%09subgraph+cluster_2112233878+%7B+%0A%09%09label+%3D+%22Block+%239%22%0A%09%09394785440%5Blabel%3D%22this.%26lt%3Borg.apache.activemq.util.LockFile%3A+java.nio.channels.FileLock+lock%26gt%3B+%3D+null%22%5D%0A%09%091571798597%5Blabel%3D%22goto%22%5D%0A%0A%09%09394785440+-%3E+1571798597%0A%09%7D%0A%091571798597%3As+-%3E+527829831%3An%0A%0A%2F%2F++lines+%5B-1%3A+130%5D+%0A%09subgraph+cluster_901205084+%7B+%0A%09%09label+%3D+%22Block+%2310%22%0A%09%091481818223%5Blabel%3D%22%24stack15+%3A%3D+%40caughtexception%22%5D%0A%09%09457247584%5Blabel%3D%22l2+%3D+%24stack15%22%5D%0A%09%09610454273%5Blabel%3D%22%24stack16+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+java.lang.String+lockSystemPropertyName%26gt%3B%22%5D%0A%09%09940857381%5Blabel%3D%22if+%24stack16+%3D%3D+null%22%5D%0A%0A%09%091481818223+-%3E+457247584+-%3E+610454273+-%3E+940857381%0A%09%7D%0A%09940857381%3As+-%3E+431506362%3An%5Blabel%3D%22false%22%5D%0A%09940857381%3As+-%3E+2003147568%3An%5Blabel%3D%22true%22%5D%0A%0A%2F%2F++lines+%5B131%3A+131%5D+%0A%09subgraph+cluster_1693226694+%7B+%0A%09%09label+%3D+%22Block+%2311%22%0A%09%09431506362%5Blabel%3D%22%24stack18+%3D+staticinvoke+%26lt%3Bjava.lang.System%3A+java.util.Properties+getProperties%28%29%26gt%3B%28%29%22%5D%0A%09%09504582810%5Blabel%3D%22%24stack17+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+java.lang.String+lockSystemPropertyName%26gt%3B%22%5D%0A%09%09516537656%5Blabel%3D%22virtualinvoke+%24stack18.%26lt%3Bjava.util.Properties%3A+java.lang.Object+remove%28java.lang.Object%29%26gt%3B%28%24stack17%29%22%5D%0A%0A%09%09431506362+-%3E+504582810+-%3E+516537656%0A%09%7D%0A%09516537656%3As+-%3E+2003147568%3An%0A%0A%2F%2F++lines+%5B133%3A+134%5D+%0A%09subgraph+cluster_1164799006+%7B+%0A%09%09label+%3D+%22Block+%2312%22%0A%09%092003147568%5Blabel%3D%22this.%26lt%3Borg.apache.activemq.util.LockFile%3A+java.nio.channels.FileLock+lock%26gt%3B+%3D+null%22%5D%0A%09%091160649162%5Blabel%3D%22throw+l2%22%2Cshape%3DMdiamond%2Ccolor%3Dgrey50%2Cfillcolor%3Dwhite%5D%0A%0A%09%092003147568+-%3E+1160649162%0A%09%7D%0A%0A%2F%2F++lines+%5B136%3A+138%5D+%0A%09subgraph+cluster_418179060+%7B+%0A%09%09label+%3D+%22Block+%2313%22%0A%09%09527829831%5Blabel%3D%22virtualinvoke+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+void+closeReadFile%28%29%26gt%3B%28%29%22%5D%0A%09%091796047085%5Blabel%3D%22%24stack8+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+boolean+locked%26gt%3B%22%5D%0A%09%09993370665%5Blabel%3D%22if+%24stack8+%3D%3D+0%22%5D%0A%0A%09%09527829831+-%3E+1796047085+-%3E+993370665%0A%09%7D%0A%09993370665%3As+-%3E+1871612052%3An%5Blabel%3D%22false%22%5D%0A%09993370665%3As+-%3E+153646652%3An%5Blabel%3D%22true%22%5D%0A%0A%2F%2F++lines+%5B138%3A+138%5D+%0A%09subgraph+cluster_1023268896+%7B+%0A%09%09label+%3D+%22Block+%2314%22%0A%09%091871612052%5Blabel%3D%22%24stack9+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+boolean+deleteOnUnlock%26gt%3B%22%5D%0A%09%091766869737%5Blabel%3D%22if+%24stack9+%3D%3D+0%22%5D%0A%0A%09%091871612052+-%3E+1766869737%0A%09%7D%0A%091766869737%3As+-%3E+368342628%3An%5Blabel%3D%22false%22%5D%0A%091766869737%3As+-%3E+153646652%3An%5Blabel%3D%22true%22%5D%0A%0A%2F%2F++lines+%5B139%3A+139%5D+%0A%09subgraph+cluster_1192923170+%7B+%0A%09%09label+%3D+%22Block+%2315%22%0A%09%09368342628%5Blabel%3D%22%24stack10+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+java.io.File+file%26gt%3B%22%5D%0A%09%09231311211%5Blabel%3D%22virtualinvoke+%24stack10.%26lt%3Bjava.io.File%3A+boolean+delete%28%29%26gt%3B%28%29%22%5D%0A%0A%09%09368342628+-%3E+231311211%0A%09%7D%0A%09231311211%3As+-%3E+153646652%3An%0A%0A%2F%2F++lines+%5B141%3A+141%5D+%0A%09subgraph+cluster_237344028+%7B+%0A%09%09label+%3D+%22Block+%2316%22%0A%09%09153646652%5Blabel%3D%22return%22%2Cshape%3DMdiamond%2Ccolor%3Dgrey50%2Cfillcolor%3Dwhite%5D%0A%09%7D%0A%0A%2F%2F++lines+%5B133%3A+134%5D+%0A%09subgraph+cluster_208043846+%7B+%0A%09%09label+%3D+%22Block+%2317%22%0A%09%091822525972%5Blabel%3D%22this.%26lt%3Borg.apache.activemq.util.LockFile%3A+java.nio.channels.FileLock+lock%26gt%3B+%3D+null%22%5D%0A%09%09131872530%5Blabel%3D%22goto%22%5D%0A%0A%09%091822525972+-%3E+131872530%0A%09%7D%0A%09131872530%3Ae+-%3E+527829831%3An%0A%0A%2F%2F++lines+%5B131%3A+131%5D+%0A%09subgraph+cluster_1200470358+%7B+%0A%09%09label+%3D+%22Block+%2318%22%0A%09%09333040629%5Blabel%3D%22%24stack22+%3D+staticinvoke+%26lt%3Bjava.lang.System%3A+java.util.Properties+getProperties%28%29%26gt%3B%28%29%22%5D%0A%09%091371376476%5Blabel%3D%22%24stack21+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+java.lang.String+lockSystemPropertyName%26gt%3B%22%5D%0A%09%092068897588%5Blabel%3D%22virtualinvoke+%24stack22.%26lt%3Bjava.util.Properties%3A+java.lang.Object+remove%28java.lang.Object%29%26gt%3B%28%24stack21%29%22%5D%0A%0A%09%09333040629+-%3E+1371376476+-%3E+2068897588%0A%09%7D%0A%092068897588%3Ae+-%3E+1822525972%3An%0A%0A%2F%2F++lines+%5B-1%3A+130%5D+%0A%09subgraph+cluster_2030411960+%7B+%0A%09%09label+%3D+%22Block+%2319%22%0A%09%091267105885%5Blabel%3D%22%24stack19+%3A%3D+%40caughtexception%22%5D%0A%09%09899929247%5Blabel%3D%22l1+%3D+%24stack19%22%5D%0A%09%09949684105%5Blabel%3D%22%24stack20+%3D+this.%26lt%3Borg.apache.activemq.util.LockFile%3A+java.lang.String+lockSystemPropertyName%26gt%3B%22%5D%0A%09%091237912220%5Blabel%3D%22if+%24stack20+%3D%3D+null%22%5D%0A%0A%09%091267105885+-%3E+899929247+-%3E+949684105+-%3E+1237912220%0A%09%7D%0A%091237912220%3Ae+-%3E+333040629%3An%5Blabel%3D%22false%22%5D%0A%091237912220%3Ae+-%3E+1822525972%3An%5Blabel%3D%22true%22%5D%0A%0A%7D
at sootup.core.graph.StmtGraph.validateStmtConnectionsInGraph(StmtGraph.java:244)
at sootup.core.model.Body$BodyBuilder.build(Body.java:439)
... 6 more
Caused by: java.lang.IllegalStateException: Stmt '$stack19 := @caughtexception' which is neither the StartingStmt nor a TrapHandler is missing a predecessor!
at sootup.core.graph.StmtGraph.validateStmtConnectionsInGraph(StmtGraph.java:190)
... 7 more
I encounter a similar error. I cannot publish the details because it is an enterprise project, but the following exception is raised from the same location:
java.lang.RuntimeException: StmtGraph of <sun.nio.ch.SocketChannelImpl: int write(java.nio.ByteBuffer)> is invalid.
SootUp 1.2.0. The SootUp program is run on OpenJDK8, but the target is an older Java version.
thx for your report - we are working on it in #1041
After upgrading to SootUp 1.3.0, my error (from sootup.core.model.Body$BodyBuilder.build(Body.java:498)
) has been fixed. Thank you for maintaining this project.
will add more description later