Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 471 for NullPointerException (0.19 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

          assertBitEquals(0.0, aa.get(i));
        }
      }
    
      /** constructor with null array throws NPE */
      public void testConstructor2NPE() {
        double[] a = null;
        assertThrows(NullPointerException.class, () -> new AtomicDoubleArray(a));
      }
    
      /** constructor with array is of same size and has all elements */
      public void testConstructor2() {
        AtomicDoubleArray aa = new AtomicDoubleArray(VALUES);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_2x.md

        cancelation.
     *  Fix: When a network interceptor mutates a request, that change is now
        reflected in `Response.networkResponse()`.
     *  Fix: Badly-behaving caches now throw a checked exception instead of a
        `NullPointerException`.
     *  Fix: Better handling of uncaught exceptions in MockWebServer with HTTP/2.
    
    ## Version 2.3.0
    
    _2015-03-16_
    
     *  **HTTP/2 support.** We've done interop testing and haven't seen any
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeMultiset.java

          AvlNode<E> root = rootReference.get();
          if (!range.contains(e) || root == null) {
            return 0;
          }
          return root.count(comparator(), e);
        } catch (ClassCastException | NullPointerException e) {
          return 0;
        }
      }
    
      @CanIgnoreReturnValue
      @Override
      public int add(@ParametricNullness E element, int occurrences) {
        checkNonnegative(occurrences, "occurrences");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                buffer = new DfsReferralRequestBuffer(path, maxReferralLevel);
                assertNotNull(buffer);
    
                // Will throw NPE when trying to call size() or encode()
                assertThrows(NullPointerException.class, () -> {
                    buffer.size();
                });
            }
    
            @ParameterizedTest
            @DisplayName("Should handle various referral levels")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

         *         obtained, the returned version range's recommended version is set to <code>null</code>.
         *         </p>
         * @throws NullPointerException if the specified <code>VersionRange</code> is
         *                              <code>null</code>.
         */
        public VersionRange restrict(VersionRange restriction) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 19K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbResource.java

         *
         * @param dest
         *            An <code>SmbResource</code> that represents the new pathname
         * @throws CIFSException if an error occurs renaming the resource
         * @throws NullPointerException
         *             If the <code>dest</code> argument is <code>null</code>
         */
        void renameTo(SmbResource dest) throws CIFSException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  7. android/guava/src/com/google/common/collect/Iterators.java

       * necessary.
       *
       * <p>The returned iterator supports {@code remove()} when the corresponding input iterator
       * supports it.
       *
       * @throws NullPointerException if any of the provided iterators is null
       */
      @SafeVarargs
      public static <T extends @Nullable Object> Iterator<T> concat(Iterator<? extends T>... inputs) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 50.5K bytes
    - Viewed (0)
  8. CHANGELOG.md

     *  Fix: Don't close a `Deflater` while we're still using it to compress a web socket message. We
        had a severe bug where web sockets were closed on the wrong thread, which caused
        `NullPointerException` crashes in `Deflater`.
    
     *  Fix: Don't crash after a web socket fails its connection upgrade. We incorrectly released
        the web socket's connections back to the pool before their resources were cleaned up.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
  9. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            TestWebApiManager manager = new TestWebApiManager("/api");
    
            try {
                manager.process(null, null, null);
                assertTrue(manager.isProcessCalled());
            } catch (NullPointerException e) {
                // Expected for some implementations
            }
        }
    
        public void test_process_withStatusCodeSetting() throws IOException, ServletException {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

        @Override
        public OutputStream openStream() {
          return ByteStreams.nullOutputStream();
        }
      }
    
      // Compare by toString() to satisfy 2 properties:
      // 1. compareTo(null) should throw NullPointerException
      // 2. the order is deterministic and easy to understand, for debugging purpose.
      @SuppressWarnings("ComparableType")
      private static final class ByToString implements Comparable<Object>, Serializable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 20.9K bytes
    - Viewed (0)
Back to top