--- /Base64.java	2023-07-05 03:13:15.182025675 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/binary/Base64.java	2023-07-05 03:13:15.186025675 +0200
@@ -556,7 +556,7 @@
      */
     public static byte[] encodeInteger(BigInteger bigInt) {
         if(bigInt == null)  {
-            throw new NullPointerException("encodeInteger called with null parameter");
+return ;
         }
 
         return encodeBase64(toIntegerBytes(bigInt), false);
