diff --git a/fauxflake-core/src/main/java/com/github/rholder/fauxflake/provider/MacMachineIdProvider.java b/fauxflake-core/src/main/java/com/github/rholder/fauxflake/provider/MacMachineIdProvider.java
index <HASH>..<HASH> 100644
--- a/fauxflake-core/src/main/java/com/github/rholder/fauxflake/provider/MacMachineIdProvider.java
+++ b/fauxflake-core/src/main/java/com/github/rholder/fauxflake/provider/MacMachineIdProvider.java
@@ -40,12 +40,14 @@ public class MacMachineIdProvider implements MachineIdProvider {
 
     static {
         long value = 0L;
-        byte[] raw = Arrays.copyOf(macAddress(), 8);
         try {
             // first 6 bytes are MAC
+            byte[] raw = Arrays.copyOf(macAddress(), 8);
             value = new DataInputStream(new ByteArrayInputStream(raw)).readLong();
         } catch (IOException e) {
             e.printStackTrace();
+        } catch (UnsupportedOperationException e) {
+            e.printStackTrace();
         }
         MACHINE_ID = value;
     }
more gracefully handle UnsupportedOperationException when the MAC cannot be retrieved