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.
Tried with NetBeans IDE 8.1 Beta (Build 201507302201) and chrome Version 44.0.2403.125 (64-bit) Tried to start html5 project, got a dialog about connector, ok, located, added, press 'already have' - passed some stepos like "close" may not be necessary, but close nb, close chrome, open nb and try to start the project. you'll see the dialog, you can't pass through the dialog by pressing "already installed"
I can find the connector on the disk without problems, under ~/.config/google-chrome/Default/Extensions/hafd...jnaa/1.1.5_0/
Works for me, but I'm on 32b Ubuntu, I'll try 64b tomorrow. I've seen similar problem on StackOverflow few hours ago... The extension detection is being done by looking for it in "JSON like" files in Chrome's profile folder. In my case the information is in ~/.config/google-chrome/Default/Preferences Chrome Version 44.0.2403.125 Product Version: NetBeans IDE 8.1 Beta (Build 201508011000) Java: 1.8.0_51; Java HotSpot(TM) Client VM 25.51-b03 Runtime: Java(TM) SE Runtime Environment 1.8.0_51-b16 System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
I have .. ["contextMenus","tabs","debugger","storage"],"version":"1.1.5"},"path":"hafdlehgocfcodbgjnpecfajgkeejnaa/1.1.5_0","preferences": .. in .../Preferences full details from nb About: Product Version: NetBeans IDE 8.1 Beta (Build 201507302201) Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14 System: Linux version 3.19.0-25-generic running on amd64; UTF-8; en_US (nb) User directory: /home/name/.netbeans/8.1beta Cache directory: /home/name/.cache/netbeans/8.1beta Ubuntu 15.04/64 bit if it may matter, it's full bundle installed with nb installer
Weird, it works for me in Chrome Version 44.0.2403.125 (64-bit) Product Version: NetBeans IDE 8.1 Beta (Build 201507302201) Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14 System: Linux version 3.16.0-30-generic running on amd64; UTF-8; en_US (nb)
unfortunately, there is nothing in message.log about this. did you use ubuntu software center + google-chrome-stable_current_amd64.deb to install you chrome? I've verified, it's broken on my system in 8.0.2 also, so it may not be a stopper for 8.1 beta
Sergey, as you are the only one who experiences this problem, could you, please, try to investigate it more in the debugger? The code that checks whether the Chrome extension is installed is in ChromeManagerAccessor.isInstalled() in extbrower.chrome module. It would be great to find out what differs between the invocations of this method (i.e. between the first that claims that the extension is installed and the subsequent one that is unable to locate the extension). Thank you in advance.
ok, I'm cloning sources
so, if I install the extesion, receiver got the even and have status 'isInstaler' set to true. in the dialog if ( receiver.isInstalled() ){ return true; } is used, definitely, if plugin is already installed but isn't detected properly this code doesn't return and next is used ExtensitionStatus status = isInstalled(); if (status == ExtensitionStatus.INSTALLED){ return true; } but this code never return true in my case
fast fix for the issue: --- a/<html>ChromeManagerAccessor.java (<b>Today 12:06:02 AM</b>)</html> +++ b/<html><b>Current File</b></html> @@ -316,6 +316,8 @@ } else { guessDefault = true; } + } else { + guessDefault = true; } } }
Thank you for the investigation. If I understand correctly then the 'profile' section of your 'Locale State' Chrome configuration file does not have the 'last_used' section. The patch that you proposed seems like a reasonable solution in this case. Feel free to push this change into the repository if it solves your problem.
Yes there is no last_used in the file. Unfortunately, I wasn't able to clone neither web-main nor main, clone is stuck at adding manifests step for few hours without any progress. I evaluated the issue on zip sources.
(In reply to Sergey Petrov from comment #11) > Yes there is no last_used in the file. > Unfortunately, I wasn't able to clone neither web-main nor main, > clone is stuck at adding manifests step for few hours without any progress. > I evaluated the issue on zip sources. OK, no problem. I can apply the proposed patch myself if you want.
yes, please apply the patch
Fixed by https://hg.netbeans.org/web-main/rev/722e055dbd5c
Integrated into 'main-silver', will be available in build *201508050002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/722e055dbd5c User: Jan Stola <jstola@netbeans.org> Log: #254083: NetBeans Connector not recognized (profile section of Local State doesn't contain last_used field)
*** Bug 254196 has been marked as a duplicate of this bug. ***
*** Bug 254558 has been marked as a duplicate of this bug. ***
*** Bug 254660 has been marked as a duplicate of this bug. ***
Integrated into 'releases/release801', will be available in build *201509011645* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/ec6352b9f174 User: Jan Stola <jstola@netbeans.org> Log: #254083: NetBeans Connector not recognized (profile section of Local State doesn't contain last_used field)
*** Bug 255004 has been marked as a duplicate of this bug. ***
*** Bug 255077 has been marked as a duplicate of this bug. ***
*** Bug 255071 has been marked as a duplicate of this bug. ***