Home
last modified time | relevance | path

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

12345678910>>...32

/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 …]
DMapDefaultMethodTester.java66 } catch (NullPointerException expected) { in test_forEach()
94 } catch (NullPointerException expected) { in test_putIfAbsent()
106 } catch (NullPointerException expected) { in test_putIfAbsent()
140 } catch (NullPointerException expected) {} in test_remove()
168 } catch (NullPointerException expected) {} in test_replace$K$V$V()
180 } catch (NullPointerException expected) {} in test_replace$K$V$V()
204 } catch (NullPointerException expected) {} in test_replace$K$V()
215 } catch (NullPointerException expected) {} in test_replace$K$V()
242 } catch (NullPointerException expected) {} in test_computeIfAbsent()
258 } catch (NullPointerException expected) {} in test_computeIfAbsent()
[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.java218 } catch (NullPointerException expected) { in test_readFully$BII_NullArray()
225 } catch (NullPointerException expected) { in test_readFully$BII_NullArray()
232 } catch (NullPointerException expected) { in test_readFully$BII_NullArray()
243 } catch (NullPointerException expected) { in test_readFully$BII_NullArray()
250 } catch (NullPointerException e) { in test_readFully$BII_NullArray()
257 } catch (NullPointerException e) { in test_readFully$BII_NullArray()
264 } catch (NullPointerException e) { in test_readFully$BII_NullArray()
279 } catch (NullPointerException expected) { in test_readFully$BII_NullStream()
286 } catch (NullPointerException expected) { in test_readFully$BII_NullStream()
293 } 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.java79 throw new NullPointerException("uri == null"); in getIndex()
82 throw new NullPointerException("localName == null"); in getIndex()
93 throw new NullPointerException("qName == null"); in getIndex()
104 throw new NullPointerException("uri == null"); in getType()
107 throw new NullPointerException("localName == null"); in getType()
118 throw new NullPointerException("uri == null"); in getValue()
121 throw new NullPointerException("localName == null"); in getValue()
132 throw new NullPointerException("qName == null"); in getValue()
/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()
324 throw new NullPointerException("decryptKey is null"); in getKeySpec()
352 throw new NullPointerException("decryptKey is null"); in getKeySpec()
355 throw new NullPointerException("provider is null"); in getKeySpec()
386 throw new NullPointerException("decryptKey is null"); in getKeySpec()
389 throw new NullPointerException("provider is null"); in getKeySpec()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DInflaterOutputStreamTest.java46 } catch (NullPointerException e) { in test_ConstructorLjava_io_OutputStream()
60 } catch (NullPointerException e) { in test_ConstructorLjava_io_OutputStreamLjava_util_zip_Inflater()
67 } catch (NullPointerException e) { in test_ConstructorLjava_io_OutputStreamLjava_util_zip_Inflater()
81 } catch (NullPointerException e) { in test_ConstructorLjava_io_OutputStreamLjava_util_zip_InflaterI()
88 } catch (NullPointerException e) { in test_ConstructorLjava_io_OutputStreamLjava_util_zip_InflaterI()
95 } catch (NullPointerException e) { in test_ConstructorLjava_io_OutputStreamLjava_util_zip_InflaterI()
102 } catch (NullPointerException e) { in test_ConstructorLjava_io_OutputStreamLjava_util_zip_InflaterI()
311 } catch (NullPointerException e) { in test_write_$BII_Illegal()
317 } catch (NullPointerException e) { in test_write_$BII_Illegal()
323 } catch (NullPointerException e) { in test_write_$BII_Illegal()
[all …]
/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()
DSchemaFactory.java207 throw new NullPointerException("schemaLanguage == null"); in newInstance()
209 throw new NullPointerException("factoryClassName == null"); in newInstance()
270 throw new NullPointerException("name == null"); in getFeature()
318 throw new NullPointerException("name == null"); in setFeature()
345 throw new NullPointerException("name == null"); in setProperty()
376 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 …]

12345678910>>...32