Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 426 for NullPointerException (0.07 sec)

  1. docs/changelogs/changelog_2x.md

        cancelation.
     *  Fix: When a network interceptor mutates a request, that change is now
        reflected in `Response.networkResponse()`.
     *  Fix: Badly-behaving caches now throw a checked exception instead of a
        `NullPointerException`.
     *  Fix: Better handling of uncaught exceptions in MockWebServer with HTTP/2.
    
    ## Version 2.3.0
    
    _2015-03-16_
    
     *  **HTTP/2 support.** We've done interop testing and haven't seen any
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeMultiset.java

          AvlNode<E> root = rootReference.get();
          if (!range.contains(e) || root == null) {
            return 0;
          }
          return root.count(comparator(), e);
        } catch (ClassCastException | NullPointerException e) {
          return 0;
        }
      }
    
      @CanIgnoreReturnValue
      @Override
      public int add(@ParametricNullness E element, int occurrences) {
        checkNonnegative(occurrences, "occurrences");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 33.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          entry.setValue(3);
          assertThat(cache.size()).isEqualTo(1);
          assertThat(cache.getIfPresent(1)).isEqualTo(3);
          checkValidState(cache);
    
          assertThrows(NullPointerException.class, () -> entry.setValue(null));
          checkValidState(cache);
        }
      }
    
      /* ---------------- Local utilities -------------- */
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            // Register should fail with null container
            try {
                ruleWithoutContainer.register(0);
                fail("Should throw exception with null container");
            } catch (NullPointerException e) {
                // Expected
            }
        }
    
        /**
         * Test concurrent property access
         */
        public void test_concurrentPropertyAccess() throws Exception {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

        assertTrue(toTest, toTest.matches(expectedRegex));
      }
    
      public void testToString_addWithNullName() {
        MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(new TestClass());
        assertThrows(NullPointerException.class, () -> helper.add(null, "Hello"));
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToString_addWithNullValue() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          List<E> extremeValues = new ArrayList<>();
    
          // nulls are usually out of bounds for a subset, so ban them altogether
          for (Object o : elements) {
            if (o == null) {
              throw new NullPointerException();
            }
          }
    
          // prepare extreme values to be filtered out of view
          E firstExclusive = delegate.belowSamplesGreater();
          E lastExclusive = delegate.aboveSamplesLesser();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Functions.java

      /**
       * A function equivalent to the method reference {@code Object::toString}. The function simply
       * invokes {@code toString} on its argument and returns the result. It throws a {@link
       * NullPointerException} on null input.
       *
       * <p><b>Warning:</b> The returned function may not be <i>consistent with equals</i> (as
       * documented at {@link Function#apply}). For example, this function yields different results for
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

              @Override
              public String toString() {
                throw new NullPointerException();
              }
            });
        assertThat(orig.toString())
            .contains(
                "[status=PENDING, setFuture=[Exception thrown from implementation: class"
                    + " java.lang.NullPointerException]]");
      }
    
      @AndroidIncompatible // b/391667564: crashes from stack overflows
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            Model model;
    
            if (modelSource == null) {
                if (pomFile != null) {
                    modelSource = new FileModelSource(pomFile);
                } else {
                    throw new NullPointerException("neither pomFile nor modelSource can be null");
                }
            }
    
            problems.setSource(modelSource.getLocation());
            try {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:08 UTC 2025
    - 55.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

              @Override
              public String toString() {
                throw new NullPointerException();
              }
            });
        assertThat(orig.toString())
            .contains(
                "[status=PENDING, setFuture=[Exception thrown from implementation: class"
                    + " java.lang.NullPointerException]]");
      }
    
      @AndroidIncompatible // b/391667564: crashes from stack overflows
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 46.8K bytes
    - Viewed (0)
Back to top