Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 344 for NullPointerException (0.15 sec)

  1. docs/changelogs/changelog_3x.md

    ## Version 3.14.4
    
    _2019-09-29_
    
     *  Fix: Cancel calls that fail due to unexpected exceptions. We had a bug where an enqueued call
        would never call back if it crashed with an unchecked throwable, such as a
        `NullPointerException` or `OutOfMemoryError`. We now call `Callback.onFailure()` with an
        `IOException` that reports the call as canceled. The triggering exception is still delivered to
        the thread's `UncaughtExceptionHandler`.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NtlmHttpURLConnection.java

            this.connection.setReadTimeout(timeout);
        }
    
    
        @Override
        public void setRequestProperty ( String key, String value ) {
            if ( key == null )
                throw new NullPointerException();
            List<String> values = new ArrayList<>();
            values.add(value);
            boolean found = false;
    
            for ( Entry<String, List<String>> entry : this.requestProperties.entrySet() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
       * @throws NullPointerException if any key or value in {@code multimap} is null
       */
      public static <K, V> ImmutableListMultimap<K, V> copyOf(
          Multimap<? extends K, ? extends V> multimap) {
        if (multimap.isEmpty()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

        internal var resolvePrivateAddresses = false
        internal var resolvePublicAddresses = true
    
        fun build(): DnsOverHttps {
          val client = this.client ?: throw NullPointerException("client not set")
          return DnsOverHttps(
            client.newBuilder().dns(buildBootstrapClient(this)).build(),
            checkNotNull(url) { "url not set" },
            includeIPv6,
            post,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/RegularImmutableSortedSet.java

                return true;
              }
              target = thatIterator.next();
    
            } else if (cmp > 0) {
              return false;
            }
          }
        } catch (NullPointerException | ClassCastException e) {
          return false;
        }
      }
    
      private int unsafeBinarySearch(Object key) throws ClassCastException {
        return Collections.binarySearch(elements, key, unsafeComparator());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Doubles.java

       *
       * @param collection a collection of {@code Number} instances
       * @return an array containing the same values as {@code collection}, in the same order, converted
       *     to primitives
       * @throws NullPointerException if {@code collection} or any of its elements is null
       * @since 1.0 (parameter was {@code Collection<Double>} before 12.0)
       */
      public static double[] toArray(Collection<? extends Number> collection) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmUtil.java

        }
    
    
        /**
         * @param password
         * @return nt password hash
         */
        public static byte[] getNTHash ( String password ) {
            if ( password == null ) {
                throw new NullPointerException("Password parameter is required");
            }
            MessageDigest md4 = Crypto.getMD4();
            md4.update(Strings.getUNIBytes(password));
            return md4.digest();
        }
    
    
        /**
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 9.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

        @Override
        public OutputStream openStream() {
          return ByteStreams.nullOutputStream();
        }
      }
    
      // Compare by toString() to satisfy 2 properties:
      // 1. compareTo(null) should throw NullPointerException
      // 2. the order is deterministic and easy to understand, for debugging purpose.
      @SuppressWarnings("ComparableType")
      private static final class ByToString implements Comparable<Object>, Serializable {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          assertEquals(0, cache.size());
    
          entry.setValue(3);
          assertEquals(1, cache.size());
          assertEquals(3, cache.getIfPresent(1));
          checkValidState(cache);
    
          assertThrows(NullPointerException.class, () -> entry.setValue(null));
          checkValidState(cache);
        }
      }
    
      /* ---------------- Local utilities -------------- */
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/PairedStatsTest.java

          assertThat(PairedStats.fromByteArray(pairedStatsByteArray)).isEqualTo(pairedStats);
        }
      }
    
      public void testFromByteArray_withNullInputThrowsNullPointerException() {
        assertThrows(NullPointerException.class, () -> PairedStats.fromByteArray(null));
      }
    
      public void testFromByteArray_withEmptyArrayInputThrowsIllegalArgumentException() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 21:17:33 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top