Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 187 for causes (4.32 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

                fail();
            } catch (final MultipleCrawlingAccessException e) {
                // ok
                final Throwable[] causes = e.getCauses();
                assertEquals(5, causes.length);
            }
            assertEquals(1, testListener.startCount);
            assertEquals(5, testListener.requestCount);
            assertEquals(5, testListener.exceptionCount);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            assertTrue(bulkLine.contains("reading2"));
        }
    
        @Test(expected = SuggesterException.class)
        public void testCreateBulkLineWithNullItem() {
            // Test that null item causes exception
            SuggestUtil.createBulkLine("test_index", "_doc", null);
        }
    
        @Test
        public void testCreateDefaultReadingConverter() {
            // Test creating default reading converter
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/Dfs.java

            /* Samba has a tendency to return referral paths and pathConsumed values
             * in such a way that there can be a slash at the end of the path. This
             * causes problems matching keys in resolve() where an extra slash causes
             * a mismatch. This strips trailing slashes from all keys to eliminate
             * this problem.
             */
            int ki = key.length();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            @Test
            @DisplayName("Should handle empty buffer in readDataWireFormat")
            void testReadDataWireFormatEmptyBuffer() {
                byte[] buffer = new byte[0];
    
                // Empty buffer causes ArrayIndexOutOfBoundsException when trying to read
                assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                    response.readDataWireFormat(buffer, 0, 0);
                });
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            assertTrue(ex.getMessage().contains("Invalid kerberos request"));
        }
    
        @Test
        @DisplayName("seq ctor: unknown field tag causes failure")
        void sequenceConstructor_unknownField_throws() {
            // Arrange: only an unexpected tag is present
            ASN1EncodableVector v = new ASN1EncodableVector();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

        }
    
        /**
         * Builds a comprehensive error message from a throwable and its causes.
         * This method traverses the cause chain and concatenates all error messages.
         *
         * @param t the throwable to build message from
         * @return a string containing all error messages in the cause chain
         */
        protected String buildThrowableMessage(final Throwable t) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 15K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFileOutputStream.java

            this.openFlags &= ~(SmbConstants.O_CREAT | SmbConstants.O_TRUNC); /* in case we close and reopen */
            this.writeSize = sendBufferSize - 70;
    
            this.useNTSmbs = th.hasCapability(SmbConstants.CAP_NT_SMBS);
            if (!this.useNTSmbs) {
                log.debug("No support for NT SMBs");
            }
    
            // there seems to be a bug with some servers that causes corruption if using signatures +
            // CAP_LARGE_WRITE
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            UnsupportedOperationException ex = assertThrows(UnsupportedOperationException.class, iterator::remove);
            assertEquals("Not supported", ex.getMessage());
        }
    
        @Test
        @DisplayName("Null delegate causes NPE")
        void nullDelegate() {
            assertThrows(NullPointerException.class, () -> {
                new FileEntryAdapterIterator(parent, null, null) {
                    @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            assertDoesNotThrow(() -> {
                new MsrpcLookupSids(null, testSids);
            });
        }
    
        @Test
        void constructor_shouldThrowExceptionWithNullSids() {
            // Act & Assert - Null SID array causes NPE when accessing length
            assertThrows(NullPointerException.class, () -> {
                new MsrpcLookupSids(mockPolicyHandle, null);
            });
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            int c = -1;
            boolean eol = false;
    
            while (!eol) {
                switch (c = read()) {
                case -1:
                case '\n':
                    eol = true;
                    break;
                case '\r':
                    eol = true;
                    final long cur = this.fp;
                    if (read() != '\n') {
                        this.fp = cur;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top