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 234824 - Download plugin stuck
Summary: Download plugin stuck
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 7.4
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-22 20:34 UTC by ionuion
Modified: 2013-11-21 13:52 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
thread dump taken during issue (21.51 KB, text/plain)
2013-08-22 20:34 UTC, ionuion
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ionuion 2013-08-22 20:34:05 UTC
Created attachment 139092 [details]
thread dump taken during issue

Environment:
Product Version: NetBeans IDE Dev (Build 201308202300)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15
System: Mac OS X version 10.7.5 running on x86_64; UTF-8; en_US (nb)
User directory: /Users/ionuion/Library/Application Support/NetBeans/dev
Cache directory: /Users/ionuion/Library/Caches/NetBeans/dev

Steps that lead to the problem:
1. started with the minimal NetBeans installation
2. Installed JavaEE base plugin. Accepted terms. Clicked Install. Checked 'install in background'

Result:

Download stuck for about 10 minutes at 9%. 'Downloading plugins...' displayed on the status bar.

Attaching thread dump.
Comment 1 Jiri Kovalsky 2013-08-23 08:55:25 UTC
This seems to be a problem of Auto Update module.
Comment 2 Jiri Rechtacek 2013-08-23 09:22:10 UTC
(In reply to ionuion from comment #0)
> Created attachment 139092 [details]
> thread dump taken during issue
> 
> Environment:
> Product Version: NetBeans IDE Dev (Build 201308202300)
> Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
> Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15
> System: Mac OS X version 10.7.5 running on x86_64; UTF-8; en_US (nb)
> User directory: /Users/ionuion/Library/Application Support/NetBeans/dev
> Cache directory: /Users/ionuion/Library/Caches/NetBeans/dev
> 
> Steps that lead to the problem:
> 1. started with the minimal NetBeans installation
> 2. Installed JavaEE base plugin. Accepted terms. Clicked Install. Checked
> 'install in background'
> 
> Result:
> 
> Download stuck for about 10 minutes at 9%. 'Downloading plugins...'
> displayed on the status bar.
> 
> Attaching thread dump.

Based on the thread dump the IDE reads content from UC, no thread stuck there. Probably a slow network transport somewhere.
Comment 3 ionuion 2013-08-24 13:53:17 UTC
> Based on the thread dump the IDE reads content from UC, no thread stuck
> there. Probably a slow network transport somewhere.

Is there any interest in checking the download progress, potentially resetting the connection? 10 minutes and no progress doesn't seem like a normal case.

Thank you.
Comment 4 Jiri Rechtacek 2013-08-26 10:07:06 UTC
(In reply to ionuion from comment #3)
> > Based on the thread dump the IDE reads content from UC, no thread stuck
> > there. Probably a slow network transport somewhere.
> 
> Is there any interest in checking the download progress, potentially
> resetting the connection? 10 minutes and no progress doesn't seem like a
> normal case.
> 
> Thank you.

There is already a network timeout and user notification. But in some cases the network seems as working but is not. I guess is your case by the thread dump. Might be improved network checking for that case ie. network connection established successfully and it's stuck in reading data from the connection.
Comment 5 Jiri Rechtacek 2013-10-10 10:44:34 UTC
http://hg.netbeans.org/core-main/rev/b8200fc90918
Comment 6 Quality Engineering 2013-10-12 03:59:04 UTC
Integrated into 'main-silver', will be available in build *201310120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b8200fc90918
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #234824 - Download plugin stuck
Comment 7 Tomas Danek 2013-11-12 10:18:32 UTC
verified in

Product Version: NetBeans IDE Dev (Build 201311120002)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Mac OS X version 10.9 running on x86_64; UTF-8; en_US (nb)
User directory: /Users/tomas/Library/Application Support/NetBeans/dev
Cache directory: /Users/tomas/Library/Caches/NetBeans/
Comment 8 Jiri Rechtacek 2013-11-13 10:19:48 UTC
http://hg.netbeans.org/releases/rev/f60e5c519342
Comment 9 Jiri Rechtacek 2013-11-13 10:27:10 UTC
spec.version&desc: http://hg.netbeans.org/releases/rev/1e05aa8071d8
Comment 10 Quality Engineering 2013-11-14 14:31:09 UTC
Integrated into 'releases/release74', will be available in build *201311141216* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/f60e5c519342
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #234824 - Download plugin stuck
(transplanted from b8200fc909180a4f58516628a9716cd6a9c914c1)
Comment 11 Tomas Danek 2013-11-21 13:52:16 UTC
verified in 74 patch 1