- Sort Score
 - Result 10 results
 - Languages All
 
Results 71 - 80 of 474 for NullPointerException (0.41 sec)
- 
				
				
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
private Sources() {} /** * Creates a new source for the specified path. * * @param path the path to the file * @return a new Source instance * @throws NullPointerException if path is null */ @Nonnull public static Source fromPath(@Nonnull Path path) { return new PathSource(requireNonNull(path, "path")); } /**Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 8K bytes - Viewed (0) - 
				
				
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
private enum ExceptionTypePolicy { /** * Exceptions should be {@link NullPointerException} or {@link UnsupportedOperationException}. */ NPE_OR_UOE() { @Override public boolean isExpectedType(Throwable cause) { return cause instanceof NullPointerException || cause instanceof UnsupportedOperationException; } }, /**Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0) - 
				
				
android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
ImmutableMultiset.Builder<String> builder = ImmutableMultiset.builder(); assertThrows(NullPointerException.class, () -> builder.add((String) null)); } public void testBuilderAddAllHandlesNullsCorrectly() { { ImmutableMultiset.Builder<String> builder = ImmutableMultiset.builder(); assertThrows(NullPointerException.class, () -> builder.addAll((Collection<String>) null)); } {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.7K bytes - Viewed (0) - 
				
				
android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.8K bytes - Viewed (0) - 
				
				
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java
} expectUnchanged(); } @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_KEYS) public void testPutIfAbsent_nullKeyUnsupported() { assertThrows(NullPointerException.class, () -> getMap().putIfAbsent(null, v3())); expectUnchanged(); expectNullKeyMissingWhenNullKeysUnsupported( "Should not contain null key after unsupported putIfAbsent(null, value)"); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4.9K bytes - Viewed (0) - 
				
				
guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java
Integer n = null; assertThrows(NullPointerException.class, () -> ImmutableSortedMap.of(n, 1)); assertThrows(NullPointerException.class, () -> ImmutableSortedMap.of("one", 1, null, 2)); } public void testOfNullValue() { assertThrows(NullPointerException.class, () -> ImmutableSortedMap.of("one", null)); assertThrows(NullPointerException.class, () -> ImmutableSortedMap.of("one", 1, "two", null));Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0) - 
				
				
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
assertEquals(1, result.intValue()); } catch (Exception e) { // Expected behavior when components are not fully initialized assertTrue(e.getCause() instanceof NullPointerException || e.getCause() instanceof ContainerNotAvailableException); } finally { tempPropFile.delete(); } } public void test_process_withoutPropertiesPath() throws Exception {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) - 
				
				
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
} @Test @DisplayName("Constructor should handle null parent") void testConstructor_NullParent_ThrowsNPE() { // When & Then: Null parent should cause NullPointerException assertThrows(NullPointerException.class, () -> new NetServerEnumIterator(null, treeHandle, "*", 0, null)); } @Test @DisplayName("Constructor should handle null tree handle")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) - 
				
				
android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
} public void testOfNullKey() { assertThrows(NullPointerException.class, () -> ImmutableBiMap.of(null, 1)); assertThrows(NullPointerException.class, () -> ImmutableBiMap.of("one", 1, null, 2)); } public void testOfNullValue() { assertThrows(NullPointerException.class, () -> ImmutableBiMap.of("one", null)); assertThrows(NullPointerException.class, () -> ImmutableBiMap.of("one", 1, "two", null)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.2K bytes - Viewed (0) - 
				
				
android/guava-testlib/src/com/google/common/collect/testing/testers/QueueOfferTester.java
expectAdded((E) null); } @CollectionFeature.Require(value = SUPPORTS_ADD, absent = ALLOWS_NULL_VALUES) public void testOffer_nullUnsupported() { assertThrows(NullPointerException.class, () -> getQueue().offer(null)); expectUnchanged(); expectNullMissingWhenNullUnsupported("Should not contain null after unsupported offer(null)"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.3K bytes - Viewed (0)