1 2 Previous Next 26 Replies Latest reply on Feb 5, 2009 10:39 AM by Clebert Suconic

    UUIDGenerator broken on Windows...

    Clebert Suconic Master

       

      public final UUID generateTimeBasedUUID(byte[] byteAddr)
       {
       byte[] contents = new byte[16];
       int pos = 12;
       for (int i = 0; i < 4; ++i)
       {
       contents[pos + i] = byteAddr; <<-- NPE on byteAddr
       }
      



      It only happens on Windows.

      byteAddr is null.

        1 2 Previous Next