- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 60 for NullPointerException (0.38 sec)
-
src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java
} @Test @DisplayName("createResponse throws NullPointerException when CIFSContext is null") void createResponse_nullContext_throws() { // Arrange Smb2LogoffRequest req = newRequest(); // Act/Assert assertThrows(NullPointerException.class, () -> req.createResponse(null, req)); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
@Test @DisplayName("renameTo should throw NullPointerException for null destination") void testRenameTo_NullDestination() throws CIFSException { // Given doThrow(new NullPointerException("dest argument is null")).when(mockResource).renameTo(null); // When/Then assertThrows(NullPointerException.class, () -> mockResource.renameTo(null),Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
*/ @Test @DisplayName("Test constructor throws NullPointerException with null configuration") public void testConstructorWithNullConfig() { // When & Then - should throw NullPointerException since ServerMessageBlock calls config.getPid() NullPointerException exception = assertThrows(NullPointerException.class, () -> { smbComTreeDisconnect = new SmbComTreeDisconnect(null); });Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java
System.out.println(ex.getMessage()); } /** * @throws Exception */ @Test public void testGetCause() throws Exception { final Throwable t = new NullPointerException("test"); final ClRuntimeException ex = new ClRuntimeException("ECL0017", asArray(t), t); assertThat(ex.getCause(), is(t)); ex.printStackTrace(); }
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
DcerpcBind bindWithNullBinding = new DcerpcBind(null, mockHandle); // When/Then assertThrows(NullPointerException.class, () -> { bindWithNullBinding.encode_in(mockBuffer); }, "Should throw NullPointerException when binding is null"); } @Test @DisplayName("encode_in should use default constructor values")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
// Then assertNotNull(cancel); assertEquals(mid, cancel.getMid()); } @Test @DisplayName("Should throw NullPointerException when config is null") void testNullConfigurationThrowsException() throws Exception { // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
assertNotNull(nullBufferResponse); // But trying to read data should cause NullPointerException byte[] buffer = new byte[10]; assertThrows(NullPointerException.class, () -> nullBufferResponse.readDataWireFormat(buffer, 0, 5)); } @Test void testReadDataWireFormatWithNegativeLength() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
} @Test @DisplayName("readParameterWordsWireFormat with null buffer - throws NullPointerException") void testReadParameterWordsWithNullBuffer() { assertThrows(NullPointerException.class, () -> response.readParameterWordsWireFormat(null, 0)); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K bytes - Viewed (0)