Sign In with your
Trend Micro Account
Need Help?
Need More Help?

Create a technical support case if you need further support.

"HTTP Status 500 - java.lang.NullPointerException" appears in InterScan Web Security Virtual Appliance (IWSVA) 6.0

    • Updated:
    • 4 Mar 2015
    • Product/Version:
    • InterScan Web Security Virtual Appliance 6.0
    • Platform:
    • Bare Metal N/A
    • VMware ESX - 5.0
    • VMware ESX 4.1
    • VMware ESXi 5.1
    • VMware ESXi 5.5
Summary

You receive "HTTP Status 500 - java.lang.NullPointerException" error when:

Accessing the URL Filtering Global Policy

Go to the IWSVA web console > HTTP > URL Filtering > Polices > URL Filtering Global Policy.

URL Filtering Global Policy

Click image to enlarge.

Accessing the Virus/Malware Scan Rule tab

Go to the IWSVA web console > HTTP > Advanced Threat Protection > Policies > Virus Scan Global Policy > Virus/Malware Scan Rule.

Virus/Malware Scan Rule

Click image to enlarge.

Details
Public

Select the scenario where the issue is occuring:

InterScan Web Security Virtual Appliance (IWSVA) 6.0 can only support up to the maximum limit of 64 custom categories. When the user uses more than the custom category limit, the action taken from the database will encounter an error and HTTP Status 500 will appear on the console.

To resolve the issue, decrease the number of custom categories:

  1. Connect to the IWSVA server using SSH tool such as PuTTY.
  2. Log in as “root”.
  3. Run this command: “/etc/iscan/PostgreSQL/bin/psql iwss sa”.
  4. Run the following command to delete all the actions for custom categories in the database:

    iwss=# update tb_rule set "RuleValue" = 'url_category=11111101 11100111 00000010
    0000 10000000 00100000 00000000 10000110 00001001 01010110 11010000 00000000
    00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    00000000 0000000000000000 00000000|safe_search=00000000 00000000 00000000
    00000000| override_password=|time_quota=m|' where "PolicyID" = '2'; UPDATE 1

     
    Performing the command deletes all of the actions for custom categories. You need to re-apply the action from the previous policy settings.
     
  5. Check the IWSVA web console again. You should be able to see the URL Global Policy settings by now.

The error may be caused by corrupted files related to the page that is not showing up. Reset the whole page to resolve the issue:

  1. Connect to the IWSVA server using SSH tool such as PuTTY.
  2. Log in as “root”.
  3. Run this command: “/etc/iscan/PostgreSQL/bin/psql iwss sa”.
  4. Copy and paste the following sql command to reset the virus policy:

    update tb_rule set "RuleValue" = 'bot_action=1|ext_exclude_list=|action=clean|
    skiptype_enable_tft=false|wrs_use_scanflag=no|itrap_scan=yes|level=scanintelli|
    extract_limit_size=1G|enable_blocktype_inzip=yes|apt_action=2|max_synchronous_
    scan_size=65536|ext_additional_list=|trickle_max_size=819|phishing_action=1|
    block_types=|pharming_action=1|skipscanning=0|ucaction=delete|wrs_scoring_action=1|
    anti_phishing=yes|extract_limit_ratio=100|scan_huge_file=yes|password_protected_
    zip=pass|anti_cnc=yes|extract_limit_count=50000|scanthreats=0|decompress_layer_
    limit=10|anti_pharming=yes|macroscan=no|trickle_rate=1|other_block_types=|
    wrs_enable=yes|max_scan_size=10240|wrs_scoring=yes|skiptype=audio/x-wav audio/
    wav audio/microsoft-wave audio/x-mpeg audio/mpeg x-music/x-midi audio/mid video/
    mpeg video/quicktime video/x-msvideo video/avi video/x-ms-asf video/x-ms-wmv
    video/x-flv video/f4v video/mp4 image/x-icon image/jpeg image/gif image/x-xbitmap
    image/png image/vnd.microsoft.icon application/vnd.rn-realmedia|wrs_threshold=M|
    deferred_scanning=late|backupencode=yes|special_handling=yes|urlc_enable=yes|
    wrs_ctx_enable=yes|macro_act=|anti_apt=no|' where "PolicyID"=5;

  5. Enter “\q” to quit.
  6. Access the Virus/Malware Scan Rule tab again. You should be able to see the proper content of the IWSVA web UI.

Contact Trend Micro Technical Support if the issue persists.

Premium
Internal
Rating:
Category:
Configure; Troubleshoot
Solution Id:
1105051
Feedback
Did this article help you?

Thank you for your feedback!

To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.

If you need additional help, you may try to contact the support team. Contact Support


To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.


Need More Help?

Create a technical support case if you need further support.