You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using log4j 2.17.1 version and along we are using json template attached below. In some cases, we are not getting error traces in json format such as -:
{"time":"XXX","level":"XXX","module":"XXX","class":"XXX","message":"XXXX"}
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.rjil.cloud.drive.repository.SecDBRepository.getInstance(SecDBRepository.java:57)
at com.rjil.drive.sio.cons.bootstrap.SIOConsumerBootstrap.populateStorageCache(SIOConsumerBootstrap.java:105)
at com.rjil.drive.sio.cons.bootstrap.SIOConsumerBootstrap.preBootstrap(SIOConsumerBootstrap.java:74)
at com.rjil.drive.sio.cons.main.SIOConsumerInit.bootstrapRuntime(SIOConsumerInit.java:85)
at com.rjil.drive.sio.cons.main.SIOConsumerInit.main(SIOConsumerInit.java:36)
Caused by: ApplicationRepositoryException (a11db359-aca8-4943-a02b-4759966e596d): 500 Internal Server Error, SQL not found for query id :: sec.headless.schema
at com.rjil.cloud.drive.repository.SecDBRepository.<init>(SecDBRepository.java:44)
at com.rjil.cloud.drive.repository.SecDBRepository$Singleton.<clinit>(SecDBRepository.java:49)
... 5 more
Caused by: java.util.InvalidPropertiesFormatException: SQL not found for query id :: sec.headless.schema
at com.rjil.cloud.drive.repository.QueryLoader.getQuery(QueryLoader.java:107)
at com.rjil.cloud.drive.repository.SecDBRepository.<init>(SecDBRepository.java:38)
... 6 more
Exception in thread "main" java.lang.ExceptionInInitializerError
...
This does not look as the normal stack trace of a log event, but the output of Thread.UncaughtExceptionHandler. Are you sure this in the content of a log file and not on System.err?
Description
We are using log4j 2.17.1 version and along we are using json template attached below. In some cases, we are not getting error traces in json format such as -:
I have also attached my JsonTemplate.json as well along with this.
JsonTemplate.json
The text was updated successfully, but these errors were encountered: