Proxy settings change, cannot download patches, java.lang.NullPointerException

  • 3861124
  • 28-Feb-2008
  • 10-Jun-2013

Environment

Novell ZENworks 10 Configuration Management
Patch Management

Situation

Cannot download any vulnerabilities
ERROR:"java.lang.NullPointerException"
zpm/log.txt contains:
->Checking for done.txt file present.
->done.txt file found, deleted it.
->filePKGLIST deleted.
Getting PatchIndex:http://cdn.patchlink.com/novell/pulsar.xml.
stProxyUPwd= none.
Got PatchIndex OK:
http://cdn.patchlink.com/novell/pulsar.xml.
NumLists: 0.
java.lang.NullPointerException
PLApp run Error: java.lang.NullPointerException
--- PLApp reset ---
->--- PLApp Completed ---.
Completed Silent autostart run.

Resolution

This is fixed in version 10.0.3 - see KB 3486285 "Updates to ZENworks 10 Configuration Management" which can be found at https://www.novell.com/support

As a workaround:
  1. First go toConfiguration->Patch Management Services tab and check if the "Is Configured" column is set to "yes" for"Configure Http Proxy". If it is not, then you have a different issue, and this workaround is not going to help.
  2. If "Is Configured" is set to"yes" for "Configure Http Proxy", then Click on the "Configure Http Proxy" link and check if there is any value. If there is a value, then this is being used for your proxy, remove it and go to step 7.
  3. If the value for the configured http proxy is blank, then go to a command prompt and do the following to get the zenadmin username and password (assuming that you are using the default database: if you have a remote database, you should already have the login details and can skip this step).
    1. type zman dgc
    2. Enter your ZCC Administrator credentials.
    3. After successful login it should give you the zenadmin user and password
  4. Once you get the Database credentials, Type dbisql from the command prompt and login using the above credentials (if you are using the default database), otherwise login to your remote DB as required.
  5. From the SQL command window run the following SQL Commands
    1. truncate table HTTPPROXY
    2. commit
  6. Go to>/zpm/props and openprops.txtand make sure the following values are present for the name value pairs listed below (the order of these items within the file is not significant).
    proxyhost,none
    proxyport,none
    proxyuser,none
    proxyon,no
    proxyauth,no
  7. Reboot your system and reschedule the download and wait for the download to start.
  8. Check thezpm/distdirectory a minute after the scheduled time (you should see files appearing here as they are downloaded) and wait for about 45 minutes (depending on download speed, machine availability, etc.) to see all the packages and vulnerabilities in ZCC.

Status

Reported to Engineering

Feedback service temporarily unavailable. For content questions or problems, please contact Support.