Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Testing and Deployment

Reply
Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Getting "result::failure 502 unexpected override" on any install, even BBWorld doesn't work

Starting last night, and continuing today even after reboots, "hard" resets (10s power button press, with volume up key pressed), and other things, I'm unable to install anything.

 

With either devmode or signed apps, installing via blackberry-deploy gives me results like this:

Info: Sending request: Install
Info: Action: Install
Info: File size: 127882
Info: Installing ...
Info: Processing 127882 bytes
actual_dname::
actual_id::
actual_version::
result::failure 502 unexpected override

Even using BlackBerry World fails.  I get errors after the download completes and it attempts to install:

error_502_override.png

 

Googling for this suggests nobody else has ever seen a "502 unexpected override", though there is at least one thread with a "500" though no actual fixes are apparent there. http://supportforums.blackberry.com/t5/Adobe-AIR-Development/500-unexpected-override-when-launching-...

 

I was just about to finish testing on two critical fixes to two apps, but suddenly I'm completely dead in the water with the Z10. It's on 10.0.9.2372.


Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Developer
Posts: 1,746
Registered: ‎04-08-2010
My Device: Passport Silver, PRIV
My Carrier: Telekom.de, O2, Vodafone

Re: Getting "result::failure 502 unexpected override" on any install, even BBWorld doesn't work

from 10.1 Beta with OS 10.0.9.2327 ?

 

I have no problems yet

only BlackBerry World - BlackBerry Maps shows 0 B and says 'unable for this device'

-------------------------------------------------------------------------------
ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
BlackBerry Platinum Enterprise Partner
International Development native Mobile Business Apps
BlackBerry 10 | Qt Mobile (Android, iOS)
Workshops / Trainings / Bootcamps

blog: http://ekkes-corner.org
mobile-development: http://appbus.org Twitter: @ekkescorner
Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Getting "result::failure 502 unexpected override" on any install, even BBWorld doesn't work

This isn't a beta, just whatever the most recent official release is.

I believe I know what the cause is though. I'm about to do a backup, wipe, and restore. I expect the problem to come back after the restore, and if it does I can post some details that probably explain it. It appears no user would ever encounter this situation, and probably few or no other developers. ;-)

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Getting "result::failure 502 unexpected override" on any install, even BBWorld doesn't work

Well, the problem didn't exactly come back, but the restore did break the system... after the restore, although I can install new apps, all the BlackBerry World-installed apps that I had before are missing, yet I can't install them. The client app thinks they're all still installed, and I can neither uninstall nor install them. Basically stuck in limbo.

I'll have to do another wipe, then not restore the apps this time.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Developer
Posts: 92
Registered: ‎10-30-2011
My Device: Blackberry Playbook
My Carrier: Telstra LTE

Re: Getting "result::failure 502 unexpected override" on any install, even BBWorld doesn't work

[ Edited ]

Ok, so I was just side-loading some debug token apps. I decided to reboot my DAC.

 

First thing I notice...

1) My wallpaper has changed to default one.

2) My Alt key no longer works!! (Edit: Only in emails)

3) When I side-load apps, it now tells me: "result::failure 502 unexpected override"

 

So, I googled it and this was the only page on the internet.

 

What's up? I've rebooted a few times and it's still there. Did you find out what it is or how to fix it?

 

Note: I'm on latest official 10.1.

Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Getting "result::failure 502 unexpected override" on any install, even BBWorld doesn't work

I had none of the other oddities you mention, but the first time this happened I ultimately had to wipe and reflash.

It happened again more recently when I did a similar thing. I had modified a .bar file someone sent me for testing, to remove the signing keys and reconfigure it as development-mode "true". I made a mistake the first time and screwed something up, and started getting this error again.

This time, however, I reverted my changes and/or took the original again and just reinstalled it. Sorry I'm not more precise about that... it was a week ago and I reclaimed the storage for that memory already. Anyway, a reinstall of a non-broken version of the bar worked without the error, and then I was able to uninstall the app and carry on with no further ill effects.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Developer
Posts: 92
Registered: ‎10-30-2011
My Device: Blackberry Playbook
My Carrier: Telstra LTE

Re: Getting "result::failure 502 unexpected override" on any install, even BBWorld doesn't work

Ok, so this is probably because I write my own .bar files (including the MANIFEST). I just choose random IDs myself and hope for the best. Could this mess something up?

Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Getting "result::failure 502 unexpected override" on any install, even BBWorld doesn't work

As I recall, the specific issue involved it complaining during the deploy about an "application mode mismatch" or something like that. It didn't strike me it was about the ids, but anything is possible and if you're doing what you say then I'm not overly surprised there are some issues with it. It's not like they've documented anything much about how some of those fields work and what restrictions there are on them.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Developer
Posts: 92
Registered: ‎10-30-2011
My Device: Blackberry Playbook
My Carrier: Telstra LTE

Re: Getting "result::failure 502 unexpected override" on any install, even BBWorld doesn't work

It didn't tell me any error in the deploy. Deploy worked well and I was using the app.

At one stage, I forgot to update the entry point (so app didn't work). Other than that, it has been fine.

 

So now I have to wipe my device and can't restore? Smiley Sad This sucks.

Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Getting "result::failure 502 unexpected override" on any install, even BBWorld doesn't work

Aside from the 502 itself, and the fact we were side-loading "unusual" bar files, there are many things about my symptoms and yours which don't overlap, so I can't guess what you should do. Sorry.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!