Subject.doAs() has thrown a NullPointerException

java.lang.NullPointerException
Javadoc
Thrown when an application attempts to use {@code null} in a case where an object is required. These include:
  • Calling the instance method of a {@code null} object.
  • Accessing or modifying the field of a {@code null} object.
  • Taking the length of {@code null} as if it were an array.
  • Accessing or modifying the slots of {@code null} as if it were an array.
  • Throwing {@code null} as if it were a {@code Throwable} value.

Applications should throw instances of this class to indicate other illegal uses of the {@code null} object. {@code NullPointerException} objects may be constructed by the virtual machine as if {@linkplain Throwable#Throwable(String, Throwable, boolean, boolean) suppression were disabled and/or the stack trace was not writable}. @author unascribed @since JDK1.0

at org.apache.hadoop.io.serializer.SerializationFactory.getSerializer
(source)
at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.<init>
(source)
at org.apache.hadoop.mapred.MapTask$NewOutputCollector.<init>
(source)
at org.apache.hadoop.mapred.MapTask.runNewMapper
(source)
at org.apache.hadoop.mapred.MapTask.run
(source)
at org.apache.hadoop.mapred.Child$4.run
at java.security.AccessController.doPrivileged
(source)
at javax.security.auth.Subject.doAs
(source)
7 frames hidden

Typical Exception Messages

  1. <No message>

Origin

SerializationFactory.getSerializer() has thrown a NullPointerException

java.lang.NullPointerException
org.apache.hadoop.io.serializer.SerializationFactory.getSerializer
21Web pages

Similar

Specific cases

External results for this pattern (11)

  1. jojobavia Stack Overflow4 months ago
    No message found for this stack trace.
    Show stack trace
  2. No message found for this stack trace.
    Show stack trace
  3. louisvia Stack Overflow5 months ago
    No message found for this stack trace.
    Show stack trace
  4. David Ginzburgvia avro-user1 year ago
    No message found for this stack trace.
    Show stack trace
  5. Artem Ervitsvia avro-user1 year ago
    No message found for this stack trace.
    Show stack trace
  6. David Ginzburgvia avro-user1 year ago
    No message found for this stack trace.
    Show stack trace
  7. ÐΞ€ρ@Ҝ (๏̯͡๏)via avro-user1 year ago
    No message found for this stack trace.
    Show stack trace
  8. ÐΞ€ρ@Ҝ (๏̯͡๏)via avro-user1 year ago
    No message found for this stack trace.
    Show stack trace
  9. David Ginzburgvia avro-user1 year ago
    No message found for this stack trace.
    Show stack trace
  10. Artem Ervitsvia avro-user1 year ago
    No message found for this stack trace.
    Show stack trace