Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 474 for NullPointerException (0.08 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            TransTransactNamedPipeResponse nullBufferResponse = new TransTransactNamedPipeResponse(mockConfig, null);
            byte[] buffer = new byte[100];
    
            assertThrows(NullPointerException.class, () -> nullBufferResponse.readDataWireFormat(buffer, 0, 50));
        }
    
        @Test
        void testReadDataWireFormatEmptyOutputBuffer() throws SMBProtocolDecodingException {
            // Test with empty outputBuffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

            assertTrue(result.contains(message));
        }
    
        public void test_withComplexCauseChain() {
            // Test with a chain of exceptions
            Exception rootCause = new NullPointerException("Root cause");
            Exception intermediateCause = new IllegalStateException("Intermediate cause", rootCause);
            ScriptEngineException exception = new ScriptEngineException("Top level error", intermediateCause);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java

        assertNull(multimap().asMap().get(null));
      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
      public void testAsMapGetNullKeyUnsupported() {
        assertThrows(NullPointerException.class, () -> multimap().asMap().get(null));
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testAsMapRemove() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/MoreCollectors.java

      /**
       * A collector that converts a stream of zero or one elements to an {@code Optional}.
       *
       * @throws IllegalArgumentException if the stream consists of two or more elements.
       * @throws NullPointerException if any element in the stream is {@code null}.
       * @return {@code Optional.of(onlyElement)} if the stream has exactly one element (must not be
       *     {@code null}) and returns {@code Optional.empty()} if it has none.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMap.java

         * more than once, {@link #buildOrThrow} will fail, while {@link #buildKeepingLast} will keep
         * the last value put for that key.
         *
         * @throws NullPointerException if any key or value in {@code map} is null
         */
        @CanIgnoreReturnValue
        public Builder<K, V> putAll(Map<? extends K, ? extends V> map) {
          return putAll(map.entrySet());
        }
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

            this.sameSite = sameSite
          }
    
        fun build(): Cookie =
          Cookie(
            name ?: throw NullPointerException("builder.name == null"),
            value ?: throw NullPointerException("builder.value == null"),
            expiresAt,
            domain ?: throw NullPointerException("builder.domain == null"),
            path,
            secure,
            httpOnly,
            persistent,
            hostOnly,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Longs.java

       * @return the long value represented by {@code string}, or {@code null} if {@code string} has a
       *     length of zero or cannot be parsed as a long value
       * @throws NullPointerException if {@code string} is {@code null}
       * @since 14.0
       */
      public static @Nullable Long tryParse(String string) {
        return tryParse(string, 10);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMap.java

         * more than once, {@link #buildOrThrow} will fail, while {@link #buildKeepingLast} will keep
         * the last value put for that key.
         *
         * @throws NullPointerException if any key or value in {@code map} is null
         */
        @CanIgnoreReturnValue
        public Builder<K, V> putAll(Map<? extends K, ? extends V> map) {
          return putAll(map.entrySet());
        }
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            @Test
            @DisplayName("Should handle null buffer in decode")
            void testNullBuffer() {
                FileFsSizeInformation info = new FileFsSizeInformation();
    
                assertThrows(NullPointerException.class, () -> {
                    info.decode(null, 0, 0);
                });
            }
    
            @Test
            @DisplayName("Should handle insufficient buffer length")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

        }
    
        public void test_getMessage_withComplexCause() {
            // Test getMessage behavior with complex cause structure
            final Exception innerCause = new NullPointerException("NPE occurred");
            final Exception outerCause = new IllegalStateException("State error", innerCause);
            final JobProcessingException exception = new JobProcessingException(outerCause);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top