java.lang.ExceptionInInitializerError

GitHub | windflyer | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Java can't find .stg files in IntelliJ

    GitHub | 1 year ago | shelbyspees
    java.lang.IllegalArgumentException: No such group file: PrettyPrint.stg

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      No such group file: org/sireum/amandroid/alir/resources/dataRecorder/AppData.stg

      at org.stringtemplate.v4.STGroupFile.<init>()
    2. ANTLR StringTemplate 4.0.2
      STGroupFile.<init>
      1. org.stringtemplate.v4.STGroupFile.<init>(STGroupFile.java:69)
      2. org.stringtemplate.v4.STGroupFile.<init>(STGroupFile.java:48)
      2 frames
    3. org.argus.amandroid
      TaintAnalysisTask.run
      1. org.argus.amandroid.alir.dataRecorder.DataCollector$.<init>(DataCollector.scala:38)
      2. org.argus.amandroid.alir.dataRecorder.DataCollector$.<clinit>(DataCollector.scala)
      3. org.argus.amandroid.plugin.TaintAnalysisTask.run(TaintAnalysisTask.scala:59)
      3 frames
    4. org.argus.saf
      TaintAnalysis$$anonfun$taintAnalyze$1.apply
      1. org.argus.saf.cli.TaintAnalysis$$anonfun$taintAnalyze$1.apply(TaintAnalysis.scala:69)
      2. org.argus.saf.cli.TaintAnalysis$$anonfun$taintAnalyze$1.apply(TaintAnalysis.scala:60)
      2 frames
    5. Scala
      Set$Set1.foreach
      1. scala.collection.immutable.Set$Set1.foreach(Set.scala:94)
      1 frame
    6. org.argus.saf
      Main$$anonfun$1.apply
      1. org.argus.saf.cli.TaintAnalysis$.taintAnalyze(TaintAnalysis.scala:59)
      2. org.argus.saf.cli.TaintAnalysis$.apply(TaintAnalysis.scala:47)
      3. org.argus.saf.Main$.org$argus$saf$Main$$cmdTaintAnalysis(Main.scala:243)
      4. org.argus.saf.Main$$anonfun$1.apply(Main.scala:157)
      5. org.argus.saf.Main$$anonfun$1.apply(Main.scala:151)
      5 frames
    7. Scala
      ArrayOps$ofRef.foreach
      1. scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
      2. scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
      2 frames
    8. org.argus.saf
      Main$delayedInit$body.apply
      1. org.argus.saf.Main$.delayedEndpoint$org$argus$saf$Main$1(Main.scala:151)
      2. org.argus.saf.Main$delayedInit$body.apply(Main.scala:21)
      2 frames
    9. Scala
      App$class.main
      1. scala.Function0$class.apply$mcV$sp(Function0.scala:34)
      2. scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
      3. scala.App$$anonfun$main$1.apply(App.scala:76)
      4. scala.App$$anonfun$main$1.apply(App.scala:76)
      5. scala.collection.immutable.List.foreach(List.scala:381)
      6. scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)
      7. scala.App$class.main(App.scala:76)
      7 frames
    10. org.argus.saf
      Main.main
      1. org.argus.saf.Main$.main(Main.scala:21)
      2. org.argus.saf.Main.main(Main.scala)
      2 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    12. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
      1 frame