- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 474 for NullPointerException (0.99 sec)
-
android/guava/src/com/google/common/collect/Iterators.java
* necessary. * * <p>The returned iterator supports {@code remove()} when the corresponding input iterator * supports it. * * @throws NullPointerException if any of the provided iterators is null */ @SafeVarargs public static <T extends @Nullable Object> Iterator<T> concat(Iterator<? extends T>... inputs) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 50.5K bytes - Viewed (0) -
CHANGELOG.md
* Fix: Don't close a `Deflater` while we're still using it to compress a web socket message. We had a severe bug where web sockets were closed on the wrong thread, which caused `NullPointerException` crashes in `Deflater`. * Fix: Don't crash after a web socket fails its connection upgrade. We incorrectly released the web socket's connections back to the pool before their resources were cleaned up.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 19:32:33 UTC 2025 - 31.6K bytes - Viewed (2) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
} } } } public void testToArray_withNull() { List<@Nullable Character> list = Arrays.asList((char) 0, (char) 1, null); assertThrows(NullPointerException.class, () -> Chars.toArray(list)); } @J2ktIncompatible // b/285319375 public void testAsList_isAView() { char[] array = {(char) 0, (char) 1}; List<Character> list = Chars.asList(array);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.9K bytes - Viewed (0) -
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: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 21.9K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
* We don't permit nulls, but we wrap every comparator with nullsFirst(). * Why? We want for queries like containsKey(null) to return false, but the * GWT SortedMap implementation that we delegate to throws * NullPointerException if the comparator does. Since our construction * methods ensure that null is never present in the map, it's OK for the * comparator to look for it wherever it wants. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
request.setData(null, 0, 100); byte[] buffer = new byte[256]; // Should handle gracefully or throw appropriate exception assertThrows(NullPointerException.class, () -> request.writeBytesWireFormat(buffer, 0)); } @Test @DisplayName("Should handle data offset beyond array bounds") void testDataOffsetBeyondBounds() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 18.2K bytes - Viewed (0) -
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 forRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 15.4K bytes - Viewed (0) -
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 overflowsRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 46.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Joiner.java
* converted to strings using {@link Object#toString()} before being appended. * * <p>If neither {@link #skipNulls()} nor {@link #useForNull(String)} is specified, the joining * methods will throw {@link NullPointerException} if any given element is null. * * <p><b>Warning: joiner instances are always immutable</b>; a configuration method such as {@codeRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 19.3K bytes - Viewed (0)