- Sort Score
 - Result 10 results
 - Languages All
 
Results 191 - 200 of 474 for NullPointerException (0.15 sec)
- 
				
				
android/guava-tests/test/com/google/common/net/PercentEscaperTest.java
assertEquals("foo%7Cbar", e.escape("foo%7Cbar")); // idempotent } /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */ public void testBadArguments_null() { assertThrows(NullPointerException.class, () -> new PercentEscaper(null, false)); } /** * Tests that specifying any alphanumeric characters as 'safe' causes an {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 5.3K bytes - Viewed (0) - 
				
				
guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java
.put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException) .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException) .put(NullPointerException.class, e -> e instanceof NullPointerException) .put(NumberFormatException.class, e -> e instanceof NumberFormatException) .put(RuntimeException.class, e -> e instanceof RuntimeException)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.9K bytes - Viewed (0) - 
				
				
src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java
// Test constructor with cause only Exception cause = new NullPointerException("Query object is null"); SearchQueryException exception = new SearchQueryException(cause); assertEquals(cause, exception.getCause()); assertEquals("java.lang.NullPointerException: Query object is null", exception.getMessage()); assertTrue(exception instanceof FessSystemException); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) - 
				
				
guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
} // This test assumes that the implementation does not support null keys. public void testRowNull() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertThrows(NullPointerException.class, () -> table.row(null)); } public void testColumn() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertEquals(ImmutableMap.of("foo", 'a', "bar", 'b'), table.column(1));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.6K bytes - Viewed (0) - 
				
				
guava-testlib/test/com/google/common/collect/testing/MinimalCollectionTest.java
// TODO: MinimalCollection should perhaps throw for (Object element : elements) { if (element == null) { throw new NullPointerException(); } } return MinimalCollection.of(elements); } }) .named("MinimalCollection")Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 1.7K bytes - Viewed (0) - 
				
				
src/test/java/jcifs/smb/Kerb5ContextTest.java
} @Test @DisplayName("verifyMIC with null inputs throws NPE") void verifyMIC_nullInputs() { assertThrows(NullPointerException.class, () -> ctx.verifyMIC(null, new byte[] { 1 })); assertThrows(NullPointerException.class, () -> ctx.verifyMIC(new byte[] { 1 }, null)); } @Test @DisplayName("isMICAvailable reflects GSS integ state")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) - 
				
				
guava/src/com/google/common/collect/ImmutableCollection.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.7K bytes - Viewed (0) - 
				
				
android/guava-testlib/test/com/google/common/collect/testing/MinimalCollectionTest.java
// TODO: MinimalCollection should perhaps throw for (Object element : elements) { if (element == null) { throw new NullPointerException(); } } return MinimalCollection.of(elements); } }) .named("MinimalCollection")Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 1.7K bytes - Viewed (0) - 
				
				
src/test/java/org/codelibs/fess/helper/SearchHelperTest.java
hasJa = true; } assertTrue("Should contain expected languages", hasEn || hasJa || languages.length >= 0); } } catch (NullPointerException e) { // Expected in test environment due to missing dependencies assertTrue("Test environment limitation", true); } }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 18.9K bytes - Viewed (0) - 
				
				
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
assertSetCount(null, 1); } @CollectionFeature.Require(value = SUPPORTS_ADD, absent = ALLOWS_NULL_VALUES) public void testSetCount_addNull_nullUnsupported() { assertThrows(NullPointerException.class, () -> setCountNoCheckReturnValue(null, 1)); } @CollectionFeature.Require(ALLOWS_NULL_VALUES) public void testSetCount_noOpNull_nullSupported() { try { assertSetCount(null, 0);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0)