Paste number 59806: xulrunner exceptions after upgrading to hardy

Index of paste annotations: 1

Paste number 59806: xulrunner exceptions after upgrading to hardy
Pasted by: dbs
7 months, 4 days ago
#openils-evergreen | Context in IRC logs
Paste contents:
Raw Source | XML | Display As
So I can log into the staff client fine, but here's what I get in system dump when I bring up the register patron screen (after the tabs on the left hand panel load, but before any content is displayed in the main panel).

The XULRunner version seems okay:

build$ xulrunner --version
Mozilla XULRunner 1.8.1.13_0000000000

but Firefox on Hardy is 3.0 beta 5, so maybe the underlying libs have introduced stricter security? Grr.

Here's the pertinent system dump exception:

-----------------------------------------
1209320946374        delta = 2        D_ERROR
util.browser.get_content(): [Exception... "Security Manager vetoed action"  nsresult: "0x80570027 (NS_ERROR_XPC_SECURITY_MANAGER_VETO)"  location: "JS frame :: http://biblio-dev.laurentian.ca/xul/20080403.202117/server/main/JSAN.js :: anonymous :: line 307"  data: no]

Annotations for this paste:

Annotation number 1: And confirming the problem on a different server...
Pasted by: dbs
7 months, 4 days ago
Context in IRC logs
Paste contents:
Raw Source | Display As
Here's the error I get on the Javascript console (running against a server with trunk from about two weeks ago) - so I think it's a Hardy xulrunner problem (possibly more XUL permissions required?):

Error: [Exception... "'Permission denied to get property UnnamedClass.classes' when calling method: [nsIDOMEventListener::handleEvent]"  nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)"  location: "<unknown>"  data: no]

and the terminal dump...

1209328978510        delta = 20        D_ERROR
util.browser.get_content(): [Exception... "Security Manager vetoed action"  nsresult: "0x80570027 (NS_ERROR_XPC_SECURITY_MANAGER_VETO)"  location: "JS frame :: http://localhost/xul/20080419.225908/server/main/JSAN.js :: anonymous :: line 307"  data: no]
-----------------------------------------
-----------------------------------------
1209328978511        delta = 1        D_ERROR
util.browser.progresslistener.onstatechange: {"message":"obj.get_content() has no properties","fileName":"http://localhost/xul/20080419.225908/server/main/JSAN.js","lineNumber":406,"stack":"([object XPCWrappedNative_NoHelper],[object XPCWrappedNative_NoHelper],65540,0)@http://localhost/xul/20080419.225908/server/main/JSAN.js:406\n@:0\n","name":"TypeError"}

Colorize as:
Show Line Numbers
Index of paste annotations: 1

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.