## Uses of Class
java.lang.NullPointerException

- Packages that use NullPointerException
  Package | Description
  --- | ---
  java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.
  java.awt.print | Provides classes and interfaces for a general printing API.
  javax.management | Provides the core classes for the Java Management Extensions.
  org.xml.sax.helpers | This package contains "helper" classes, including support for bootstrapping SAX-based applications.

- - ### Uses of NullPointerException in java.awt

    Methods in java.awt that throw NullPointerException
    Modifier and Type | Method and Description
    --- | ---
    `void` | SplashScreen.`setImageURL(URL imageURL)` Changes the splash screen image.

  - ### Uses of NullPointerException in java.awt.print

    Methods in java.awt.print that throw NullPointerException
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | PrinterJob.`setPageable(Pageable document)` Queries `document` for the number of pages and the `PageFormat` and `Printable` for each page held in the `Pageable` instance, `document`.

  - ### Uses of NullPointerException in javax.management

    Methods in javax.management that throw NullPointerException
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | ObjectName.`apply(ObjectName name)` Test whether this ObjectName, which may be a pattern, matches another ObjectName.
    `static ObjectName` | ObjectName.`getInstance(ObjectName name)` Return an instance of ObjectName that can be used anywhere the given object can be used.
    `static ObjectName` | ObjectName.`getInstance(String name)` Return an instance of ObjectName that can be used anywhere an object obtained with `new ObjectName(name)` can be used.
    `static ObjectName` | ObjectName.`getInstance(String domain, Hashtable<String,String> table)` Return an instance of ObjectName that can be used anywhere an object obtained with `new ObjectName(domain, table)` can be used.
    `static ObjectName` | ObjectName.`getInstance(String domain, String key, String value)` Return an instance of ObjectName that can be used anywhere an object obtained with `new ObjectName(domain, key, value)` can be used.
    `String` | ObjectName.`getKeyProperty(String property)` Obtains the value associated with a key in a key property.
    `boolean` | ObjectName.`isPropertyValuePattern(String property)` Checks whether the value associated with a key in a key property is a pattern.
    `static String` | ObjectName.`quote(String s)` Returns a quoted form of the given String, suitable for inclusion in an ObjectName.
    `static String` | ObjectName.`unquote(String q)` Returns an unquoted form of the given String.

    Constructors in javax.management that throw NullPointerException
    Constructor and Description
    `ObjectName(String name)` Construct an object name from the given string.
    `ObjectName(String domain, Hashtable<String,String> table)` Construct an object name with several key properties from a Hashtable.
    `ObjectName(String domain, String key, String value)` Construct an object name with exactly one key property.

  - ### Uses of NullPointerException in org.xml.sax.helpers

    Methods in org.xml.sax.helpers that throw NullPointerException
    Modifier and Type | Method and Description
    --- | ---
    `static Parser` | ParserFactory.`makeParser()` Deprecated. Create a new SAX parser using the `org.xml.sax.parser' system property.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.