title: Inconsistently getting NumberFormatException when trying to convert binary to hex
body: <p>If use variable bin1 it wont convert, however if i replace the parameter with bin2 it seems to work.</p>
  
  <p>I tried using long instead of int. It's still the same.</p>
  
  <pre><code>public class Test{
      public static void main(String[] args) {
          String bin1 = "11011100000000010001000000000000";
          String bin2 = "01100100001000010001000000000000";
  
          int dec = Integer.parseInt(bin1, 2);
          String hex = Integer.toString(dec, 16);
  
          System.out.println(hex);
      }
  }
  </code></pre>