MLausberg commented on issue #1741:
URL:
https://github.com/apache/logging-log4j2/issues/1741#issuecomment-1698933433
When logging is working a class Breakpoint on "EnvironmentPropertySource"
lead to this stack trace and when logging does not work the breakpoint is not
hit.
```
Daemon Thread [Start Level: Equinox Container:
3abe5d12-1e59-42c3-aab9-20b2d289b59e] (Class load: EnvironmentPropertySource)
owns: Object (id=54)
Class<T>.getDeclaredConstructors0(boolean) line: not available [native
method]
Class<T>.privateGetDeclaredConstructors(boolean) line: not available
Class<T>.getConstructor0(Class<?>[], int) line: not available
Class<T>.getConstructor(Class<?>...) line: not available
ServiceLoader$1.run() line: not available
ServiceLoader$1.run() line: not available
AccessController.executePrivileged(PrivilegedExceptionAction<T>,
AccessControlContext, Class<?>) line: not available
AccessController.doPrivileged(PrivilegedExceptionAction<T>) line: not
available
ServiceLoader<S>.getConstructor(Class<?>) line: not available
ServiceLoader$LazyClassPathLookupIterator<T>.hasNextService() line: not
available
ServiceLoader$LazyClassPathLookupIterator<T>.hasNext() line: not
available
ServiceLoader$2.hasNext() line: not available
ServiceLoader$3.hasNext() line: not available
ServiceLoaderUtil$ServiceLoaderSpliterator<S>.tryAdvance(Consumer<?
super S>) line: 156
ServiceLoaderUtil$ServiceLoaderSpliterator<S>(Spliterator<T>).forEachRemaining(Consumer<?
super T>) line: not available
Streams$ConcatSpliterator$OfRef<T>(Streams$ConcatSpliterator<T,T_SPLITR>).forEachRemaining(Consumer<?
super T>) line: not available
ReferencePipeline$2(AbstractPipeline<E_IN,E_OUT,S>).copyInto(Sink<P_IN>,
Spliterator<P_IN>) line: not available
ReferencePipeline$2(AbstractPipeline<E_IN,E_OUT,S>).wrapAndCopyInto(S,
Spliterator<P_IN>) line: not available
ForEachOps$ForEachOp$OfRef<T>(ForEachOps$ForEachOp<T>).evaluateSequential(PipelineHelper<T>,
Spliterator<S>) line: not available
ForEachOps$ForEachOp$OfRef<T>.evaluateSequential(PipelineHelper,
Spliterator) line: not available
ReferencePipeline$2(AbstractPipeline<E_IN,E_OUT,S>).evaluate(TerminalOp<E_OUT,R>)
line: not available
ReferencePipeline$2(ReferencePipeline<P_IN,P_OUT>).forEach(Consumer<?
super P_OUT>) line: not available
PropertiesUtil$Environment.<init>(PropertySource) line: 467
PropertiesUtil$Environment.<init>(PropertySource, PropertiesUtil$1)
line: 444
PropertiesUtil.<init>(PropertySource) line: 88
PropertiesUtil.<init>(String, boolean) line: 80
PropertiesUtil.<clinit>() line: 56
Constants.<clinit>() line: 30
AbstractLogger.createClassForProperty(String,
Class<ReusableMessageFactory>, Class<ParameterizedMessageFactory>) line: 203
AbstractLogger.<clinit>() line: 92
Activator.<clinit>() line: 51
NativeConstructorAccessorImpl.newInstance0(Constructor<?>, Object[])
line: not available [native method]
NativeConstructorAccessorImpl.newInstance(Object[]) line: not available
DelegatingConstructorAccessorImpl.newInstance(Object[]) line: not
available
Constructor<T>.newInstanceWithCaller(Object[], boolean, Class<?>) line:
not available
Constructor<T>.newInstance(Object...) line: not available
BundleContextImpl.loadBundleActivator() line: 801
BundleContextImpl.start() line: 753
EquinoxBundle.startWorker0() line: 1032
EquinoxBundle$EquinoxModule.startWorker() line: 371
EquinoxBundle$EquinoxModule(Module).doStart(Module$StartOptions...)
line: 605
EquinoxBundle$EquinoxModule(Module).start(Module$StartOptions...) line:
468
ModuleContainer$ContainerStartLevel$2.run() line: 1852
EquinoxContainerAdaptor$1$1.execute(Runnable) line: 136
ModuleContainer$ContainerStartLevel.incStartLevel(int, List<Module>,
boolean) line: 1845
ModuleContainer$ContainerStartLevel.incStartLevel(int, List<Module>,
List<Module>, List<Module>, List<Module>) line: 1788
ModuleContainer$ContainerStartLevel.doContainerStartLevel(Module, int,
FrameworkListener...) line: 1750
ModuleContainer$ContainerStartLevel.dispatchEvent(Module,
FrameworkListener[], int, Integer) line: 1672
ModuleContainer$ContainerStartLevel.dispatchEvent(Object, Object, int,
Object) line: 1
EventManager.dispatchEvent(Set<Entry<K,V>>, EventDispatcher<K,V,E>,
int, E) line: 234
EventManager$EventThread<K,V,E>.run() line: 345
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]