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 202411 - non-stopping "HTTP Javadoc download" status bar progress
Summary: non-stopping "HTTP Javadoc download" status bar progress
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.0
Hardware: Macintosh Mac OS X
: P3 normal with 1 vote (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-21 11:17 UTC by ytn01
Modified: 2012-06-07 15:08 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Auto-complete when using http://docs.oracle.com (183.83 KB, image/jpeg)
2012-02-09 00:22 UTC, GAJanik86
Details
Auto-complete when using local documentation archive (261.11 KB, image/jpeg)
2012-02-09 00:41 UTC, GAJanik86
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ytn01 2011-09-21 11:17:36 UTC
Occasionally while writing code, an activity indicator progress bar gets shown on the IDE's status to indicate a background activity, but never stops.
"Downloading HTTP Javadoc" is one of such tasks that somewhat runs to become a non-finishing activity indicator.
On such occasions, the progress bar on the status bar of the IDE will appear to indicate the activity, but never gets to stop.
So far am not sure what causes the issue but this typical scenario seems to occur more frequent during slow internet connection speed.

Product Version = NetBeans IDE Dev (Build 201109180600)
Operating System = Mac OS X version 10.6.8 running on x86_64
Java; VM; Vendor = 1.6.0_26
Runtime = Java HotSpot(TM) 64-Bit Server VM 20.1-b02-384
Comment 1 Marian Mirilovic 2011-09-27 23:26:36 UTC
Have no idea where this issue belongs to ... feel free to reassign.
Comment 2 Petr Jiricka 2011-10-05 12:57:52 UTC
Looks like a core Java issue.
Comment 3 Jan Becicka 2011-10-10 10:22:56 UTC
ElementJavadoc should probably implement some kind of timeout.
Comment 4 Geoff_C 2012-02-02 08:44:55 UTC
This is also occurring in 7.1, on Windows 7 Professional, specifically the "Downloading HTTP Javadoc"
Comment 5 GAJanik86 2012-02-09 00:22:34 UTC
Created attachment 115535 [details]
Auto-complete when using http://docs.oracle.com
Comment 6 GAJanik86 2012-02-09 00:41:29 UTC
Created attachment 115537 [details]
Auto-complete when using local documentation archive
Comment 7 GAJanik86 2012-02-09 00:42:32 UTC
I'm also getting this on Windows 7 x64

To reproduce:
-In any .java file, import javax.crypto.Cipher
-Declare an instance of Cipher named "foo". (It doesn't need to be initialized.)
-Type "foo." and wait for the code completion popup.
-Notice that all method arguments are arg0, arg1, arg2, etc.
-Notice that the javadoc for any entry needs to be downloaded.  Select a few different entries.  After about 5 selections (or the selection is changed too quickly), the "Downloading HTTP Javadocs" task doesn't not complete.

I assume this happens with any class that is not the source code distributed with the JDK.

Also, if you instead use the platform manager to specify the location of the documentation on disk AND move it to the top of the list of documentation sources, the documentation works and the http download task doesn't start, but the method arguments are still all named arg0, arg1, arg2...
Comment 8 Dusan Balek 2012-06-07 15:08:53 UTC
Unfortunately, I cannot reproduce the issue in the current dev build using the provided steps. Please, reopen the issue if it is still reproducible using the current dev build on your side. Thanks.