weblogic.management.DeploymentException: java.lang.NullPointerException

Java.net JIRA | rogerk | 3 years ago
  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 | 3 years ago | rogerk
    weblogic.management.DeploymentException: java.lang.NullPointerException
  2. 0

    deploy JBPM6 on weblogic, i face this exception following exception?

    Stack Overflow | 3 years ago | user3493588
    weblogic.management.DeploymentException: java.lang.LinkageError: loader constraint violation: loader (instance of sun/misc/Launcher$AppClassLoader) previously initiated loading for a different type with name "javax/ws/rs/core/Variant$VariantListBuilder"
  3. 0

    db:: 3.57::Problem when deploying war file with maven dependencies 7p

    hivmr.com | 11 months ago
    weblogic.management.DeploymentException: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [SampleExtension] with qualifiers [@Default] at injection point [[field] @Inject private test.ApplicationBean.extension]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    We upgraded to WL 12 and encountered the following error while server startup

    Oracle Community | 2 years ago | 2892148
    weblogic.management.DeploymentException: java.lang.NoSuchMethodError: com.google.common.collect.ForwardingMap: method <init>()V not found
  6. 0

    WebLogic 12.1.2 fails when injecting extension in jar into bean in same jar

    Oracle Community | 3 years ago | Arjan-Tijms
    weblogic.management.DeploymentException: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [SampleExtension] with qualifiers [@Default] at injection point [[field] @Inject private test.ApplicationBean.extension]

    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. weblogic.management.DeploymentException

      java.lang.NullPointerException

      at weblogic.application.internal.BaseDeployment.throwAppException()
    2. weblogic.application.internal
      DeploymentStateChecker.activate
      1. weblogic.application.internal.BaseDeployment.throwAppException(BaseDeployment.java:123)
      2. weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:260)
      3. weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:48)
      4. weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
      4 frames
    3. weblogic.deploy.internal
      AppContainerInvoker.activate
      1. weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
      1 frame