1. Home
  2. »
  3. Exception types
  4. »
  5. java
  6. »
  7. java.lang
  8. »
  9. NullPointerException

NullPointerException crashes

Collection of 136968 web pages containing stack traces of java.lang.NullPointerException

Thrown when an application attempts to use null in a case where an object is required. Good starting points to learn more are the official documentation or this StackOverflow answer.

This exception is likely to come directly from the code you wrote. Here you find a few tips how to prevent NullPointerExceptions in your code.

There are other frequent cases worth highlighting:

Find a solution to your bug with our map

We found 136968 bugs on the web resulting in java.lang.NullPointerException.

We visualize these cases as a tree for easy understanding. We place your stack trace on this tree so you can find similar ones. The top nodes are generic cases, the leafs are the specific stack traces.

Paste your stack trace to find solutions with our map.

or go through the whole list of bugs manually to find yours

This list contains all the bugs that lead to this exception. Click through to see the discussions about them.

Compared to this, finding a needle in a haystack is child's play.

  1. Exceptions with result filtering

    via Eclipse Bugzilla by andrew_johnson2 months ago
  2. [jira] [Resolved] (ODE-716) NullPointerException when binding message parts to SOAP header

    via ode-dev by Sathwik Bantwal Premakumar (JIRA)2 months ago
  3. error - nullPointerException

    via Oracle Community by 8437892 months ago
  4. JBPM 6.4: GC overhead limit exceeded

    via Google Groups by Gul Md Ershad2 months ago
  5. [JIRA] (JENKINS-54656) cvs plugin broken - not possible to add new projects

    via Google Groups by rolf.of...@gmx.net (JIRA)2 months ago
  6. [JIRA] (JENKINS-54664) Error while trying to update completion status in TFS/Team Services

    via Google Groups by rafael.c...@gmail.com (JIRA)2 months ago
  7. [ANN] Clojure 1.10.0-RC1 (please test!)

    via Google Groups by Alex Miller2 months ago
    null
  8. NPE at org.apache.kafka.streams.processor.internals.StreamTask.<init>(StreamTask.java:198)

    via Google Groups by Levani Kokhreidze2 months ago
    null#012
  9. CDAP- Test Framework- Throw `java.lang.NoSuchMethodError` with Hadoop version 2.7.3

    via Google Groups by Dhruv Goyal2 months ago
  10. [JIRA] (JENKINS-54615) Periodic java.lang.NullPointerException when collecting details for Pipeline builds

    via Google Groups by stu...@ea.com (JIRA)2 months ago