java.lang.ExceptionInInitializerError

Stack Overflow | Cybermonk | 11 months 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

    Microservice properties can't be found in Intellij Idea on Mac (with README defaults)

    GitHub | 2 years ago | piotrpietrzak
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'propertySourceBootstrapConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private java.util.List org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.propertySourceLocators; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fileSystemLocator' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.FileSystemLocator]: Factory method 'fileSystemLocator' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appCoordinates' defined in com.ofg.infrastructure.property.ExternalPropertiesConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ofg.infrastructure.property.AppCoordinates]: Factory method 'appCoordinates' threw exception; nested exception is java.lang.NullPointerException: No APP_ENV property found. Good candidates are: 'dev', 'prod-01', etc.
  2. 0

    Wont load

    GitHub | 2 years ago | hamsterfat
    java.lang.NullPointerException: Unknown locale: en (Possible causes: plugin does not have it or was reloaded)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 3876#152867960

    GitHub | 2 years ago | spragues-trulia
    java.lang.NullPointerException: maxSize is null
  5. 0

    ChatControl NonPremium

    GitHub | 2 years ago | MrBeefchop
    java.lang.NullPointerException: Unknown locale: en (Possible causes: plugin does not have it or was reloaded)
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 Configuration was provided

    at java.util.Objects.requireNonNull()
  2. Java RT
    Objects.requireNonNull
    1. java.util.Objects.requireNonNull(Objects.java:228)
    1 frame
  3. Apache Log4j Core
    Log4jContextFactory.getContext
    1. org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:477)
    2. org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:561)
    3. org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:577)
    4. org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:212)
    5. org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:242)
    6. org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
    6 frames
  4. Apache Log4j API
    LogManager.getLogger
    1. org.apache.logging.log4j.LogManager.getContext(LogManager.java:174)
    2. org.apache.logging.log4j.LogManager.getLogger(LogManager.java:618)
    2 frames
  5. empire.erp.server
    GatewayClient.logIn
    1. empire.erp.server.commons.logging.LogHandler.<clinit>(LogHandler.java:17)
    2. empire.erp.server.subsystem.gateway.GatewayClient.logIn(GatewayClient.java:34)
    2 frames
  6. web.empire.erp
    ServerAccessor.contextInitialized
    1. web.empire.erp.startup.ServerAccessor.contextInitialized(ServerAccessor.java:40)
    1 frame
  7. Glassfish Core
    ContainerBase$StartChild.call
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4811)
    2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5251)
    3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
    4. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
    5. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
    5 frames
  8. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames