- Sort Score
 - Result 10 results
 - Languages All
 
Results 211 - 220 of 474 for NullPointerException (0.1 sec)
- 
				
				
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
assertNotNull(nullBufferResponse); // But trying to read data should cause NullPointerException byte[] buffer = new byte[10]; assertThrows(NullPointerException.class, () -> nullBufferResponse.readDataWireFormat(buffer, 0, 5)); } @Test void testReadDataWireFormatWithNegativeLength() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) - 
				
				
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K bytes - Viewed (0) - 
				
				
src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java
DataStoreException withNPE = new DataStoreException("NPE Error", new NullPointerException("Null value")); DataStoreException withCustom = new DataStoreException("Custom Error", new FessSystemException("System error")); assertTrue(withIOException.getCause() instanceof java.io.IOException); assertTrue(withNPE.getCause() instanceof NullPointerException); assertTrue(withCustom.getCause() instanceof FessSystemException);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.7K bytes - Viewed (0) - 
				
				
android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java
Map<Class<? extends Number>, Number> nullKey = singletonMap(null, (Number) 1.0); assertThrows(NullPointerException.class, () -> ImmutableClassToInstanceMap.copyOf(nullKey)); Map<? extends Class<? extends Number>, Number> nullValue = singletonMap(Number.class, null); assertThrows(NullPointerException.class, () -> ImmutableClassToInstanceMap.copyOf(nullValue)); } public void testCopyOf_imap_empty() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.5K bytes - Viewed (0) - 
				
				
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
} @Test @DisplayName("readParameterWordsWireFormat with null buffer - throws NullPointerException") void testReadParameterWordsWithNullBuffer() { assertThrows(NullPointerException.class, () -> response.readParameterWordsWireFormat(null, 0)); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) - 
				
				
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
@DisplayName("Reading with null array throws NullPointerException") void readNullArrayThrowsException() { // Create stream with valid message header and data byte[] data = new byte[] { 1 }; InputStream in = new ByteArrayInputStream(concat(messageHeader(1), data)); SocketInputStream sis = new SocketInputStream(in); // Should throw NullPointerException when reading with null arrayRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) - 
				
				
guava/src/com/google/common/collect/ImmutableMultimap.java
* * @throws NullPointerException if {@code key}, {@code values}, or any element in {@code values} * is null. The builder is left in an invalid state. */ @CanIgnoreReturnValue public Builder<K, V> putAll(K key, Iterable<? extends V> values) { if (key == null) { throw new NullPointerException("null key in entry: null=" + Iterables.toString(values)); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 28.6K bytes - Viewed (0) - 
				
				
android/guava/src/com/google/common/collect/Interner.java
* original interned instance was garbage-collected. * * <p><b>Warning:</b> do not use with mutable objects. * * @throws NullPointerException if {@code sample} is null */ E intern(E sample);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2K bytes - Viewed (0) - 
				
				
android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
} /** * Associates all of {@code map's} keys and values in the built map. Duplicate keys are not * allowed, and will cause {@link #build} to fail. * * @throws NullPointerException if any key or value in {@code map} is null * @throws ClassCastException if any value is not an instance of the type specified by its key */ @CanIgnoreReturnValueRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.1K bytes - Viewed (0) - 
				
				
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
List<Object> list = new ArrayList<>(equalityGroup.length); for (int i = 0; i < equalityGroup.length; i++) { Object element = equalityGroup[i]; if (element == null) { throw new NullPointerException("at index " + i); } list.add(element); } equalityGroups.add(list); return this; } /** Run tests on equals method, throwing a failure on an invalid test */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.1K bytes - Viewed (0)