Error for initialization GIT for project #7501
Replies: 14 comments 2 replies
-
Please provide the full message.log for a run where you reproduce the problem. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
That is not the right log:
|
Beta Was this translation helpful? Give feedback.
-
Sorry
|
Beta Was this translation helpful? Give feedback.
-
your netbeans installation is broken, it has 8+ different versions of asm in it. |
Beta Was this translation helpful? Give feedback.
-
What do you mean it doesn't work?! I am currently writing a program in it. Everything works. The fact is that NetBeans 8 had localization of the interface language, which is not available now, so I install each new version on top of the previous one. So what should I do with the assembler? |
Beta Was this translation helpful? Give feedback.
-
Right, this would explain where all the extra jars are from and what caused all the exceptions in the log. You can't install NetBeans "on top" of an older version. Try to install it normally and everything should work again. Regarding localization: unfortunately newer versions of NetBeans ship only in English. It is a community project with limited resources and I don't think anyone is working on localization at the moment unfortunately. |
Beta Was this translation helpful? Give feedback.
-
Can you give me advice on how to solve my problem within the current installation? |
Beta Was this translation helpful? Give feedback.
-
there is no easy way to repair this. You could download the NetBeans 22 zip and use a diff tool like meld (https://meldmerge.org/) to compare the installation with the zip content. NetBeans has 450+ modules and probably thousands of files and the asm jars are likely not the only problem if you copied one NetBeans version into the other (repeatedly apparently). The pragmatic approach would be to simply install it again. |
Beta Was this translation helpful? Give feedback.
-
And when you update a version, don't you install a new one on top? |
Beta Was this translation helpful? Give feedback.
-
not quite, the installers remove the old version, then install the new version. Even if it wouldn't remove the old version, it would simply install it next to the old version since the folder is named differently. Configuration files are kept separate so that some settings can be imported on the first launch to the new version. The download page links also to community installers which bundle latest Java and NetBeans in one package which is probably the easiest method to install NetBeans on windows. |
Beta Was this translation helpful? Give feedback.
-
All the NBPackage-built installers with native installer systems, including the Windows community installer, are designed to install over the top of the previous install. Which generally they do by erasing everything first. The legacy Windows installer code still used for the ASF release doesn't do this. IIRC it should just refuse to install. Are you forcing it to install over the top somehow? Or is this another issue with it? Moving this over to discussions as this is obviously a broken installation. If the issue can be reproduced with a standard install, then a new issue can be opened. |
Beta Was this translation helpful? Give feedback.
-
If you are going to edit the installer. Please let my localization remain, which, first of all, has never created problems before and does not create them now either. To make edits only to those files that affect the work. |
Beta Was this translation helpful? Give feedback.
-
AND on start IDE, popup window with message: |
Beta Was this translation helpful? Give feedback.
-
Apache NetBeans version
Apache NetBeans 22
What happened
Language / Project Type / NetBeans Component
No response
How to reproduce
control verstions
->inicialization GIT repozitory
Did this work correctly in an earlier version?
No / Don't know
Operating System
Windows 11 version 10.0 running on amd64; UTF-8; ru_RU (nb)
JDK
20
Apache NetBeans packaging
Apache NetBeans provided installer
Anything else
No response
Are you willing to submit a pull request?
No
Beta Was this translation helpful? Give feedback.
All reactions