[wpkg-users] [Bug 137] New: WSH: 'null' is null or not an object

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Mon Dec 22 19:48:36 CET 2008


http://bugzilla.wpkg.org/show_bug.cgi?id=137

           Summary: WSH: 'null' is null or not an object
           Product: WPKG
           Version: 1.1.x-M
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: wpkg.js
        AssignedTo: mangoo at wpkg.org
        ReportedBy: M8R-a3p0t1 at mailinator.com
         QAContact: wpkg-users at lists.wpkg.org


This bug occurs when WPKG is synced with a profile that is later deleted. For
example, my hosts.xml contains a single "host" with several profiles (and each
profile contains several packages).

I decided one of the profiles was unnecessary, so I deleted it from
profiles.xml AND removed the reference from hosts.xml. The clients still
remember the profile, however. And then cscript throws this error (using the
WPKG service) which can be seen in the Windows Event Viewer:


Source: WSH
Event ID: 1

Message: 'null' is null or not an object
Description: 'null' is null or not an object
Error number: 800a138f
Stack: undefined
Line: undefined


And a few lines later in the event log:


Source: WpkgService
Event ID: 1

Script execution: error. Exit code: 2


When this happens, wpkg fails to process any newly updated packages.

Deleting C:\windows\system32\wpkg.xml (or removing the offending profile &
package lines) is a simple work-around.


-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the wpkg-users mailing list