DevTest - Cannot start ATK
search cancel

DevTest - Cannot start ATK

book

Article ID: 106187

calendar_today

Updated On:

Products

CA Continuous Application Insight (PathFinder) Service Virtualization

Issue/Introduction

Changing the java logging level cause the ATK to fail with this Exception:


java.lang.NullPointerException 
at com.itko.lisa.remote.client.AgentClient$2.compare(AgentClient.java:710) 
at com.itko.lisa.remote.client.AgentClient$2.compare(AgentClient.java:707) 
at java.util.TreeMap.compare(TreeMap.java:1295) 
at java.util.TreeMap.put(TreeMap.java:538) 
at java.util.TreeSet.add(TreeSet.java:255) 
at java.util.AbstractCollection.addAll(AbstractCollection.java:344) 
at java.util.TreeSet.addAll(TreeSet.java:312) 
at com.itko.lisa.remote.client.AgentClient.getAllAgentInfos(AgentClient.java:722) 
at com.itko.lisa.remote.devconsole.AgentConsole.buildNavMenu(AgentConsole.java:302) 
at com.itko.lisa.remote.devconsole.AgentConsole.setup(AgentConsole.java:204) 
at com.itko.lisa.remote.devconsole.AgentConsole.connect(AgentConsole.java:122) 
at com.itko.lisa.remote.devconsole.AgentConsole.<init>(AgentConsole.java:103) 
at com.itko.lisa.remote.devconsole.ConsoleFrame.<init>(ConsoleFrame.java:40) 
at com.itko.lisa.remote.devconsole.Main$1.run(Main.java:49) 
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301) 
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) 
at java.awt.EventQueue.access$500(EventQueue.java:97) 
at java.awt.EventQueue$3.run(EventQueue.java:709) 
at java.awt.EventQueue$3.run(EventQueue.java:703) 
at java.security.AccessController.doPrivileged(Native Method) 
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) 
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) 
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) 
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) 
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) 
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) 
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) 
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) 
 

Environment

All supported DevTest releases.

Cause

This issue is caused by an invalid value for the property lisa.agent.java.logging.level

 

Resolution

In the LISA_HOME/rules.xml, the value "ERROR" is invalid for this property 

<property comment="The minimum level at which logging statements will be captured (inclusive) - see java.util.logging.Level for values" key="lisa.agent.java.logging.level" value="ERROR"/> 

Valid values are: OFF, SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST, ALL

Additional Information

The rules.xml file is located in the LISA_HOME directory on the computer where the broker is running. The rules.xml file is generated when the broker is started for the first time. All agents that are connected to the broker use the settings.