java.lang.ExceptionInInitializerError

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

When kafka creates new consumers, it simply concatenate the name of your VM to generate the consumer id. So, your VM resolves localhost as the name of your VM, not whatever you had set. To solve, add kafka(or the name of VM) plus address to /etc/hosts

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • (howto) Test your Queue installation - GATK-Forum
    via by Unknown author,
  • (howto) Test your Queue installation — GATK-Forum
    via by Unknown author,
  • QUEUE Error - GATK-Forum
    via by Unknown author,
  • Compilation issue
    via GitHub by KevinColemanInc
    ,
    • java.lang.ExceptionInInitializerError at org.broadinstitute.sting.queue.engine.QGraphSettings.<init>(QGraphSettings.scala:65) at org.broadinstitute.sting.queue.QCommandLine.<init>(QCommandLine.scala:86) at org.broadinstitute.sting.queue.QCommandLine$.main(QCommandLine.scala:50) at org.broadinstitute.sting.queue.QCommandLine.main(QCommandLine.scala) Caused by: java.net.UnknownHostException: ansci-5ln0zv1.ansci.illinois.edu: ansci-5ln0zv1.ansci.illinois.edu: Name or service not known at java.net.InetAddress.getLocalHost(InetAddress.java:1473) at org.broadinstitute.sting.queue.util.SystemUtils$.<init>(SystemUtils.scala:36) at org.broadinstitute.sting.queue.util.SystemUtils$.<init>(SystemUtils.scala) ... 4 more Caused by: java.net.UnknownHostException: ansci-5ln0zv1.ansci.illinois.edu: Name or service not known at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901) at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293) at java.net.InetAddress.getLocalHost(InetAddress.java:1469) ... 6 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    raj76raj76
    2 times, last one,
    nasimknasimk
    2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    61 more bugmates