Home
last modified time | relevance | path

Searched refs:NullPointerException (Results 1 – 25 of 1030) sorted by relevance

12345678910>>...42

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DDESKeySpecTest.java24 import java.lang.NullPointerException;
111 } catch (NullPointerException e) { in testDESKeySpec()
119 } catch (NullPointerException e) { in testDESKeySpec()
125 } catch (NullPointerException e) { in testDESKeySpec()
134 } catch (NullPointerException e) { in testDESKeySpec()
142 } catch (NullPointerException e) { in testDESKeySpec()
148 } catch (NullPointerException e) { in testDESKeySpec()
204 } catch (NullPointerException e) { in testIsParityAdjusted()
214 } catch (NullPointerException e) { in testIsParityAdjusted()
223 } catch (NullPointerException e) { in testIsParityAdjusted()
[all …]
DDESedeKeySpecTest.java25 import java.lang.NullPointerException;
48 } catch (NullPointerException e) { in testDESedeKeySpec()
56 } catch (NullPointerException e) { in testDESedeKeySpec()
64 } catch (NullPointerException e) { in testDESedeKeySpec()
73 } catch (NullPointerException e) { in testDESedeKeySpec()
83 } catch (NullPointerException e) { in testDESedeKeySpec()
91 } catch (NullPointerException e) { in testDESedeKeySpec()
149 } catch (NullPointerException e) { in testIsParityAdjusted()
161 } catch (NullPointerException e) { in testIsParityAdjusted()
171 } catch (NullPointerException e) { in testIsParityAdjusted()
[all …]
DIvParameterSpecTest.java25 import java.lang.NullPointerException;
49 } catch(NullPointerException e) { in testIvParameterSpec1()
72 } catch(NullPointerException e) { in testIvParameterSpec2()
83 } catch(NullPointerException e) { in testIvParameterSpec2()
94 } catch(NullPointerException e) { in testIvParameterSpec2()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DOldFileChannelTest.java314 } catch (NullPointerException e) { in test_read$LByteBufferII_Null()
320 } catch (NullPointerException e) { in test_read$LByteBufferII_Null()
326 } catch (NullPointerException e) { in test_read$LByteBufferII_Null()
332 } catch (NullPointerException e) { in test_read$LByteBufferII_Null()
338 } catch (NullPointerException e) { in test_read$LByteBufferII_Null()
345 } catch (NullPointerException e) { in test_read$LByteBufferII_Null()
351 } catch (NullPointerException e) { in test_read$LByteBufferII_Null()
357 } catch (NullPointerException e) { in test_read$LByteBufferII_Null()
363 } catch (NullPointerException e) { in test_read$LByteBufferII_Null()
369 } catch (NullPointerException e) { in test_read$LByteBufferII_Null()
[all …]
/libcore/luni/src/test/java/libcore/java/lang/
DOldThrowableTest.java25 NullPointerException npe = new NullPointerException(); in test_ConstructorLStringLThrowable()
41 NullPointerException npe = new NullPointerException(); in test_ConstructorLThrowable()
73 NullPointerException npe = new NullPointerException(); in test_getStackTrace()
81 NullPointerException npe = new NullPointerException(); in test_initCause()
117 NullPointerException npe = new NullPointerException(); in test_setStackTrace()
127 } catch(NullPointerException np) { in test_setStackTrace()
DOldRuntimeExceptionTest.java26 NullPointerException npe = new NullPointerException(); in test_ConstructorLStringLThrowable()
39 NullPointerException npe = new NullPointerException(); in test_ConstructorLThrowable()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DBufferedOutputStreamTest.java60 } catch (NullPointerException e) { in test_flush_Constructor_NullStream()
66 } catch (NullPointerException e) { in test_flush_Constructor_NullStream()
74 } catch (NullPointerException e) { in test_flush_Constructor_NullStream()
80 } catch (NullPointerException e) { in test_flush_Constructor_NullStream()
173 } catch (NullPointerException e) { in test_write_$BII_Exception()
180 } catch (NullPointerException e) { in test_write_$BII_Exception()
187 } catch (NullPointerException e) { in test_write_$BII_Exception()
194 } catch (NullPointerException e) { in test_write_$BII_Exception()
201 } catch (NullPointerException e) { in test_write_$BII_Exception()
208 } catch (NullPointerException e) { in test_write_$BII_Exception()
[all …]
DDataInputStreamTest.java219 } catch (NullPointerException expected) { in test_readFully$BII_NullArray()
226 } catch (NullPointerException expected) { in test_readFully$BII_NullArray()
233 } catch (NullPointerException expected) { in test_readFully$BII_NullArray()
244 } catch (NullPointerException expected) { in test_readFully$BII_NullArray()
251 } catch (NullPointerException e) { in test_readFully$BII_NullArray()
258 } catch (NullPointerException e) { in test_readFully$BII_NullArray()
265 } catch (NullPointerException e) { in test_readFully$BII_NullArray()
280 } catch (NullPointerException expected) { in test_readFully$BII_NullStream()
287 } catch (NullPointerException expected) { in test_readFully$BII_NullStream()
294 } catch (NullPointerException expected) { in test_readFully$BII_NullStream()
[all …]
/libcore/ojluni/src/test/java/util/Collections/
DWrappedNull.java50 catch (NullPointerException e) { in main()
60 catch (NullPointerException e) { in main()
70 catch (NullPointerException e) { in main()
80 catch (NullPointerException e) { in main()
90 catch (NullPointerException e) { in main()
100 catch (NullPointerException e) { in main()
110 catch (NullPointerException e) { in main()
120 catch (NullPointerException e) { in main()
130 catch (NullPointerException e) { in main()
140 catch (NullPointerException e) { in main()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DStringTokenizerTest.java33 } catch(NullPointerException npe) { in test_ConstructorLjava_lang_String()
53 } catch (NullPointerException e) { in test_ConstructorLjava_lang_StringLjava_lang_String()
76 } catch (NullPointerException e) { in test_ConstructorLjava_lang_StringLjava_lang_StringZ()
207 } catch (NullPointerException e) { in test_nextTokenLjava_lang_String()
218 } catch (NullPointerException e) { in test_hasMoreElements_NPE()
226 } catch (NullPointerException e) { in test_hasMoreElements_NPE()
237 } catch (NullPointerException e) { in test_hasMoreTokens_NPE()
245 } catch (NullPointerException e) { in test_hasMoreTokens_NPE()
256 } catch (NullPointerException e) { in test_nextElement_NPE()
264 } catch (NullPointerException e) { in test_nextElement_NPE()
[all …]
/libcore/ojluni/src/test/java/util/Arrays/
DSetAllTest.java174 } catch (NullPointerException npe) { in testStringSetNulls()
180 } catch (NullPointerException npe) { in testStringSetNulls()
186 } catch (NullPointerException npe) { in testStringSetNulls()
192 } catch (NullPointerException npe) { in testStringSetNulls()
203 } catch (NullPointerException npe) { in testIntSetNulls()
209 } catch (NullPointerException npe) { in testIntSetNulls()
215 } catch (NullPointerException npe) { in testIntSetNulls()
221 } catch (NullPointerException npe) { in testIntSetNulls()
232 } catch (NullPointerException npe) { in testLongSetNulls()
238 } catch (NullPointerException npe) { in testLongSetNulls()
[all …]
/libcore/luni/src/test/java/libcore/java/io/
DFilterInputStreamNullSourceTest.java53 } catch (NullPointerException expected) { in testCipherInputStream()
61 } catch (NullPointerException expected) { in testCipherInputStream()
82 } catch (NullPointerException expected) { in testInflaterInputStream()
87 } catch (NullPointerException expected) { in testInflaterInputStream()
92 } catch (NullPointerException expected) { in testInflaterInputStream()
125 } catch (NullPointerException expected) { in assertReadsFailWithNullPointerException()
131 } catch (NullPointerException expected) { in assertReadsFailWithNullPointerException()
137 } catch (NullPointerException expected) { in assertReadsFailWithNullPointerException()
/libcore/ojluni/src/test/java/math/BigInteger/
DOperatorNpeTests.java42 public void testOperatorsNpe() throws NullPointerException { in testOperatorsNpe()
50 } catch (NullPointerException npe) { in testOperatorsNpe()
57 } catch (NullPointerException npe) { in testOperatorsNpe()
64 } catch (NullPointerException npe) { in testOperatorsNpe()
71 } catch (NullPointerException npe) { in testOperatorsNpe()
/libcore/luni/src/main/java/org/apache/harmony/xml/
DExpatAttributes.java85 throw new NullPointerException("uri == null"); in getIndex()
88 throw new NullPointerException("localName == null"); in getIndex()
99 throw new NullPointerException("qName == null"); in getIndex()
110 throw new NullPointerException("uri == null"); in getType()
113 throw new NullPointerException("localName == null"); in getType()
124 throw new NullPointerException("uri == null"); in getValue()
127 throw new NullPointerException("localName == null"); in getValue()
138 throw new NullPointerException("qName == null"); in getValue()
/libcore/ojluni/src/test/java/nio/channels/Channels/
DBasic.java66 } catch (NullPointerException npe) {} in test()
71 } catch (NullPointerException npe) {} in test()
76 } catch (NullPointerException ne) {} // OK. As expected. in test()
81 } catch (NullPointerException ne) {} // OK. As expected. in test()
100 } catch (NullPointerException npe) {} in test()
105 } catch (NullPointerException npe) {} in test()
111 } catch (NullPointerException npe) {} in test()
116 } catch (NullPointerException npe) {} in test()
122 } catch (NullPointerException npe) {} in test()
127 } catch (NullPointerException npe) {} in test()
[all …]
/libcore/ojluni/src/main/java/javax/crypto/
DEncryptedPrivateKeyInfo.java80 throw new NullPointerException("the encoded parameter " + in EncryptedPrivateKeyInfo()
135 throw new NullPointerException("the algName parameter " + in EncryptedPrivateKeyInfo()
140 throw new NullPointerException("the encryptedData " + in EncryptedPrivateKeyInfo()
176 throw new NullPointerException("algParams must be non-null"); in EncryptedPrivateKeyInfo()
181 throw new NullPointerException("encryptedData must be non-null"); in EncryptedPrivateKeyInfo()
304 throw new NullPointerException("decryptKey is null"); in getKeySpec()
332 throw new NullPointerException("decryptKey is null"); in getKeySpec()
335 throw new NullPointerException("provider is null"); in getKeySpec()
366 throw new NullPointerException("decryptKey is null"); in getKeySpec()
369 throw new NullPointerException("provider is null"); in getKeySpec()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DNullPointerExceptionTest.java27 NullPointerException e = new NullPointerException(); in test_Constructor()
37 NullPointerException e = new NullPointerException("fixture"); in test_ConstructorLjava_lang_String()
/libcore/luni/src/test/java/libcore/java/nio/file/
DInvalidPathExceptionTest.java54 } catch (NullPointerException expected) {} in test_Constructor$String$String$Int()
61 } catch (NullPointerException expected) {} in test_Constructor$String$String$Int()
68 } catch (NullPointerException expected) {} in test_Constructor$String$String$Int()
75 } catch (NullPointerException expected) {} in test_Constructor$String$String$Int()
91 } catch (NullPointerException expected) {} in test_Constructor$String$String()
97 } catch (NullPointerException expected) {} in test_Constructor$String$String()
DSimpleFileVisitorTest.java42 } catch (NullPointerException expected) {} in test_preVisitDirectory()
47 } catch (NullPointerException expected) {} in test_preVisitDirectory()
60 } catch (NullPointerException expected) {} in test_postVisitDirectory()
80 } catch (NullPointerException expected) {} in test_visitFile()
85 } catch (NullPointerException expected) {} in test_visitFile()
96 } catch (NullPointerException expected) { in test_visitFileFailed()
103 } catch (NullPointerException expected) { in test_visitFileFailed()
/libcore/ojluni/src/test/java/util/Collection/
DSetFactories.java202 @Test(expectedExceptions=NullPointerException.class)
207 @Test(expectedExceptions=NullPointerException.class)
212 @Test(expectedExceptions=NullPointerException.class)
217 @Test(expectedExceptions=NullPointerException.class)
222 @Test(expectedExceptions=NullPointerException.class)
227 @Test(expectedExceptions=NullPointerException.class)
232 @Test(expectedExceptions=NullPointerException.class)
237 @Test(expectedExceptions=NullPointerException.class)
242 @Test(expectedExceptions=NullPointerException.class)
247 @Test(expectedExceptions=NullPointerException.class)
[all …]
/libcore/ojluni/src/test/java/util/List/
DListFactories.java182 @Test(expectedExceptions=NullPointerException.class)
187 @Test(expectedExceptions=NullPointerException.class)
192 @Test(expectedExceptions=NullPointerException.class)
197 @Test(expectedExceptions=NullPointerException.class)
202 @Test(expectedExceptions=NullPointerException.class)
207 @Test(expectedExceptions=NullPointerException.class)
212 @Test(expectedExceptions=NullPointerException.class)
217 @Test(expectedExceptions=NullPointerException.class)
222 @Test(expectedExceptions=NullPointerException.class)
227 @Test(expectedExceptions=NullPointerException.class)
[all …]
/libcore/luni/src/test/java/libcore/java/util/
DArraysTest.java63 } catch (NullPointerException expected) { in setAll$I()
69 } catch (NullPointerException expected) { in setAll$I()
91 } catch (NullPointerException expected) { in parallelSetAll$I()
97 } catch (NullPointerException expected) { in parallelSetAll$I()
119 } catch (NullPointerException expected) { in setAll$L()
125 } catch (NullPointerException expected) { in setAll$L()
147 } catch (NullPointerException expected) { in parallelSetAll$L()
153 } catch (NullPointerException expected) { in parallelSetAll$L()
175 } catch (NullPointerException expected) { in setAll$D()
181 } catch (NullPointerException expected) { in setAll$D()
[all …]
/libcore/ojluni/src/test/java/util/Properties/
DLoadAndStoreNPE.java47 } catch (NullPointerException e) { in main()
54 } catch (NullPointerException e) { in main()
61 } catch (NullPointerException e) { in main()
68 } catch (NullPointerException e) { in main()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DArrayTest.java130 } catch (NullPointerException e) { in test_getBooleanLjava_lang_ObjectI()
176 } catch (NullPointerException e) { in test_getByteLjava_lang_ObjectI()
222 } catch (NullPointerException e) { in test_getCharLjava_lang_ObjectI()
269 } catch (NullPointerException e) { in test_getDoubleLjava_lang_ObjectI()
315 } catch (NullPointerException e) { in test_getFloatLjava_lang_ObjectI()
361 } catch (NullPointerException e) { in test_getIntLjava_lang_ObjectI()
427 } catch (NullPointerException e) { in test_getLongLjava_lang_ObjectI()
473 } catch (NullPointerException e) { in test_getShortLjava_lang_ObjectI()
497 } catch (NullPointerException e) { in test_newInstanceLjava_lang_Class$I()
542 } catch (NullPointerException e) { in test_newInstanceLjava_lang_ClassI()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DInflaterOutputStreamTest.java57 } catch (NullPointerException e) { in test_ConstructorLjava_io_OutputStream()
72 } catch (NullPointerException e) { in test_ConstructorLjava_io_OutputStreamLjava_util_zip_Inflater()
79 } catch (NullPointerException e) { in test_ConstructorLjava_io_OutputStreamLjava_util_zip_Inflater()
96 } catch (NullPointerException e) { in test_ConstructorLjava_io_OutputStreamLjava_util_zip_InflaterI()
103 } catch (NullPointerException e) { in test_ConstructorLjava_io_OutputStreamLjava_util_zip_InflaterI()
110 } catch (NullPointerException e) { in test_ConstructorLjava_io_OutputStreamLjava_util_zip_InflaterI()
117 } catch (NullPointerException e) { in test_ConstructorLjava_io_OutputStreamLjava_util_zip_InflaterI()
338 } catch (NullPointerException e) { in test_write_$BII_Illegal()
344 } catch (NullPointerException e) { in test_write_$BII_Illegal()
350 } catch (NullPointerException e) { in test_write_$BII_Illegal()
[all …]

12345678910>>...42