- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 471 for NullPointerException (0.3 sec)
-
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) -
src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java
paramMap.put("url_exclude_pattern", ".*"); try { indexUpdateCallback.isUrlCrawlable(paramMap, null); fail("Expected NullPointerException for null URL"); } catch (NullPointerException e) { // Expected behavior - the method doesn't handle null URLs } } public void test_isUrlCrawlable_nullUrlWithoutPattern() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 23:31:00 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
// Arrange: null reference to the interface SmbRenewableCredentials creds = null; // Act + Assert: invoking renew() on null triggers NullPointerException assertThrows(NullPointerException.class, () -> { // Intentional NPE through dereference of a null interface reference creds.renew(); }); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 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/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) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
} public void test_processThreadDump_withNullConsumer() { try { ThreadDumpUtil.processThreadDump(null); fail("Should throw NullPointerException for null consumer"); } catch (NullPointerException e) { // Expected behavior } } public void test_processThreadDump_multipleThreads() { AtomicInteger threadCount = new AtomicInteger(0);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 15.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/RecordingOkAuthenticator.kt
fun onlyRoute() = routes.single() @Throws(IOException::class) override fun authenticate( route: Route?, response: Response, ): Request? { if (route == null) throw NullPointerException("route == null") responses += response routes += route if (!schemeMatches(response) || credential == null) return null val header = when (response.code) { 407 -> "Proxy-Authorization"
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java
// Expected due to missing dependencies in test environment assertTrue(true); return; } fail("Should throw NullPointerException"); } catch (NullPointerException e) { // Expected } } public void test_getBoostedDocumentList_noBoostList() { KeyMatch keyMatch = new KeyMatch();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 10.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt
override fun contains(element: Protocol?): Boolean { if (element == null) throw NullPointerException() return super.contains(element) } override fun indexOf(element: Protocol?): Int { if (element == null) throw NullPointerException() return super.indexOf(element) } } as List<Protocol> val client = OkHttpClient
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 13.4K 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)