Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving Netbeans app after first launch causes errors in IDE #8127

Open
fixbugbroken opened this issue Jan 8, 2025 · 0 comments
Open

Moving Netbeans app after first launch causes errors in IDE #8127

fixbugbroken opened this issue Jan 8, 2025 · 0 comments
Labels
kind:bug Bug report or fix needs:triage Requires attention from one of the committers

Comments

@fixbugbroken
Copy link

Apache NetBeans version

Apache NetBeans 24

What happened

Running on macOS:

If the Netbeans application bundle is moved to a new directory after it has already been launched at least once then the IDE will start reporting errors in the notifications window.

The log file shows that netbeans is attempting to load files from the prior directory location.

Language / Project Type / NetBeans Component

No response

How to reproduce

  1. Install netbeans
  2. Launch netbeans
  3. Close netbeans
  4. Move netbeans application bundle to another directory
  5. Launch netbeans

Netbeans will launch at step 5. However it will report that it has detected an error. The log files show that it cannot find netbean jar files located in the original install location.

Did this work correctly in an earlier version?

No / Don't know

Operating System

macOS 15.2 (24C101)

JDK

openjdk version "22.0.2"

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

The issue seems to be cached configuration information that continues to point to the old install location found in the file:

{$USER}/Library/Application Support/NetBeans/24/build.properties

If the folder containing the build.properties file is removed (eg .../24) then netbeans no longer reports any errors after it is re-launched and rebuilds the cache.

Are you willing to submit a pull request?

No

@fixbugbroken fixbugbroken added kind:bug Bug report or fix needs:triage Requires attention from one of the committers labels Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug Bug report or fix needs:triage Requires attention from one of the committers
Projects
None yet
Development

No branches or pull requests

1 participant