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.
Created attachment 124926 [details] dialog Following warning dialog is opened every FIRST time I run page (or project) in Chrome. If I run different/same page from project that is already running in browser, the dialog is not opened. If projectA is running in Chrome and I run projectB for the first time, dialog is again opened. However it seems that everything works. New page is opened in browser, Select Mode, CSS styles etc. all fine The command works in command line. I even tried to restart OS but no change. I think this should be fixed for J1 even though it seems that everything is working but it gives bad impression. Chrome Version 22.0.1229.79 Product Version: NetBeans IDE Dev (Build 201209260001) Java: 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01 System: Linux version 3.2.0-31-generic-pae running on i386; UTF-8; en_US (nb)
... if I change default browser in IDE from "Default System Browser" to "Chrome", nothing changes. The same dialog is also present if I run page in "Chrome" configuration (so w/o IDE integration)
Reassigning to David, perhaps he knows what is going on here. Thanks.
(In reply to comment #2) > Reassigning to David, perhaps he knows what is going on here. I don't. :-) Is this reproducible? On what platforms? In Beta or trunk? What are the steps to reproduce it? If reproducible then it should be easy to fix. I have not seen it before.
(In reply to comment #3) > Is this reproducible? On what platforms? Yes, as I wrote even OS restart or fresh user dir does not help. Windows seems to be OK, I didn't try Mac. This is from Ubuntu 12.04 32b > In Beta or trunk? in description, since beta is postponed I test only trunk > are the steps to reproduce it? as written in description, happens if you run project for the first time (so none of project's pages is already opened in browser) - you can either run project or run some file in it (but again, none of project's pages is opened in browser before running)
Created attachment 124930 [details] IDE log IDE log, but imho it doesn't say anything
I tried older build where it used to work and the issue is there now. So it is related either to OS updates or Chrome update
P2 since it to be only Ubuntu issue
Can not reproduce on: Product Version: NetBeans IDE Dev (Build web-main-8674-on-20120926) System: Mac OS X version 10.7.5 running on x86_64; UTF-8; en_US (nb) Java 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.4-b01; Oracle Corporation Chrome 22.0.1229.79
I debugged that part and it seems that in UnixBrowserImpl.java in extbrowser module I'm getting "exitStatus" 23, no idea why. There seems to be a bug in Chrome, please check "Exit code 23 when opening URL in existing session" http://code.google.com/p/chromium/issues/detail?id=146762 I can reproduce the error code from console using: google-chrome http://www.google.com ; echo $?
I will try to patch it by ignoring exitStatus when it is 23.
Ignore exitStatus 23 - 6a0a901492f4. I will push the fix in few hours.
Thanks David, would it be possible to integrate it to Beta? I think I am not going to be the only one facing this issue
(In reply to comment #12) > Thanks David, would it be possible to integrate it to Beta? I will do that once hg.netbeans.org is up again. > I think I am not going to be the only one facing this issue All Linux users are affected.
I have not had a chance to push the fix yet.
I have applied patch from David. Láďo, please verify so I can backport it to Beta. Thanks. http://hg.netbeans.org/web-main/rev/6a049d33a3dd
Thanks. Verified, no warning dialog is opened. Please integrate it to Beta, thanks Product Version: NetBeans IDE Dev (Build web-main-8687-on-20120927) Java: 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01 System: Linux version 3.2.0-31-generic-pae running on i386; UTF-8; en_US (nb)
Backported. http://hg.netbeans.org/releases/rev/038f9c503dbf
Integrated into 'releases', will be available in build *201209271612* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/038f9c503dbf User: Tomas Mysik <tmysik@netbeans.org> Log: #219040 - Running page in Chrome shows warning dialog Applied patch from David Konecny. (transplanted from 6a049d33a3dd6ab8916c5a5b630afd4d9f9424af)
verified in beta Product Version: NetBeans IDE 7.3 Beta (Build 201210010205) Java: 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01 System: Linux version 3.2.0-31-generic-pae running on i386; UTF-8; en_US (nb)
Integrated into 'main-golden', will be available in build *201210010929* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/6a049d33a3dd User: Tomas Mysik <tmysik@netbeans.org> Log: #219040 - Running page in Chrome shows warning dialog Applied patch from David Konecny.
Integrated into 'main-golden', will be available in build *201210030002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/6a0a901492f4 User: David Konecny <dkonecny@netbeans.org> Log: #219040 - Running page in Chrome shows warning dialog