HomeSort by relevance Sort by last modified time
    Searched refs:NullPointerException (Results 926 - 950 of 1783) sorted by null

<<31323334353637383940>>

  /libcore/luni/src/test/java/libcore/java/lang/reflect/
MethodTest.java 53 } catch (NullPointerException npe) {
65 exceptions[0] = NullPointerException.class;
118 } catch (NullPointerException expected) {
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
AlgorithmParameterGenerator2Test.java 113 * throws NullPointerException must be thrown is null
121 fail("NullPointerException or NoSuchAlgorithmException should be thrown");
122 } catch (NullPointerException e) {
147 * throws NullPointerException must be thrown is null
158 fail("NullPointerException or NoSuchAlgorithmException should be thrown");
159 } catch (NullPointerException e) {
208 * throws NullPointerException must be thrown is null
218 fail("NullPointerException or NoSuchAlgorithmException should be thrown");
219 } catch (NullPointerException e) {
KeyStoreSpiTest.java 82 } catch (NullPointerException expected) {
88 } catch (NullPointerException expected) {
122 fail("KeyStoreException or NullPointerException must be thrown");
124 } catch (NullPointerException expected) {
KeyStore2Test.java 240 } catch (NullPointerException expected) {
357 } catch (NullPointerException expected) {
625 } catch (NullPointerException expected) {
661 } catch (NullPointerException expected) {
717 } catch (NullPointerException expected) {
741 } catch (NullPointerException expected) {
749 } catch (NullPointerException expected) {
    [all...]
  /libcore/luni/src/test/java/tests/api/java/lang/reflect/
ProxyTest.java 85 } catch (NullPointerException expected) {
92 } catch (NullPointerException expected) {
224 } catch (NullPointerException ex){
  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
KeyManagerFactory2Test.java 123 * throws NullPointerException when algorithm is null;
130 fail("NoSuchAlgorithmException or NullPointerException should be thrown (algorithm is null");
132 } catch (NullPointerException e) {
156 * throws NullPointerException when algorithm is null;
167 fail("NoSuchAlgorithmException or NullPointerException should be thrown (algorithm is null");
169 } catch (NullPointerException e) {
223 * throws NullPointerException when algorithm is null;
233 fail("NoSuchAlgorithmException or NullPointerException should be thrown (algorithm is null");
235 } catch (NullPointerException e) {
TrustManagerFactory2Test.java 113 * throws NullPointerException when algorithm is null;
120 fail("NoSuchAlgorithmException or NullPointerException should be thrown (algorithm is null");
122 } catch (NullPointerException e) {
148 * throws NullPointerException when algorithm is null;
157 fail("NoSuchAlgorithmException or NullPointerException should be thrown (algorithm is null");
159 } catch (NullPointerException e) {
215 * throws NullPointerException when algorithm is null;
223 fail("NoSuchAlgorithmException or NullPointerException should be thrown (algorithm is null");
225 } catch (NullPointerException e) {
  /libcore/luni/src/test/java/tests/api/javax/xml/parsers/
SAXParserFactoryTest.java 203 } catch (NullPointerException npe) {
204 fail("NullPointerException is thrown");
215 } catch (NullPointerException npe) {
216 fail("NullPointerException is thrown");
221 fail("NullPointerException is not thrown");
228 } catch (NullPointerException npe) {
  /libcore/luni/src/test/java/tests/security/cert/
CertPathBuilder2Test.java 108 * throws NullPointerException when algorithm is null
116 fail("NullPointerException or NoSuchAlgorithmException must be thrown when algorithm is null");
117 } catch (NullPointerException e) {
140 * throws NullPointerException when algorithm is null
151 fail("NullPointerException or NoSuchAlgorithmException must be thrown when algorithm is null");
152 } catch (NullPointerException e) {
206 * throws NullPointerException when algorithm is null
215 fail("NullPointerException or NoSuchAlgorithmException must be thrown when algorithm is null");
216 } catch (NullPointerException e) {
CertPathValidator2Test.java 104 * throws NullPointerException when algorithm is null throws
112 fail("NullPointerException or NoSuchAlgorithmException must be thrown when algorithm is null");
113 } catch (NullPointerException e) {
135 * method Assertions: throws NullPointerException when algorithm is null
146 fail("NullPointerException or NoSuchAlgorithmException must be thrown when algorithm is null");
147 } catch (NullPointerException e) {
194 * method Assertions: throws NullPointerException when algorithm is null
203 fail("NullPointerException or NoSuchAlgorithmException must be thrown when algorithm is null");
204 } catch (NullPointerException e) {
246 fail("NullPointerException must be thrown")
    [all...]
  /libcore/luni/src/test/java/tests/security/spec/
ECPointTest.java 56 * Assertion: throws <code>NullPointerException</code> if <code>x</code>or
59 * Expected: must throw <code>NullPointerException</code>
66 } catch (NullPointerException ok) {
74 } catch (NullPointerException ok) {
82 } catch (NullPointerException ok) {
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
TreeMapTest.java 379 fail("Should throw a NullPointerException");
380 } catch( NullPointerException npe) {
596 fail("Should throw a NullPointerException");
597 } catch( NullPointerException npe) {
679 fail("Should throw a NullPointerException");
680 } catch( NullPointerException npe) {
    [all...]
CollectionsTest.java 293 fail("Expected NullPointerException for null list parameter");
294 } catch (NullPointerException e) {
319 fail("Expected NullPointerException for null list parameter");
320 } catch (NullPointerException e) {
341 fail("Expected NullPointerException for null list first parameter");
342 } catch (NullPointerException e) {
347 fail("Expected NullPointerException for null list second parameter");
348 } catch (NullPointerException e) {
416 fail("Expected NullPointerException for null list parameter");
417 } catch (NullPointerException e)
    [all...]
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
CipherTest.java 407 fail("No expected NullPointerException");
408 } catch (NullPointerException e) {
426 fail("No expected NullPointerException");
427 } catch (NullPointerException e) {
449 fail("NullPointerException expected");
450 } catch (NullPointerException e) {
456 fail("NullPointerException expected for 'null' provider");
457 } catch (NullPointerException e) {
463 fail("NullPointerException expected for 'null' cipherSpi");
464 } catch (NullPointerException e)
    [all...]
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
KeyStore_Impl2Test.java 117 fail("NullPointerException must be thrown entry is null");
118 } catch (NullPointerException e) {
144 fail("IOException or NullPointerException must be thrown for null OutputStream");
146 } catch (NullPointerException e) {
295 * throws NullPointerException when type is null
305 fail("NullPointerException or KeyStoreException must be thrown");
307 } catch (NullPointerException e) {
330 * throws NullPointerException when type is null
342 fail("NullPointerException or KeyStoreException must be thrown");
344 } catch (NullPointerException e)
    [all...]
  /external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
SSLContext1Test.java 134 * throws NullPointerException when protocol is null; throws
140 fail("NoSuchAlgorithmException or NullPointerException should be thrown (protocol is null");
142 } catch (NullPointerException e) {
182 * method Assertion: throws NullPointerException when protocol is null;
192 fail("NoSuchAlgorithmException or NullPointerException should be thrown (protocol is null");
194 } catch (NullPointerException e) {
273 * method Assertion: throws NullPointerException when protocol is null;
283 fail("NoSuchAlgorithmException or NullPointerException should be thrown (protocol is null");
285 } catch (NullPointerException e) {
412 fail("NullPointerException should be thrown")
    [all...]
  /external/guava/guava-tests/test/com/google/common/cache/
EmptyCachesTest.java 92 fail("Expected NullPointerException");
93 } catch (NullPointerException e) {
104 fail("Expected NullPointerException");
105 } catch (NullPointerException e) {
120 } catch (NullPointerException e) {
197 } catch (NullPointerException e) {
274 } catch (NullPointerException e) {
  /libcore/luni/src/main/java/java/util/concurrent/
LinkedBlockingQueue.java 242 * @throws NullPointerException if the specified collection or any
253 throw new NullPointerException();
299 * @throws NullPointerException {@inheritDoc}
302 if (e == null) throw new NullPointerException();
340 * @throws NullPointerException {@inheritDoc}
345 if (e == null) throw new NullPointerException();
378 * @throws NullPointerException if the specified element is null
381 if (e == null) throw new NullPointerException();
616 * @throws NullPointerException if the specified array is null
683 * @throws NullPointerException {@inheritDoc
    [all...]
ScheduledThreadPoolExecutor.java 415 * @throws NullPointerException if {@code threadFactory} is null
432 * @throws NullPointerException if {@code handler} is null
451 * @throws NullPointerException if {@code threadFactory} or
495 * @throws NullPointerException {@inheritDoc}
501 throw new NullPointerException();
511 * @throws NullPointerException {@inheritDoc}
517 throw new NullPointerException();
527 * @throws NullPointerException {@inheritDoc}
535 throw new NullPointerException();
551 * @throws NullPointerException {@inheritDoc
    [all...]
ConcurrentSkipListMap.java 629 throw new NullPointerException();
655 throw new NullPointerException();
666 throw new NullPointerException();
683 throw new NullPointerException(); // don't postpone errors
    [all...]
  /libcore/luni/src/test/java/libcore/java/text/
OldMessageFormatTest.java 64 fail("NullPointerException was not thrown.");
65 } catch(NullPointerException npe) {
325 fail("Expected exception NullPointerException was not thrown");
326 } catch (NullPointerException e) {
425 fail("Expected NullPointerException was not thrown");
426 } catch (NullPointerException e) {
452 fail("NullPointerException was not thrown.");
453 } catch(NullPointerException npe) {
459 } catch(NullPointerException npe) {
460 fail("NullPointerException was thrown.")
    [all...]
OldSimpleDateFormatTest.java 108 fail("NullPointerException was not thrown.");
109 } catch(NullPointerException npe) {
135 fail("NullPointerException was not thrown.");
136 } catch(NullPointerException npe) {
192 fail("Expected NullPointerException for null pattern");
193 } catch (NullPointerException e) {
347 } catch (NullPointerException ex) {
467 fail("ParsePosition is null: NullPointerException was not thrown.");
468 } catch(NullPointerException pe) {
474 fail("String is null: NullPointerException was not thrown.")
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
KeyGeneratorTest.java 141 fail("NullPointerException must be thrown");
142 } catch (NullPointerException e) {
146 fail("NullPointerException or InvalidParameterException must be thrown");
148 } catch (NullPointerException e) {
154 * throws NullPointerException when algorithm is null throws
160 fail("NullPointerException or NoSuchAlgorithmException should be thrown if algorithm is null");
161 } catch (NullPointerException e) {
192 * throws NullPointerException when algorithm is null
204 fail("NullPointerException or NoSuchAlgorithmException should be thrown if algorithm is null");
205 } catch (NullPointerException e)
    [all...]
SecretKeyFactoryTest.java 140 fail("NullPointerException must be thrown");
141 } catch (NullPointerException e) {
148 * throws NullPointerException when algorithm is null;
154 fail("NullPointerException or NoSuchAlgorithmException should be thrown if algorithm is null");
155 } catch (NullPointerException e) {
188 * throws NullPointerException when algorithm is null;
199 fail("NullPointerException or NoSuchAlgorithmException should be thrown if algorithm is null");
200 } catch (NullPointerException e) {
278 * Assertion: throws NullPointerException when algorithm is null;
288 fail("NullPointerException or NoSuchAlgorithmException should be thrown if algorithm is null")
    [all...]
  /libcore/luni/src/test/java/tests/api/java/util/
CollectionsTest.java 276 fail("Expected NullPointerException for null list parameter");
277 } catch (NullPointerException e) {
301 fail("Expected NullPointerException for null list parameter");
302 } catch (NullPointerException e) {
331 fail("Expected NullPointerException for null list first parameter");
332 } catch (NullPointerException e) {
336 fail("Expected NullPointerException for null list second parameter");
337 } catch (NullPointerException e) {
437 fail("Expected NullPointerException for null list parameter");
438 } catch (NullPointerException e)
    [all...]

Completed in 975 milliseconds

<<31323334353637383940>>