This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 247400 - Inspection does not start for HTML5 project on iOS8 and iOS9
Summary: Inspection does not start for HTML5 project on iOS8 and iOS9
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: Cordova (show other bugs)
Version: 8.1
Hardware: PC Mac OS X
: P2 normal with 1 vote (vote)
Assignee: Jaroslav Havlin
URL:
Keywords: 8.1_WAIVER_APPROVED
Depends on:
Blocks:
 
Reported: 2014-09-23 12:22 UTC by Vladimir Riha
Modified: 2015-12-21 16:56 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (38.78 KB, text/plain)
2014-09-23 12:22 UTC, Vladimir Riha
Details
stacktrace (4.58 KB, text/plain)
2014-12-01 16:08 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2014-09-23 12:22:41 UTC
Created attachment 149461 [details]
IDE log

Please try  to:
 - create a new HTML5 project (Cordova)
 - run it on iOS Device (Cordova)

=> after installing the app, inspection does not in IDE. Inspection windows are opened but empty. I believe that Cordova should work with iOS8 (see http://shazronatadobe.wordpress.com/2014/09/18/cordova-ios-and-ios-8/) and the application is built and launched w/o problem

Thank you


Cordova 3.6.3-0.2.13
Product Version: NetBeans IDE 8.0.1 (Build 201408251540)
Java: 1.8.0_20; Java HotSpot(TM) 64-Bit Server VM 25.20-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26
System: Mac OS X version 10.9.5 running on x86_64; UTF-8; en_US (nb)
Comment 1 Jan Becicka 2014-09-25 08:24:20 UTC
Inspection is not started on both Simulator and Device and in both cases: regular Safari Browser and Cordova Application.
Comment 2 Jan Becicka 2014-09-25 13:12:35 UTC
The problem is probably in minor changes in underlying proprietary ios protocols. Will send you details offline.
Comment 3 Vladimir Riha 2014-10-13 08:01:56 UTC
possible patch candidate
Comment 4 Vladimir Riha 2014-12-01 16:08:44 UTC
Created attachment 150817 [details]
stacktrace

Test case to try once this is resolved:
 - if running, close iOS simulator
 - run HTML5 project (not Cordova) on Safari iOS Simulator
 - immediately close the simulator before its start is finished
 - IDE will display dialog saying to start mobile Safari
 - let it wait for couple minutes
 - start Xcode and start simulator manually from Xcode

Currently these steps throw exception (see attached log)


Product Version: NetBeans IDE Dev (Build 201412010001)
Java: 1.7.0_71; Java HotSpot(TM) 64-Bit Server VM 24.71-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_71-b14
System: Mac OS X version 10.10.1 running on x86_64; UTF-8; en_US (nb)
Comment 5 Antonin Nebuzelsky 2015-09-24 11:58:30 UTC
Waiving for 8.1. Will be investigated and possibly fixed in trunk and included in a follow-up 8.1 patch.
Comment 6 Jiri Kovalsky 2015-09-29 12:20:52 UTC
Bug waiver for 8.1 approved.
Comment 7 Jaroslav Havlin 2015-10-15 15:17:06 UTC
http://hg.netbeans.org/core-main/rev/1b815fdf4de8
Seems to work fine now.
Comment 8 Quality Engineering 2015-10-16 01:24:59 UTC
Integrated into 'main-silver', will be available in build *201510160002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/1b815fdf4de8
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #247400: Inspection does not start for HTML5 project on iOS8 and iOS9
Comment 9 Vladimir Riha 2015-12-20 22:24:44 UTC
I've tried it with iPad (iOS 9.2) and Simulator 9.1:
 - HTML5 project on iOS Device => issue #257232
 - HTML5 project on iOS Simulator => issue #257233
 - Cordova app on iOS Simulator => issue #257234 - I've tried to disable assertions and then web inspection seemed to work (meaning changing CSS) but JavaScript debugger was not (line breakpoints were marked as unresolved and never hit) and IDE throw other NPE error probably as a consequence of disabling assertions

I don't think that reopening this issue is the way to go but I cannot verify it either.
Comment 10 Tomas Stupka 2015-12-21 12:39:55 UTC
transplanted to release81
http://hg.netbeans.org/releases/rev/16c98d251670
Comment 11 Jiri Kovalsky 2015-12-21 16:16:53 UTC
Tomas, please revert the changes integrated into release81 branch. Until the fix is complete, we don't want to include this in the Patch 1. Thank you.
Comment 12 Tomas Stupka 2015-12-21 16:56:23 UTC
fix wasn't complete, so backed out 
http://hg.netbeans.org/releases/rev/5d6cfa875ee6