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 236192 - News & Tutorials does not load
Summary: News & Tutorials does not load
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Welcome (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
: 256257 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-09-20 13:58 UTC by ophers
Modified: 2016-08-09 09:32 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
News & Tutorials does not load (79.37 KB, image/png)
2013-09-20 14:02 UTC, ophers
Details
IDE log (43.80 KB, text/plain)
2013-09-20 14:02 UTC, ophers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ophers 2013-09-20 13:58:58 UTC
Product Version = NetBeans IDE 7.4 Beta (Build 201307092200)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_40
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.0-b56

On the Options/General page the proxy is set to "System proxy". When the IDE loads the News & Tutorials on the left side of the Welcome page says "Cannot connect to internet" while Blogs on the right side loads just fine.
If I start-up my Fiddler2 web proxy (and restart the IDE) then the content loads fine.
Comment 1 ophers 2013-09-20 14:02:40 UTC
Created attachment 140302 [details]
News & Tutorials does not load
Comment 2 ophers 2013-09-20 14:02:44 UTC
Created attachment 140303 [details]
IDE log
Comment 3 Stanislav Aubrecht 2013-09-20 14:36:11 UTC
News & tutorials section combines these two URLs: http://www.netbeans.org/news.xml & http://www.netbeans.org/mtmo.xml

While the Blogs URL is http://planetnetbeans.org/rss20.xml

Can you open those URLs when your web proxy isn't running?
Comment 4 ophers 2013-09-21 08:32:03 UTC
Yes,
I can open these three URLs just fine in Firefox.

Thanks,
Comment 5 ophers 2013-09-22 11:44:17 UTC
Tried it with NB 7.4 RC1:
* On the Options/General page the proxy is set to "No Proxy"
I get the same behaviour: The "Featured Demo" and "Blogs" load fine, while "News & Tutorials" does not with no messages in the ide log file.

Can I have debug messages in the ide log?
Comment 6 Stanislav Aubrecht 2013-09-23 09:22:16 UTC
(In reply to ophers from comment #5)

> 
> Can I have debug messages in the ide log?

There should be error messages in the log when a RSS fails to load. But there's isn't any in the log you attached.
Comment 7 Stanislav Aubrecht 2013-09-23 09:23:30 UTC
There's something strange going on with NetBeans proxy selector. The welcome page feeds load even though I enter invalid proxy settings in Tools - Options. Reassigning.
Comment 8 ogj 2015-04-22 07:38:30 UTC
I have this exact same problem, don't remember on what version it started, but it is still the same with 8.0.2. I'm on Linux (Fedora 21).

These messages appear in the IDE log:
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.
FINEST [org.netbeans.core.network.proxy.NbProxySelector]: NbProxySelector[Type: 2, Use HTTP for all protocols: true] returns [HTTP @ /81.91.3.8:80, DIRECT] for URI http://www.netbeans.org/mtmo.xml?unique=NB_EXTIDE_JAVA0e3da20aa-fe7c-419e-9c90-b993bef6b2ce
FINEST [org.netbeans.core.network.proxy.NbProxySelector]: NbProxySelector[Type: 2, Use HTTP for all protocols: true] returns [HTTP @ /81.91.3.8:80, DIRECT] for URI https://netbeans.org/mtmo.xml?unique=NB_EXTIDE_JAVA0e3da20aa-fe7c-419e-9c90-b993bef6b2ce
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.
FINEST [org.netbeans.core.network.proxy.NbProxySelector]: NbProxySelector[Type: 2, Use HTTP for all protocols: true] returns [HTTP @ /81.91.3.8:80, DIRECT] for URI http://www.netbeans.org/mtmo.xml?unique=NB_EXTIDE_JAVA0e3da20aa-fe7c-419e-9c90-b993bef6b2ce
FINEST [org.netbeans.core.network.proxy.NbProxySelector]: NbProxySelector[Type: 2, Use HTTP for all protocols: true] returns [HTTP @ /81.91.3.8:80, DIRECT] for URI https://netbeans.org/mtmo.xml?unique=NB_EXTIDE_JAVA0e3da20aa-fe7c-419e-9c90-b993bef6b2ce
Comment 9 stargazer2014 2015-05-06 21:29:06 UTC
I also have this problem and found a fix. But I do not know how the
welcome.properties file got corrupted. This is a Netbeans I have been
using daily.

${HOME}/.netbeans/8.0.2/var/log/messages.log was filling up with:

  SEVERE [org.netbeans.modules.welcome.content.RSSFeed]

And the Start Page "What's New", "News and Tutorials" was always "...connecting..." (Blogs on right were okay).

I tried Netbeans 7.4 and DID NOT have the problem.

So I renamed "${HOME}/.netbeans/8.0.2" (I'll refer to this as TEST) and started Netbeans (made no modification) and DID NOT have the problem.

I compared the files in my CURRENT .netbeans/8.0.2 and TEST and narrowed it down to:

${HOME}/.netbeans/8.0.2/config/Preferences/org/netbeans/modules/welcome.properties

I copied the TEST welcome.properties to my CURRENT. No more SEVERE messages to the Netbeans log and the "News and Tutorials" is working.

The contents of the welcome.properties file:

WORKING (from TEST):

lastActiveTab=2
netbeans.org/mtmo.xmlunique\=NBJDK_EXTIDE_JAVA_JDK02ae1e1de-7429-4365-bd1a-b822d7c7ac23=Wed, 30 Jul 2014 14:01:59 GMT
netbeans.org/mtmo.xmlunique\=NBJDK_EXTIDE_JAVA_JDK0ea96b47e-9cea-4830-9bb7-00b007c3d478=Wed, 30 Jul 2014 14:01:59 GMT
planetnetbeans.org/rss20.xml=Wed, 06 May 2015 14:07:20 GMT
startCounter=3
www.netbeans.org/demos.xml=Tue, 05 May 2015 15:32:01 GMT
www.netbeans.org/news.xml=Mon, 27 Apr 2015 00:17:35 GMT

NOT WORKING (CURRENT):

firstTimeClose=false
lastActiveTab=2
netbeans.org/mtmo.xmlunique\=NBJDK_EXTIDE_JAVA_JDK02ae1e1de-7429-4365-bd1a-b822d7c7ac23=Wed, 30 Jul 2014 14:01:59 GMT
planetnetbeans.org/rss20.xml=Wed, 06 May 2015 14:07:20 GMT
startCounter=3
www.netbeans.org/demos.xml=Tue, 05 May 2015 15:32:01 GMT

Environment:

Updates: NetBeans IDE is updated to version NetBeans 8.0.2 Patch 1
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 2.6.31.12-0.2-desktop running on amd64; UTF-8; en_US (nb)
Comment 10 stargazer2014 2015-05-06 22:33:28 UTC
REPEAT:

To repeat (or create) this problem, stop Netbeans, remove the cache for Netbeans, and start Netbeans. The "content is loading..." message is displayed and Netbeans log is filled with the "SEVERE.." messages.

rm ${HOME}/.cache/netbeans/8.0.2

I copy the TEST welcome.properties to the CURRENT welcome.properties, start Netbeans, and the problem is gone. 

GOTO REPEAT
Comment 11 stargazer2014 2015-05-06 23:19:33 UTC
From Bug 245808, this works too:

wget -O ${HOME}/.cache/netbeans/8.0.2/welcome/netbeans.org/mtmo.xmlunique=NBJDK_EXTIDE_JAVA_JDK02ae1e1de-7429-4365-bd1a-b822d7c7ac23 \
https://netbeans.org/mtmo.xml?unique=NBJDK_EXTIDE_JAVA_JDK02ae1e1de-7429-4365-bd1a-b822d7c7ac23
Comment 12 MackSix 2015-10-10 00:41:47 UTC
http://netbeans.org/news.xml has errors and News & Tutorials has not worked in over week.


Product Version: NetBeans IDE 8.1 RC2 (Build 201510082301)
Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27
System: Windows 7 version 6.1 running on amd64; UTF-8; en_US (nb)
Comment 13 Jiri Kovalsky 2015-11-13 11:03:05 UTC
*** Bug 256257 has been marked as a duplicate of this bug. ***
Comment 14 MackSix 2015-11-13 15:14:13 UTC
(In reply to MackSix from comment #12)
> http://netbeans.org/news.xml has errors and News & Tutorials has not worked
> in over week.
> 
> 
> Product Version: NetBeans IDE 8.1 RC2 (Build 201510082301)
> Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
> Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27
> System: Windows 7 version 6.1 running on amd64; UTF-8; en_US (nb)

In my case, it works fine now since the errors were fixed on the server side.
Comment 15 pgmank 2015-11-25 12:17:20 UTC
Just by deleting the file:

$HOME/.netbeans/X.X.X/config/Preferences/org/netbeans/modules/welcome.properties

worked for me (Netbeans 8.1 Ubuntu 14.04 x64)

Opening Netbeans after the deletion will generate a new welcome.properties file
which is not corrupted.
Comment 16 ogj 2015-11-25 12:24:36 UTC
Confirming that it works again after I delete welcome.properties.
This is in 8.1 on Linux (Fedora 23) with java 1.8.0_66
Comment 17 peterhull90 2015-11-26 14:10:15 UTC
Deleting welcome.properties did not work for me (NB8.1, JDK8, Windows 10)
Comment 18 ophers 2015-11-26 21:52:37 UTC
Confirming that it works for me after deleting welcome.properties.
This is in 8.1 on Windows10 with Java8
Comment 19 pgmank 2015-11-28 14:13:43 UTC
Maybe this bug has to do with importing the settings from previous Netbeans installation.