Closed Bug 278415 Opened 20 years ago Closed 20 years ago

Web Services can't handle array [@ nsArrayEncoder::Decode]

Categories

(Core Graveyard :: Web Services, defect)

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 271560

People

(Reporter: boci, Unassigned)

References

()

Details

(Keywords: crash)

Crash Data

I created this small web services. It's make a request and if you press the
search button and the answare is an array wich contain the result rows.

It's not work in firefox or mozilla (tested both lastest, and many peopole (in
IRC #developers channel)). It's going to crash, the whole application.
Here is the full debug output:
http://paste.phpfi.com/45945

Cow
nsArrayEncoder::Decode 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/extensions/webservices/soap/src/nsDefaultSOAPEncoder.cpp,
line 2975]
nsDefaultEncoder::Decode 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/extensions/webservices/soap/src/nsDefaultSOAPEncoder.cpp,
line 2098]
nsSOAPEncoding::Decode 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/extensions/webservices/soap/src/nsSOAPEncoding.cpp,
line 337]
DecodeStructParticle 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/extensions/webservices/soap/src/nsDefaultSOAPEncoder.cpp,
line 2205]
DecodeStructParticle 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/extensions/webservices/soap/src/nsDefaultSOAPEncoder.cpp,
line 2263]
nsStructEncoder::Decode 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/extensions/webservices/soap/src/nsDefaultSOAPEncoder.cpp,
line 2409]
nsAnyTypeEncoder::Decode 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/extensions/webservices/soap/src/nsDefaultSOAPEncoder.cpp,
line 2140]
nsDefaultEncoder::Decode 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/extensions/webservices/soap/src/nsDefaultSOAPEncoder.cpp,
line 2098]
nsSOAPEncoding::Decode 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/extensions/webservices/soap/src/nsSOAPEncoding.cpp,
line 337]
nsSOAPBlock::GetValue 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/extensions/webservices/soap/src/nsSOAPBlock.cpp,
line 173]
WSPCallContext::CallCompletionListener 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/extensions/webservices/proxy/src/wspcallcontext.cpp,
line 356]
WSPCallContext::HandleResponse 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/extensions/webservices/proxy/src/wspcallcontext.cpp,
line 156]
nsXMLHttpRequest::NotifyEventListeners 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/extensions/xmlextras/base/src/nsXMLHttpRequest.cpp,
line 814]
nsXMLHttpRequest::RequestCompleted 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/extensions/xmlextras/base/src/nsXMLHttpRequest.cpp,
line 1362]
nsXMLHttpRequest::OnStopRequest 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/extensions/xmlextras/base/src/nsXMLHttpRequest.cpp,
line 1308]
nsStreamListenerTee::OnStopRequest 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/netwerk/base/src/nsStreamListenerTee.cpp,
line 65]
nsInputStreamPump::OnStateStop 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/netwerk/base/src/nsInputStreamPump.cpp,
line 507]
Severity: normal → critical
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: crash
OS: Linux → All
Hardware: PC → All
Summary: Web Services can't handle array → Web Services can't handle array [@ nsArrayEncoder::Decode]
Version: 1.7 Branch → Trunk
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8a6) Gecko/20050114
Firefox/1.0+

I may have missed an essential part of the recipe, but I did not get a crash.

I got a dialogue (sheet): ReferenceError: WebServiceProxyFactory is
not defined.

So perhaps my lizard didn't even attempt to run the code in question.

I did get this message:

WARNING: waaah!, file
../../../../../../src/content/xul/document/src/nsXULPrototypeDocument.cpp, line 866
I tested on a Linux machine, and the lastest stable version of Firefox (1.0) and
Mozilla 1.7, I dontknow the current status of this bug
http://www.mozilla.org/projects/webservices/examples/mozilla-wsdl/index.html
in the example the result is an array (example 3-4 book), the ffox/mozilla
crashed...

*** This bug has been marked as a duplicate of 271560 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Crash Signature: [@ nsArrayEncoder::Decode]
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.