You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "gitsocko (via GitHub)" <gi...@apache.org> on 2026/07/22 17:16:39 UTC
[I] NetBeans 30 does not migrate the previous user profile on macOS [netbeans]
gitsocko opened a new issue, #9531:
URL: https://github.com/apache/netbeans/issues/9531
### Apache NetBeans version
Apache NetBeans 30
### What happened
On first launch after upgrading to Apache NetBeans 30, the IDE starts with a fresh profile instead of detecting and importing the previous version's user profile.
The NetBeans 30 window layout is reset, previously open and recent projects are missing, editor preferences are not retained, database connections are absent, and other profile settings are not migrated. No useful migration prompt appears.
Expected behavior: On first launch, NetBeans 30 should detect the most recent prior profile and offer to migrate the UI layout, open/recent projects, editor preferences, database connections, and other user settings.
### Language / Project Type / NetBeans Component
IDE startup / user profile migration
### How to reproduce
1. Use Apache NetBeans 29 on macOS with a configured UI layout, open/recent projects, editor preferences, database connections, and other user settings.
2. Install Apache NetBeans 30.
3. Launch NetBeans 30 for the first time.
4. Observe that no useful migration prompt appears.
5. Observe that NetBeans 30 opens with a fresh layout and no knowledge of the prior recent/open projects or other profile settings.
This was reproduced on two Macs:
- Apple-silicon MacBook Air, upgrading NetBeans 29 to 30.
- 2017 Intel iMac, upgrading NetBeans 25 to 30.
The failure occurred on both upgrade paths.
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
macOS 26.5.2 (build 25F84), Apple silicon arm64; also reproduced on a 2017 Intel iMac
### JDK
Eclipse Adoptium OpenJDK 26.0.1+8, aarch64
### Apache NetBeans packaging
Community provided installer
### Anything else
Current system:
- MacBook Air (Mac16,12)
- Apple M4, 10-core CPU
- 16 GB memory
- macOS 26.5.2 (build 25F84), arm64
- Apache NetBeans IDE 30
- Build: 30-46c1feab2cb98b58ae1eccb4f9fba1c29137cf5d (11 May 2026)
- Runtime: Eclipse Adoptium OpenJDK 26.0.1+8, aarch64
Workaround that restores the previous profile:
```bash
rm -rf ~/Library/Application\ Support/NetBeans/30
cp -a ~/Library/Application\ Support/NetBeans/29 \
~/Library/Application\ Support/NetBeans/30
rm -rf ~/Library/Application\ Support/NetBeans/30/var/cache
rm -f ~/Library/Application\ Support/NetBeans/30/lock
```
Related reports found during duplicate search:
- #6365 requests preserving editor/index history across upgrades, but does not report this NetBeans 30 full-profile migration failure.
- #9410 concerns only target servers for web projects and does not cover the fresh-profile behavior described here.
### Are you willing to submit a pull request?
No
--
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] NetBeans 30 does not migrate the previous user profile on macOS [netbeans]
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on issue #9531:
URL: https://github.com/apache/netbeans/issues/9531#issuecomment-5052329872
> On first launch after upgrading to Apache NetBeans 30, the IDE starts with a fresh profile
there would be a dialog asking if you wanted to import a previous configuration, assuming the configuration is at the usual place. Since you didn't mention it, does it mean there was no dialog?
> The NetBeans 30 window layout is reset
just as sidenote: UI state like window positions were never migrated. It imports most of the other configuration though.
--
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] NetBeans 30 does not migrate the previous user profile on macOS [netbeans]
Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #9531:
URL: https://github.com/apache/netbeans/issues/9531#issuecomment-5241054049
I've tested this workflow multiple times while checking the community installer builds on macOS. Import dialog always shows up on first run after install when userdir absent. Still no feedback on whether it's reproducible on the reporter's machine, so closing.
--
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] NetBeans 30 does not migrate the previous user profile on macOS [netbeans]
Posted by "gitsocko (via GitHub)" <gi...@apache.org>.
gitsocko commented on issue #9531:
URL: https://github.com/apache/netbeans/issues/9531#issuecomment-5141721737
> You can import settings later by using Tools / Options / Import, or wherever macOS puts that menu item (NetBeans / Preferences?). Copying the whole userdir is not recommended.
Got it; thanks. So maybe my bug report should have been a feature request. I don't think I've ever in 40 years used an app that makes me reconfigure all of my views every time I upgrade, reopen projects, etc.; so I assumed it was a bug.
> The Intel test doesn't show the same failure. NB25 is too old to be suggested for automatic import. Only the previous 3 releases will be offered.
Behavior is identical for me on M4/NBv29 and Intel/NBv25.
> If you backup the userdir elsewhere and delete it, does the import from NB29 fail to trigger again?
I would not think to try this. It's an upgrade, so any userdir manipulation should be handled by the installer.
> I assume this is with the Codelerity installer?
Yes.
> Where was the NB29 version from?
Also Codelerity, but all standalone installers have behaved this way.
> This behaviour is not universally reproducible - importing is part of the testing before distribution.
So you're saying user interaction is required? I guess that goes back to feature request. Not friendly UX if that's the user expectation.
>> On first launch after upgrading to Apache NetBeans 30, the IDE starts with a fresh profile
>
> there would be a dialog asking if you wanted to import a previous configuration, assuming the configuration is at the usual place. Since you didn't mention it, does it mean there was no dialog?
There was no dialog. Previous versions at least asked about plugin migration after install, but never about window position, pane existence/position or previously open projects (to my recollection).
>> The NetBeans 30 window layout is reset
>
> just as sidenote: UI state like window positions were never migrated. It imports most of the other configuration though.
I think it remembers everything inside the settings window. Having to set up my workspace (mainly window views) every update, though, is not good UX.
--
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] NetBeans 30 does not migrate the previous user profile on macOS [netbeans]
Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #9531:
URL: https://github.com/apache/netbeans/issues/9531#issuecomment-5049346091
You can import settings later by using `Tools / Options / Import`, or wherever macOS puts that menu item (`NetBeans / Preferences`?). Copying the whole userdir is not recommended.
The Intel test doesn't show the same failure. NB25 is too old to be suggested for automatic import. Only the previous 3 releases will be offered.
If you backup the userdir elsewhere and delete it, does the import from NB29 fail to trigger again? I assume this is with the Codelerity installer? This behaviour is not universally reproducible - importing is part of the testing before distribution.
--
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] NetBeans 30 does not migrate the previous user profile on macOS [netbeans]
Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net closed issue #9531: NetBeans 30 does not migrate the previous user profile on macOS
URL: https://github.com/apache/netbeans/issues/9531
--
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] NetBeans 30 does not migrate the previous user profile on macOS [netbeans]
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on issue #9531:
URL: https://github.com/apache/netbeans/issues/9531#issuecomment-5141877995
>> there would be a dialog asking if you wanted to import a previous configuration, (...)
> There was no dialog. Previous versions at least asked about plugin migration after install, (...)
right, so this would be the root cause. The import step on first launch didn't see or recognize the config of the previous version or didn't import for other reasons. NB doesn't import config without asking the user first. If you didn't see the dialog or clicked "no", the config migration didn't occur.
> Workaround that restores the previous profile:
renaming config folders isn't a supported way to upgrade to a newer version, it might work but it will likely also lead to problems down the line - this might also include that the importer isn't working.
--
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] NetBeans 30 does not migrate the previous user profile on macOS [netbeans]
Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #9531:
URL: https://github.com/apache/netbeans/issues/9531#issuecomment-5143154986
> > You can import settings later by using Tools / Options / Import, or wherever macOS puts that menu item (NetBeans / Preferences?). Copying the whole userdir is not recommended.
>
> Got it; thanks. So maybe my bug report should have been a feature request. I don't think I've ever in 40 years used an app that makes me reconfigure all of my views every time I upgrade, reopen projects, etc.; so I assumed it was a bug.
If the dialog didn't appear at first start from upgrade, then it's a bug. This is just the way to import settings from somewhere at a later date.
> > If you backup the userdir elsewhere and delete it, does the import from NB29 fail to trigger again?
>
> I would not think to try this. It's an upgrade, so any userdir manipulation should be handled by the installer.
a) this has nothing to do with the installer. If it did, this is not the right place to discuss issues with that. The import feature is built into the IDE, not the installer.
b) I'm asking you to see if you can reproduce the error, not suggesting how you should fix it. If you cannot confirm whether the problem recurs on your setup, then I will close this as not reproducible. The behaviour is not correct, but it's currently only reported for one run on one of your machines.
--
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