You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/06/28 01:34:45 UTC
[GitHub] [netbeans] aplatypus opened a new issue, #4288: What's New fails to load
aplatypus opened a new issue, #4288:
URL: https://github.com/apache/netbeans/issues/4288
### Apache NetBeans version
Apache NetBeans 14
### What happened
* Started Netbeans v14 Start Page tab displays
* The `What's New` tab fails to load "`Error whiile loading content`" message
* `[Reload]` button produces same message as shown:
![Screenshot - `Error whiile loading content`](https://user-images.githubusercontent.com/67028/176066913-30e14f49-03eb-4809-b3a0-d70b6c19b3ef.png)
### How to reproduce
* Start Netbeans
* The What's New area works with Netbeans v13, using the same User directory
* If someone tells me what files/folder to grapb I can attach it here.
### Did this work correctly in an earlier version?
Apache NetBeans 13
### Operating System
Linux version 5.15.0-39-generic running on amd64; UTF-8; en_AU (nb)
### JDK
openjdk version "18.0.1" 2022-04-19, OpenJDK Runtime Environment Zulu18.30+11-CA (build 18.0.1+10)
### Apache NetBeans packaging
Apache NetBeans binary zip
### Anything else
* Please see: [Add Restore operation for "Start Page" / "What's New" tab](https://github.com/apache/netbeans/issues/3910)
* Which documents what can be done -- Some things may be different on a new release.
* Perhaps the refresh button should just implement the steps in #3910 (???)
### Are you willing to submit a pull request?
Yes
### Code of Conduct
Yes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] What's New fails to load [netbeans]
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on issue #4288:
URL: https://github.com/apache/netbeans/issues/4288#issuecomment-1986126348
@mhalachev cool! thanks a lot for checking.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] ebresie commented on issue #4288: What's New fails to load
Posted by GitBox <gi...@apache.org>.
ebresie commented on issue #4288:
URL: https://github.com/apache/netbeans/issues/4288#issuecomment-1179582667
When upgrading to 14 did you import settings from 13 or start fresh?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] What's New fails to load [netbeans]
Posted by "mhalachev (via GitHub)" <gi...@apache.org>.
mhalachev commented on issue #4288:
URL: https://github.com/apache/netbeans/issues/4288#issuecomment-1983879492
I can confirm that the issue still exists in NB21. Here are the steps to reproduce and an analysis what is possibly going on.
### Steps to reproduce
1. Install next version after having NetBeans already installed. (e.g. NB21 over 20).
2. Proceed with Import Settings from previous version on first run.
3. Open Start Page and navigate to What's New.
### Expected behaviour
- News feed should load.
### Actual result
- Error while loading content is displayed (Reload does not work).
### Workaround
1. Go to [settings directory]/config/Preferences/org/netbeans/modules/
2. Delete welcome.properties, or just delete the date from the atom feed.
3. Restart the IDE
If my understanding is correct, when settings are being imported from a previous version, `welcome.properties` is copied and it contains the date of the fetched atom feed, but the actual cached atom feed file is not copied from the old cache.
`blogs.apache.org/netbeans/feed/entries/atom=Fri, 23 Feb 2024 14:36:54 GMT`
Let's take look at the following: https://github.com/apache/netbeans/blob/736cf60be7411e88064c83bc947f62cd6b3b76b9/nb/welcome/src/org/netbeans/modules/welcome/content/RSSFeed.java#L341-L349
The exception caught here (and the "Error while loading content" displayed) is possibly thrown by an attempt to read the atom feed from the cache file, which, as mentioned before, in this case contains no data: https://github.com/apache/netbeans/blob/736cf60be7411e88064c83bc947f62cd6b3b76b9/nb/welcome/src/org/netbeans/modules/welcome/content/RSSFeed.java#L214-L218
Checking the cache file size and/or actual content may be considered, or even removing the SAXException catch and eventually defaulting to the next one as an attempt to reload the news feed:
https://github.com/apache/netbeans/blob/736cf60be7411e88064c83bc947f62cd6b3b76b9/nb/welcome/src/org/netbeans/modules/welcome/content/RSSFeed.java#L350-L356
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] What's New fails to load [netbeans]
Posted by "mhalachev (via GitHub)" <gi...@apache.org>.
mhalachev commented on issue #4288:
URL: https://github.com/apache/netbeans/issues/4288#issuecomment-1983940995
@mbien Please take a look at the aforementioned. Perhaps this could get in NB22...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] mbien commented on issue #4288: What's New fails to load
Posted by GitBox <gi...@apache.org>.
mbien commented on issue #4288:
URL: https://github.com/apache/netbeans/issues/4288#issuecomment-1168176848
what is in your `~/.netbeans/14/config/Preferences/org/netbeans/modules/welcome.properties`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] What's New fails to load [netbeans]
Posted by "mhalachev (via GitHub)" <gi...@apache.org>.
mhalachev commented on issue #4288:
URL: https://github.com/apache/netbeans/issues/4288#issuecomment-1985702989
@mbien Thanks! Tested it and can confirm that it now works as expected.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] aplatypus commented on issue #4288: What's New fails to load
Posted by GitBox <gi...@apache.org>.
aplatypus commented on issue #4288:
URL: https://github.com/apache/netbeans/issues/4288#issuecomment-1176933273
* The welcome tab works with Netbeans v13.
* I compared v13 file with v14 -- _Same_
![image](https://user-images.githubusercontent.com/67028/177669235-88cdce94-4ef6-4b6d-980a-ed5ca813f55b.png)
The text:
```
blogs.apache.org/netbeans/feed/entries/atom=Fri, 17 Jun 2022 16:07:02 GMT
firstTimeClose=false
lastActiveTab=2
showOnStartup=true
startCounter=3
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] What's New fails to load [netbeans]
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien closed issue #4288: What's New fails to load
URL: https://github.com/apache/netbeans/issues/4288
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] What's New fails to load [netbeans]
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on issue #4288:
URL: https://github.com/apache/netbeans/issues/4288#issuecomment-1984997054
@mhalachev want to give this dev build a try: https://github.com/apache/netbeans/actions/runs/8198412804/artifacts/1308149910 ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists