Java Agent not starting after disk out of space

Document ID : KB000084370
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
java.lang.NullPointerException
at com.uc4.ex.logging.LogService.fillInsert(LogService.java:686)
C:\automic\prod\agents\vwaswp01_ws_01\bin>"C:\Program Files\Java\jdk1.7.0_51\bin\java" -XX:-UseGCOverheadLimit -XX:-UseConcMarkSweepGC -jar -XX:PermSize=1024M -
XX:MaxPermSize=1024M -Xrs -Xmx1024M -Dautomic.ra.webservice.javac="C:\Program Files\Java\jdk1.7.0_51\bin\javac.exe" C:\automic\prod\agents\vwaswp01_ws_01\bin\uc
xjcitx.jar
java.lang.NullPointerException
at com.uc4.ex.logging.LogService.fillInsert(LogService.java:686)
at com.uc4.ex.logging.LogService.messageWithType(LogService.java:811)
at com.uc4.ex.logging.LogService.log(LogService.java:305)
at com.uc4.ex.cit.UCXJCITX.beforeExecutorStarts(UCXJCITX.java:152)
at com.uc4.ex.ExecutorLifecycle.startExecutor(ExecutorLifecycle.java:361
)
at com.uc4.ex.ExecutorLifecycle.execute(ExecutorLifecycle.java:97)
at com.uc4.ex.cit.UCXJCITX.main(UCXJCITX.java:96)
----------------------------------------------------------------------------------------

For the RA WS agent, Service Manager shows:

20140817/152455.984 - U0022004 Starting process 'VWASWP01_WS_01' ...
20140817/152455.984 - U0022005 ... with command line 'C:\Program Files\Java\jdk1.7.0_51\bin\java -XX:-UseGCOverheadLimit -XX:-UseConcMarkSweepGC -jar -XX:PermSize=1024M -XX:MaxPermSize=1024M -Xrs -Xmx1024M -Dautomic.ra.webservice.javac="C:\Program Files\Java\jdk1.7.0_51\bin\javac.exe" C:\automic\prod\agents\vwaswp01_ws_01\bin\ucxjcitx.jar'.
20140817/152455.984 - U0022006 ... and start directory 'C:\automic\prod\agents\vwaswp01_ws_01\bin'.
20140817/152455.985 - U0022007 Process 'VWASWP01_WS_01' (ID '3116') successfully started.
20140817/152521.988 - U0022023 No associated window can be found for process 'VWASWP01_WS_01'.
20140817/152521.988 - U0022012 Process 'VWASWP01_WS_01' (ID '3116') ended.
20140817/152521.988 - U0022022 Process 'VWASWP01_WS_01' ended, exit code='555'.

Java Agents not starting after the disk ran out of space.

The above error messages are seen when using 10.0.2 RA Core file and attempting to start a Java agent (Web Service) after the disk ran out of space.
Environment:
OS Version: N/A
Cause:
Cause type:
Other
Root Cause: This is caused by a bug where the agent ini file was emptied after the hard drive ran out of space on the server where the agent runs.
Resolution:
The resolution for this issue is:
  1. Go into AE UI where the agent is run
  2. Go to the System Overview, agents
  3. Right-click affected agent, choose Report
  4. Copy the lines for the ini file
  5. Paste these lines into the ini file
  6. Remove the timestamps and leading spaces
  7. Start the agent


Additional Information:
Workaround :
N/A