java.lang.NullPointerException

Java.net JIRA | rogerk | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    A bundled 2.2 JSF application (war) fails to deploy on WLS 12.1.2. The stacktrace is as follows: weblogic.management.DeploymentException: java.lang.NullPointerException at weblogic.application.internal.BaseDeployment.throwAppException(BaseDeployment.java:123) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:260) at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:48) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80) Truncated. see log file for complete stacktrace Caused By: java.lang.NullPointerException at com.sun.faces.config.DbfFactory$FacesEntityResolver.<init>(DbfFactory.java:470) at com.sun.faces.config.DbfFactory.<clinit>(DbfFactory.java:175) at com.sun.faces.config.DbfFactory$FacesEntityResolver.<clinit>(DbfFactory.java:360) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) Truncated. see log file for complete stacktrace Line 470 refers to a static array: for (String[] aDTD_SCHEMA_INFO : DTD_SCHEMA_INFO) which is defined as: private static final String[][] DTD_SCHEMA_INFO = { ... Interestingly enough, JSF 2.1 bundled in the same app deploys fine on WLS 12.1.2, and JSF 2.1 has the same static. But WLS 12.1.2 also ships with JSF 2.1. All this hints that this could be a class loading issue (change) in WLS 12.1.2.

    Java.net JIRA | 4 years ago | rogerk
    java.lang.NullPointerException
  2. 0

    NullPointerException while creating Jasper Report

    Stack Overflow | 5 years ago | saloni
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    location_of_the_amc.properties_file

    Google Groups | 4 years ago | ranjith
    java.lang.NullPointerException
  5. 0

    A bug in hcatalog?

    incubator-hcatalog-user | 4 years ago | 徐冰
    org.apache.hadoop.hive.ql.parse.SemanticException: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.sun.faces.config.DbfFactory$FacesEntityResolver.<init>()
    2. JSF
      DbfFactory$FacesEntityResolver.<clinit>
      1. com.sun.faces.config.DbfFactory$FacesEntityResolver.<init>(DbfFactory.java:470)
      2. com.sun.faces.config.DbfFactory.<clinit>(DbfFactory.java:175)
      3. com.sun.faces.config.DbfFactory$FacesEntityResolver.<clinit>(DbfFactory.java:360)
      3 frames
    3. Java RT
      Class.forName
      1. java.lang.Class.forName0(Native Method)
      2. java.lang.Class.forName(Class.java:264)
      2 frames