Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for NPE (0.01 sec)

  1. guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java

          // GWT's TreeMap.entrySet().removeAll(null) doesn't throws NPE.
        }
      }
    
      @Override
      public void testEntrySetRetainAllNullFromEmpty() {
        try {
          super.testEntrySetRetainAllNullFromEmpty();
        } catch (RuntimeException tolerated) {
          // GWT's TreeMap.entrySet().retainAll(null) doesn't throws NPE.
        }
      }
    
      @Override
      public void testKeySetRemoveAllNullFromEmpty() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ForMapMultimapAsMapImplementsMapTest.java

          // GWT's HashMap.entrySet().removeAll(null) doesn't throws NPE.
        }
      }
    
      @Override
      public void testEntrySetRetainAllNullFromEmpty() {
        try {
          super.testEntrySetRetainAllNullFromEmpty();
        } catch (RuntimeException tolerated) {
          // GWT's HashMap.entrySet().retainAll(null) doesn't throws NPE.
        }
      }
    
      @Override
      public void testKeySetRemoveAllNullFromEmpty() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java

          // GWT's TreeMap.entrySet().removeAll(null) doesn't throws NPE.
        }
      }
    
      @Override
      public void testEntrySetRetainAllNullFromEmpty() {
        try {
          super.testEntrySetRetainAllNullFromEmpty();
        } catch (RuntimeException tolerated) {
          // GWT's TreeMap.entrySet().retainAll(null) doesn't throws NPE.
        }
      }
    
      @Override
      public void testKeySetRemoveAllNullFromEmpty() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

       * documentation.
       */
      public void add(Runnable runnable, Executor executor) {
        // Fail fast on a null. We throw NPE here because the contract of Executor states that it throws
        // NPE on null listener, so we propagate that contract up into the add method as well.
        checkNotNull(runnable, "Runnable was null.");
        checkNotNull(executor, "Executor was null.");
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/ExecutionList.java

       * documentation.
       */
      public void add(Runnable runnable, Executor executor) {
        // Fail fast on a null. We throw NPE here because the contract of Executor states that it throws
        // NPE on null listener, so we propagate that contract up into the add method as well.
        checkNotNull(runnable, "Runnable was null.");
        checkNotNull(executor, "Executor was null.");
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

            } catch (final NullPointerException e) {
                // This is expected if the implementation requires a non-null context
                assertTrue("NPE is acceptable for null context in this implementation", true);
            }
        }
    
        private CustomSize createBasicAnnotation() {
            return new CustomSize() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java

        }
    
        public void test_toString() {
            // Test toString method
            String message = "Dictionary parse error";
            Exception cause = new NullPointerException("NPE occurred");
            DictionaryException exception = new DictionaryException(message, cause);
    
            String toStringResult = exception.toString();
            assertNotNull(toStringResult);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java

            // Test throwing and catching the exception with cause
            String expectedMessage = "Job execution failed with error";
            Throwable expectedCause = new NullPointerException("NPE occurred");
            boolean exceptionCaught = false;
    
            try {
                throw new ScheduledJobException(expectedMessage, expectedCause);
            } catch (ScheduledJobException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

            assertTrue(exception1.getCause() instanceof java.io.IOException);
    
            StorageException exception2 = new StorageException("NPE", new NullPointerException("Null reference"));
            assertTrue(exception2.getCause() instanceof NullPointerException);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K 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