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 251784 - Too many threads welcome.content.RSSFeed$Reload.run()
Summary: Too many threads welcome.content.RSSFeed$Reload.run()
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Welcome (show other bugs)
Version: 8.0.2
Hardware: Macintosh Mac OS X
: P2 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
: 251869 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-04-13 02:07 UTC by Jaroslav Tulach
Modified: 2015-07-17 01:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (194.99 KB, text/plain)
2015-04-13 02:07 UTC, Jaroslav Tulach
Details
So many RSSFeed runnables (18.22 KB, application/octet-stream)
2015-04-13 02:08 UTC, Jaroslav Tulach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2015-04-13 02:07:29 UTC
I left the IDE running overnight and now I am trying to find out why it is too slow. It is allocating 5MB per second. When I tried to self-profile, it turned out that are at least ten threads trying to reead RSS feed and the log is full of errors like:

SEVERE [org.netbeans.modules.welcome.content.RSSFeed]: Line number:1
SEVERE [org.netbeans.modules.welcome.content.RSSFeed]: Column number:1
SEVERE [org.netbeans.modules.welcome.content.RSSFeed]: Public ID:null
SEVERE [org.netbeans.modules.welcome.content.RSSFeed]: System ID:null
SEVERE [org.netbeans.modules.welcome.content.RSSFeed]: Error message:Premature end of file.

So I guess the slowness and these failures must be related.
Comment 1 Jaroslav Tulach 2015-04-13 02:07:34 UTC
Created attachment 153151 [details]
IDE log
Comment 2 Jaroslav Tulach 2015-04-13 02:08:42 UTC
Created attachment 153152 [details]
So many RSSFeed runnables
Comment 3 Antonin Nebuzelsky 2015-07-13 12:04:06 UTC
*** Bug 251869 has been marked as a duplicate of this bug. ***
Comment 4 Theofanis Oikonomou 2015-07-15 15:01:48 UTC
Changeset: 6835b2a07264
Author:    Theofanis Oikonomou <theofanis@netbeans.org>
Date:      2015-07-15 18:00
Message:
Comment 5 Theofanis Oikonomou 2015-07-15 15:03:52 UTC
Trying to fix this by cancelling the running task that loads the feeds when there is a SAXException.
Comment 6 Quality Engineering 2015-07-17 01:19:54 UTC
Integrated into 'main-silver', will be available in build *201507170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6835b2a07264
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Task #251784 - Too many threads welcome.content.RSSFeed$Reload.run()