java.lang.Exception when starting DevTest components

book

Article ID: 103605

calendar_today

Updated On:

Products

CA Application Test Service Virtualization CA Continuous Application Insight (PathFinder)

Issue/Introduction

Seeing the following exception when starting DevTest components:

[main] DEBUG com.itko.lisa.internal         - Environment created from 
java.lang.Exception: Environment created from 
    at com.itko.lisa.test.Environment.<init>(Environment.java:751)
    at com.itko.lisa.test.Environment.<init>(Environment.java:731)
    at com.itko.lisa.gui.TestManager.main(TestManager.java:112)
    at com.itko.lisa.gui.LISAWorkstation.main(LISAWorkstation.java:16)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
    at com.exe4j.runtime.WinLauncher.main(Unknown Source)
    at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)

Cause

This exception is a DEBUG level log statement that just allows us to see who instantiated the Environment object. It is not a real exception.
This message is printed for every component during startup when the log level is set to DEBUG.

Environment

All Supported DevTest releases.

Resolution

To not see this exception in the log files, modify the logging.properties file and set the log level to INFO or WARN as below:
log4j.rootCategory=WARN,A1