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 235042 - NetBeans cannot start inspection if previously run while mobile Safari was not running
Summary: NetBeans cannot start inspection if previously run while mobile Safari was no...
Status: REOPENED
Alias: None
Product: web
Classification: Unclassified
Component: Cordova (show other bugs)
Version: 7.4
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-26 14:57 UTC by Vladimir Riha
Modified: 2015-12-21 10:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dumps (14.07 KB, application/zip)
2013-08-26 14:57 UTC, Vladimir Riha
Details
IDE log (36.92 KB, text/plain)
2013-08-26 14:57 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-08-26 14:57:36 UTC
Created attachment 139258 [details]
thread dumps

It seems to be reproducible:
 - connect iOS device 
 - start NetBeans
 - make sure mobile Safari is not running
 - run HTML5 project on iOS device
 
=> NetBeans shows dialog "Connecting to iOS device, make sure that device is attached and mobile Safari is running"

 - start mobile Safari
 
=> inspection won't start, if you let NetBeans to give up the run process (after some time there is a new dialog saying "Cannot connect to device". In this situation, I cannot run any project on iOS device because it always says "connecting to iOS device...". Solution is to restart IDE and open Safari prior to running any project


I'm attaching 3 thread dumps taken during the "Connecting to iOS device..." dialog was opened (approx. 10 secs apart)


Product Version: NetBeans IDE Dev (Build 201308260001)
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b39
System: Mac OS X version 10.8.4 running on x86_64; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2013-08-26 14:57:57 UTC
Created attachment 139259 [details]
IDE log
Comment 2 Jan Becicka 2013-08-28 13:13:47 UTC
Changeset: a31a99a4751b
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2013-08-28 14:54
Message:
Comment 3 Quality Engineering 2013-08-29 01:41:07 UTC
Integrated into 'main-silver', will be available in build *201308290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/a31a99a4751b
User: Jan Becicka <jbecicka@netbeans.org>
Log: Issue #235042 - NetBeans cannot start inspection if previously run while mobile Safari was not running
Comment 4 Vladimir Riha 2013-08-30 08:06:17 UTC
Thanks, it is better, but IDE still cannot recognize that I started Safari. Current behaviour is:
 - run project on iOS device while Safari is not running => IDE shows the "Connecting to iOS device, make sure that device is attached and mobile Safari is running" dialog
 - start Safari on device
 - IDE doesn't recognize that Safari was started and after some time, the dialog simply disappears. But at this moment if I run project again, inspection works. Also if I cancel the dialog,start Safari and re-run project, inspection works. 

Would it be possible if NetBeans could recognize that Safari is running when the dialog is displayed?



Product Version: NetBeans IDE Dev (Build 201308300001)
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b39
System: Mac OS X version 10.8.4 running on x86_64; UTF-8; en_US (nb)
Comment 5 Jan Becicka 2013-08-30 08:24:30 UTC
Not a P2.