Closed
Bug 865647
Opened 12 years ago
Closed 10 years ago
Dungeon Fury fails to load with InvalidStateError
Categories
(Firefox for Android Graveyard :: Web Apps (PWAs), defect, P1)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: snorp, Unassigned)
References
()
Details
(Keywords: reproducible, Whiteboard: [WebRuntime] [A4A] [packagedapps])
If you try to run the installed version of Dungeon Fury (http://dungeonfury.playcanvas.com/), it will fail to load with some InvalidStateErrorS. Folks from PlayCanvas confirmed that it was doing some XHR stuff there. It seems like this could be a bug on our end? Everything works fine when running in the browser (not as a web app), and it also works in the B2G simulator.
Comment 1•12 years ago
|
||
I'm not fully convinced those errors are the actual cause of the hang. But they're certainly very concerning.
Reporter | ||
Comment 2•12 years ago
|
||
Logcat below:
E/GeckoConsole(17646): DEBUG: Cache miss: assets/playcanvas/oubliette/aa/aa97780c-7d0f-11e2-97fd-12313b0a7a3e/shadow.jpg
E/GeckoConsole(17646): DEBUG: Cache miss: assets/playcanvas/oubliette/ad/ad0ef206-74b1-11e2-a22c-12313b0a7a3e/orc.json
E/GeckoConsole(17646): DEBUG: Cache miss: assets/playcanvas/oubliette/ad/ad0ef206-74b1-11e2-a22c-12313b0a7a3e/orc_occ_1_new.jpg
E/GeckoConsole(17646): DEBUG: Cache miss: assets/playcanvas/oubliette/b0/b06b0e8e-7b74-11e2-8e92-12313b0a7a3e/door_smash.ogg
E/GeckoConsole(17646): DEBUG: Cache miss: assets/playcanvas/oubliette/b1/b1ae656c-74b1-11e2-8fcf-12313b0a7a3e/orc_slash_ltr.json
E/GeckoConsole(17646): DEBUG: Cache miss: assets/playcanvas/oubliette/c4/c4529af0-7635-11e2-a0eb-12313b0a7a3e/orc_die_backwards_2.json
E/GeckoConsole(17646): DEBUG: Cache miss: assets/playcanvas/oubliette/c6/c6739b78-7d19-11e2-9dd9-12313b0a7a3e/sec_2r.json
E/GeckoConsole(17646): DEBUG: Cache miss: assets/playcanvas/oubliette/c6/c6739b78-7d19-11e2-9dd9-12313b0a7a3e/groundpattern_door1_preview.jpg
E/GeckoConsole(17646): DEBUG: Cache miss: assets/playcanvas/oubliette/c6/c6739b78-7d19-11e2-9dd9-12313b0a7a3e/section_3_9_repeat_light.jpg
E/GeckoConsole(17646): [JavaScript Error: "InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable" {file: "app://{7395cd22-db21-4140-9e3b-4fa05e040531}/playcanvas-0.103.0.min.js" line: 424}]
E/GeckoConsole(17646): DEBUG: Cache miss: assets/playcanvas/oubliette/e6/e69d53f8-7d19-11e2-9542-12313b0a7a3e/sec_1r.json
E/GeckoConsole(17646): DEBUG: Cache miss: assets/playcanvas/oubliette/e6/e69d53f8-7d19-11e2-9542-12313b0a7a3e/section_3_10_repeat_light.jpg
E/GeckoConsole(17646): DEBUG: Cache miss: assets/playcanvas/oubliette/ea/ea8e89e0-7d06-11e2-8ea8-12313b0a7a3e/sec_3r.json
E/GeckoConsole(17646): DEBUG: Cache miss: assets/playcanvas/oubliette/eb/eb80a4e0-76ae-11e2-a2a1-12313b0a7a3e/menu_select.ogg
E/GeckoConsole(17646): DEBUG: Cache miss: assets/playcanvas/oubliette/ef/ef4ba736-7916-11e2-9406-12313b0a7a3e/orc_run_onspot.json
E/GeckoConsole(17646): DEBUG: Cache miss: assets/playcanvas/oubliette/f3/f30ed436-7a76-11e2-be13-12313b0a7a3e/heavy_breathing.ogg
E/GeckoConsole(17646): DEBUG: Cache miss: assets/playcanvas/oubliette/f4/f4d4e9ac-76ae-11e2-a2a1-12313b0a7a3e/game_over.ogg
E/GeckoConsole(17646): [JavaScript Error: "InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable" {file: "app://{7395cd22-db21-4140-9e3b-4fa05e040531}/playcanvas-0.103.0.min.js" line: 424}]
E/GeckoConsole(17646): [JavaScript Error: "InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable" {file: "app://{7395cd22-db21-4140-9e3b-4fa05e040531}/playcanvas-0.103.0.min.js" line: 424}]
E/GeckoConsole(17646): [JavaScript Error: "InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable" {file: "app://{7395cd22-db21-4140-9e3b-4fa05e040531}/playcanvas-0.103.0.min.js" line: 424}]
E/GeckoConsole(17646): [JavaScript Error: "InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable" {file: "app://{7395cd22-db21-4140-9e3b-4fa05e040531}/playcanvas-0.103.0.min.js" line: 424}]
Comment 3•12 years ago
|
||
The lines about cache misses are expected and can be ignored. The 'InvalidStateError' is only printed for when running the packaged app vs the regular web page version of the game.
Updated•12 years ago
|
Keywords: reproducible
Whiteboard: [A4A] [packagedapps]
Comment 4•12 years ago
|
||
E/GeckoConsole(17646): [JavaScript Error: "InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable" {file: "app://{7395cd22-db21-4140-9e3b-4fa05e040531}/playcanvas-0.103.0.min.js" line: 424}]
Probably something involving the app:// handling going awkward here.
Priority: -- → P1
Comment 5•12 years ago
|
||
It would be helpful to get a debugger hooked up to the app to better diagnose this. It could be this is due to cross-domain issues.
Comment 6•12 years ago
|
||
To wesj for now.
Comment 7•12 years ago
|
||
What is the process to attach a debugger to a packaged app?
Comment 8•12 years ago
|
||
(In reply to Will Eastcott from comment #7)
> What is the process to attach a debugger to a packaged app?
There really is none yet. We talked about making an Intent, which could be sent to a running app, that would enable/disable the remote debugging tools.
Updated•11 years ago
|
Whiteboard: [A4A] [packagedapps] → [WebRuntime] [A4A] [packagedapps]
Comment 9•10 years ago
|
||
Per bug 1235869, we're going to disable the Android web runtime, so we won't fix this bug in it.
(This is part of a bulk resolution of bugs in the Firefox for Android::Web Apps component, from which I attempted to exclude bugs that are not specific to the runtime, but it's possible that I included one accidentally. If so, I'm sorry, and please reopen the bug!)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•