Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[EOL/EOE] [NSM] Attack Update failing with java.lang.ArithmeticException message



Article ID: KB28472 KB Last Updated: 18 Oct 2020Version: 2.0

Note: A product listed in this article has either reached hardware End of Life (EOL) OR software End of Engineering (EOE).  Refer to End of Life Products & Milestones for the EOL, EOE, and End of Support (EOS) dates.

Attack Update fails with an error message: java.lang.ArithmeticException: / by zero.

This article provides a solution to fix this issue.


Attack Update fails with an error message;

Error Code:

Error Text:
See Details to know about Error

Error Details:

java.lang.ArithmeticException: / by zero

Please follow these instructions to solve the issue.

  1. Change the URL in Tools->Preferences->Attack Object->Download URL for Junos XML versions from
  2. Stop the  GUI server. For more information on how to do this, see KB11263 - Proper order for starting and stopping NSM services.

  3. Edit the the value of versionURL to https in file /var/netscreen/GuiSvr/be/cfg/be_cfg.txt


    After modifying the value it should look like this:

  4. :versionURL("<versions>/Manifest/<attackversion>/manifest.xml")

  6. Restart the GUI server and relaunch NSM Client.

  7. Execute an Attack Update.

Modification History:
2020-10-18: Tagged article for EOL/EOE.
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search