Opened 12 years ago
Closed 10 years ago
#10608 closed bug (invalid)
1.7 rc1 crashes phonegap blackberry
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | 1.next |
Component: | support | Version: | 1.7 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Just including the jquery js file in the default PhoneGap BlackBerry project (index.html) crashes the simulator when you launch the app. I can confirm that this does not happen with 1.6.4
It doesn't seem to crash my device (os 6) but not being able to debug in the simulator will make life very difficult (and not worth upgrading)
I am using the bbery simulator: 9930 (os 7).
I wish i had more debugging information but it is difficult to get any info when debugging a phonegap app.
Change History (24)
comment:1 Changed 12 years ago by
Owner: | set to mike@… |
---|---|
Status: | new → pending |
comment:2 follow-up: 15 Changed 12 years ago by
I was testing a compressed 1.7rc1 version
-jquery-1.7b1.js (uncompressed) crashes
-jquery-1.7b2.js (uncompressed) crashes
-jquery-1.6.4.min.js (compressed) works
comment:4 Changed 12 years ago by
Status: | pending → new |
---|
I have no clue why it is crashing but if you comment out line 1635:
inner.offsetTop === 15); |
we no longer crash. Does this make any sense?
comment:5 Changed 12 years ago by
Component: | unfiled → support |
---|---|
Milestone: | None → 1.7 |
Owner: | changed from mike@… to dmethvin |
Priority: | undecided → blocker |
Status: | new → assigned |
Wow, thanks for digging into this! I suspect it's a duplicate of #10613 which crashes IE8 about five lines above that. Can you try a test where you include jQuery at the bottom of the page, just before the end of the body? If that works then I think we are dealing with the same problem.
comment:6 Changed 12 years ago by
no prob, I was already set up for it and what a great way to spend a Friday night ;)
but it still crashes if I put it before the end </body>
comment:7 Changed 12 years ago by
Milestone: | 1.7 → 1.7.1 |
---|---|
Priority: | blocker → high |
Version: | 1.7rc1 → 1.7 |
Mike, does the 1.7 final still crash the simulator? We haven't given up and will be doing some other changes to 1.7.1 in the support.js area but this didn't seem critical enough to prevent the release.
comment:8 Changed 12 years ago by
Still happens in 1.7, I (and anyone else building PhoneGap apps for BlackBerry) will have to stick with 1.6.4 until this is fixes because there is no workaround that I am aware of.
Not a big deal for me because I do not need any of the new features in 1.7 but I would like to eventually upgrade.
comment:9 Changed 12 years ago by
The difference is that the fixed position tests aren't run at all on pageload in 1.6.4. @mike: perhaps if you try to run http://api.jquery.com/offset in 1.6.4, you'll get the same error when it tries to determine fixed position support? I would test, but lack a bb.
comment:11 Changed 12 years ago by
Milestone: | 1.7.1 → 1.next |
---|
comment:12 Changed 11 years ago by
Owner: | changed from dmethvin to mike@… |
---|---|
Status: | assigned → pending |
Mike, does this still occur? We don't have a simple way to reproduce so that makes it hard for us to fix as well.
comment:13 Changed 11 years ago by
Yes, it still happens; BlackBerry simulator still crashes with 1.7.1 but not with 1.6.4.
comment:14 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
comment:15 Changed 11 years ago by
Replying to anonymous:
I was testing a compressed 1.7rc1 version
-jquery-1.7b1.js (uncompressed) crashes
-jquery-1.7b2.js (uncompressed) crashes
-jquery-1.6.4.min.js (compressed) works
I have the same problem. By using jquery.1.6.4.min.js still happening. What is the solution to test in the simulator under these conditions?
comment:16 Changed 11 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
comment:17 follow-up: 18 Changed 11 years ago by
Status: | reopened → open |
---|
Does the 1.8b2 release work?
What platform are you running the simulator on?
comment:18 Changed 11 years ago by
Replying to dmethvin:
Does the 1.8b2 release work?
What platform are you running the simulator on?
Sorry, the version 1.6.4 if it works, but stops working in conjunction with mobile jquery 1.1.0 in the SDK simulator WebWorks.
comment:19 Changed 11 years ago by
Status: | open → pending |
---|
I know it's been a while, but I'm just checking to see if later versions work here. Or perhaps RIM updated their software? Nobody else has reported this and we don't have a way to diagnose it, so I'm inclined to close.
comment:20 Changed 11 years ago by
We also ran into the same problem. Just including the JQuery js (compressed or uncompressed of ver 1.7.2) was causing the BB Simulator (os 7) to crash.
Do we have any solution to this yet? Is this solved in 1.8?
This is really preventing us from having a hybrid app using JQuery on BlackBerry. Please help.
comment:21 Changed 11 years ago by
Commenting line below (line 1636) as recommended above solves the problem
offsetSupport.fixedPosition = ( inner.offsetTop === 20 || inner.offsetTop === 15 );
comment:22 Changed 11 years ago by
Status: | pending → open |
---|
Okay, not sure if we can fix this but at least we have a repro and a suspect.
comment:23 Changed 10 years ago by
Status: | open → pending |
---|
Is this still a problem? Can someone who was affected test with jquery-1.9b1.js and see if it's still an issue?
comment:24 Changed 10 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
Does it happen on both the compressed and uncompressed versions? Can you try the older 1.7 pre-release versions so we can narrow down where the problem lies?
http://code.jquery.com/jquery-1.7b1.js
http://code.jquery.com/jquery-1.7b2.js