title: Apache Kafka - Uninitialized object exists on backward branch 162
body: <p>I am trying to install a version of Apache Kafka on my local machine from the tutorial found here <a href="https://dzone.com/articles/running-apache-kafka-on-windows-os" rel="nofollow noreferrer">https://dzone.com/articles/running-apache-kafka-on-windows-os</a>. </p>
  
  <p>Zookeeper starts with no issues - and my Java environment variable is pointing to 1.9 </p>
  
  <pre><code>&gt; C:\kafka\kafka_2.12-1.0.0&gt;java -version java version "9.0.1" Java(TM)
  &gt; SE Runtime Environment (build 9.0.1+11) Java HotSpot(TM) 64-Bit Server
  &gt; VM (build 9.0.1+11, mixed mode)
  </code></pre>
  
  <p>However - when i try and start the kafka server using the following command </p>
  
  <pre><code>.\bin\windows\kafka-server-start.bat .\config\server.properties
  </code></pre>
  
  <p>I get the following error</p>
  
  <pre><code>[2017-12-18 13:49:15,078] FATAL  (kafka.Kafka$)
  java.lang.VerifyError: Uninitialized object exists on backward branch 162
  Exception Details:
    Location:
      scala/util/matching/Regex.unapplySeq(Lscala/util/matching/Regex$Match;)Lscala/Option; @216: goto
    Reason:
      Error exists in the bytecode
    Bytecode:
      0000000: 2bc6 000a 2bb6 00ef c700 07b2 0052 b02b
      0000010: b600 f2b6 00f3 2ab6 0054 4d59 c700 0b57
      0000020: 2cc6 000d a700 c92c b600 f799 00c2 bb00
      0000030: 6059 b200 65b2 006a 043e c700 0501 bf1d
      0000040: 2bb6 00f8 b600 74b6 0078 2bba 0100 0000
      0000050: b200 93b6 0097 3a06 3a05 59c7 0005 01bf
      0000060: 3a04 1906 b200 93b6 009b a600 7619 04b2
      0000070: 00a0 a600 09b2 00a0 a700 71bb 00a2 5919
      0000080: 04b6 00a8 3a0b 2b19 0bb8 00fc b200 a0b7
      0000090: 00ac 3a07 1907 3a08 1904 b600 afc0 00a4
      00000a0: 3a09 1909 b200 a0a5 0034 bb00 a259 1909
      00000b0: b600 a83a 0b2b 190b b800 fcb2 00a0 b700
      00000c0: ac3a 0a19 0819 0ab6 00b3 190a 3a08 1909
      00000d0: b600 afc0 00a4 3a09 a7ff ca19 07a7 000c
      00000e0: 1904 1905 1906 b800 b9b7 00bc b02a 2bb6
      00000f0: 00ef b601 02b0                         
    Stackmap Table:
      same_frame(@11)
      same_frame(@15)
      full_frame(@39,{Object[#2],Object[#34],Object[#86]},{Object[#86]})
      same_frame(@46)
      full_frame(@63,{Object[#2],Object[#34],Object[#86],Integer},{Uninitialized[#46],Uninitialized[#46],Object[#98]})
      full_frame(@96,{Object[#2],Object[#34],Object[#86],Integer,Top,Object[#206],Object[#208]},{Uninitialized[#46],Uninitialized[#46],Object[#164]})
      full_frame(@123,{Object[#2],Object[#34],Object[#86],Integer,Object[#164],Object[#206],Object[#208]},{Uninitialized[#46],Uninitialized[#46]})
      full_frame(@162,{Object[#2],Object[#34],Object[#86],Integer,Object[#164],Object[#206],Object[#208],Object[#162],Object[#162],Object[#164],Top,Object[#4]},{Uninitialized[#46],Uninitialized[#46]})
      full_frame(@219,{Object[#2],Object[#34],Object[#86],Integer,Object[#164],Object[#206],Object[#208],Object[#162],Object[#162],Object[#164],Top,Object[#4]},{Uninitialized[#46],Uninitialized[#46]})
      full_frame(@224,{Object[#2],Object[#34],Object[#86],Integer,Object[#164],Object[#206],Object[#208]},{Uninitialized[#46],Uninitialized[#46]})
      full_frame(@233,{Object[#2],Object[#34],Object[#86],Integer,Object[#164],Object[#206],Object[#208]},{Uninitialized[#46],Uninitialized[#46],Object[#4]})
      full_frame(@237,{Object[#2],Object[#34],Object[#86]},{})
  
      at scala.collection.immutable.StringLike.r(StringLike.scala:281)
      at scala.collection.immutable.StringLike.r$(StringLike.scala:281)
      at scala.collection.immutable.StringOps.r(StringOps.scala:29)
      at scala.collection.immutable.StringLike.r(StringLike.scala:270)
      at scala.collection.immutable.StringLike.r$(StringLike.scala:270)
      at scala.collection.immutable.StringOps.r(StringOps.scala:29)
      at kafka.cluster.EndPoint$.&lt;init&gt;(EndPoint.scala:29)
      at kafka.cluster.EndPoint$.&lt;clinit&gt;(EndPoint.scala)
      at kafka.server.Defaults$.&lt;init&gt;(KafkaConfig.scala:66)
      at kafka.server.Defaults$.&lt;clinit&gt;(KafkaConfig.scala)
      at kafka.server.KafkaConfig$.&lt;init&gt;(KafkaConfig.scala:686)
      at kafka.server.KafkaConfig$.&lt;clinit&gt;(KafkaConfig.scala)
      at kafka.server.KafkaServerStartable$.fromProps(KafkaServerStartable.scala:28)
      at kafka.Kafka$.main(Kafka.scala:82)
      at kafka.Kafka.main(Kafka.scala)
  </code></pre>
  
  <p>Does anyone have any ideas on how this should be resolved? Thanks</p>