Home
last modified time | relevance | path

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

12345678910>>...34

/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/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/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/ojluni/src/main/java/java/security/spec/
DRSAMultiPrimePrivateCrtKeySpec.java100 throw new NullPointerException("the modulus parameter must be " + in RSAMultiPrimePrivateCrtKeySpec()
104 throw new NullPointerException("the publicExponent parameter " + in RSAMultiPrimePrivateCrtKeySpec()
108 throw new NullPointerException("the privateExponent parameter " + in RSAMultiPrimePrivateCrtKeySpec()
112 throw new NullPointerException("the primeP parameter " + in RSAMultiPrimePrivateCrtKeySpec()
116 throw new NullPointerException("the primeQ parameter " + in RSAMultiPrimePrivateCrtKeySpec()
120 throw new NullPointerException("the primeExponentP parameter " + in RSAMultiPrimePrivateCrtKeySpec()
124 throw new NullPointerException("the primeExponentQ parameter " + in RSAMultiPrimePrivateCrtKeySpec()
128 throw new NullPointerException("the crtCoefficient parameter " + in RSAMultiPrimePrivateCrtKeySpec()
DRSAOtherPrimeInfo.java78 throw new NullPointerException("the prime parameter must be " + in RSAOtherPrimeInfo()
82 throw new NullPointerException("the primeExponent parameter " + in RSAOtherPrimeInfo()
86 throw new NullPointerException("the crtCoefficient parameter " + in RSAOtherPrimeInfo()
/libcore/luni/src/test/java/libcore/java/util/
DArraysTest.java41 } catch (NullPointerException expected) { in test_setAll$I()
47 } catch (NullPointerException expected) { in test_setAll$I()
68 } catch (NullPointerException expected) { in test_parallelSetAll$I()
74 } catch (NullPointerException expected) { in test_parallelSetAll$I()
95 } catch (NullPointerException expected) { in test_setAll$L()
101 } catch (NullPointerException expected) { in test_setAll$L()
122 } catch (NullPointerException expected) { in test_parallelSetAll$L()
128 } catch (NullPointerException expected) { in test_parallelSetAll$L()
149 } catch (NullPointerException expected) { in test_setAll$D()
155 } catch (NullPointerException expected) { in test_setAll$D()
[all …]
/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/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/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/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()
DSecurityExceptionTest.java50 NullPointerException npe = new NullPointerException(); in test_ConstructorLjava_lang_StringLjava_lang_Throwable()
61 NullPointerException npe = new NullPointerException(); in test_ConstructorLjava_lang_Throwable()
/libcore/luni/src/main/java/org/apache/harmony/xml/
DExpatAttributes.java84 throw new NullPointerException("uri == null"); in getIndex()
87 throw new NullPointerException("localName == null"); in getIndex()
98 throw new NullPointerException("qName == null"); in getIndex()
109 throw new NullPointerException("uri == null"); in getType()
112 throw new NullPointerException("localName == null"); in getType()
123 throw new NullPointerException("uri == null"); in getValue()
126 throw new NullPointerException("localName == null"); in getValue()
137 throw new NullPointerException("qName == null"); in getValue()
/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/main/java/java/lang/
DNullPointerException.java53 class NullPointerException extends RuntimeException { class
59 public NullPointerException() { in NullPointerException() method in NullPointerException
69 public NullPointerException(String s) { in NullPointerException() method in NullPointerException
/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/net/
DURISyntaxExceptionTest.java32 } catch (NullPointerException npe) { in test_ConstructorLjava_lang_StringLjava_lang_StringI()
39 } catch (NullPointerException npe) { in test_ConstructorLjava_lang_StringLjava_lang_StringI()
64 } catch (NullPointerException npe) { in test_ConstructorLjava_lang_StringLjava_lang_String()
71 } catch (NullPointerException npe) { in test_ConstructorLjava_lang_StringLjava_lang_String()
/libcore/luni/src/test/java/libcore/java/net/
DOldURITest.java114 } catch(NullPointerException expected) { in test_relativizeLjava_net_URI()
123 } catch(NullPointerException expected) { in test_resolveLjava_net_URI()
132 } catch(NullPointerException expected) { in test_resolveLjava_lang_String()
147 } catch(NullPointerException expected) { in test_ConstructorLjava_lang_String()
/libcore/luni/src/main/java/javax/xml/validation/
DValidatorHandler.java351 throw new NullPointerException("name == null"); in getFeature()
386 throw new NullPointerException("name == null"); in setFeature()
417 throw new NullPointerException("name == null"); in setProperty()
450 throw new NullPointerException("name == null"); in getProperty()
/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>>...34