-
Notifications
You must be signed in to change notification settings - Fork 874
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
nullpointerexception / JspJsfELPlugin #7213
Comments
I noticed something important about jsp files! |
@BetoValle please test the modification from #7216. A nightly build is available from the "artifacts" dropdown on the checks page (https://github.com/apache/netbeans/pull/7216/checks) or directly via: https://github.com/apache/netbeans/suites/22279334370/artifacts/1372963631 |
I downloaded it to a temporary folder. I was unable to load this version that requires Java 17. I use Java 11. Even configuring the ".conf" file in the etc folder, I can't load it because it displays the same message! |
Yes, the next version of NetBeans will require JDK 17 as minimum runtime version. But that is not really a problem:
|
Now this version show unexpected exception! without uploading any project files!
|
After clean user dir chachedir and open 1 project:
|
Please attach the full message log when this happens. (see: https://stackoverflow.com/questions/50462124/netbeans-where-to-find-the-ide-log). I build this branch again and can't reproduce. |
i cought a bit of a flu so I am not 100% there but the stack trace does not quite line up on first glance:
would be here. I think NB has a module cache, this looks like it loaded some jars from an older version ( The inner class KenaiUser isn't in the repo anymore. |
|
(1) I deleted the folders related to --userdir and --cachedir! See that the cause is related to: Caused: java.lang.ClassNotFoundException: org.netbeans.modules.versioning.util.VCSKenaiAccessor$KenaiUser starting from ModuleCL@7f70b0fd[org.netbeans.modules.git] in other words, nothing that NB sought from a previous version! (2) Regarding the problem initially reported |
netbeans can't access some files of your cache dir, so it couldn't completely remove some of the older caches:
you didn't set the user dir successfully since it is using the default dir for dev builds. As previously mentioned this is likely the reason old classes show up within NetBeans, since it uses the cache of an ancient NB version.
please start the dev build with:
|
Hi mbien OK! I did these procedures!
|
"KenaiUser" what is it related to? |
I changed to version 17 of "Grab Amazon Corretto" |
please attach the full message.log file, and don't paste the text into the form. |
|
I am not entirely sure what is happening here but some modules do not have th right version
the versioning, mercurial etc modules start with
this doesn't happen to me when I start the dev build, its all |
I can reproduce it now:
I think I know what is happening here. When you made the change to the versioning modules, you only modified the specification version and bumped it to 2.X. But NetBeans carries the major version in the manifest in the form |
I updated the version via project properties UI to 2.0.0. I just checked and the module has the "append impl version automatically" checkbox checked, which is responsible for the other numbers. So you are saying that NB is automatically updating plugins during activation if they are available? (and this is what updated a subset of the plugins from the PR build to the main nightly build?) |
Apart from the major version. I assume the thinking was: we will not break compatibility and if we do it may be painful.
Yes. I'm preparing an update right now. |
@BetoValle could you please test again. But adjust the procedure like this:
After this NetBeans will not fetch updates from the nightly build update center and you can test with the set of modules in the nightly build. You can reenable your internet connection at this point. Now you can activate the modules you need and do your testing. I'm sorry for this, but as you might have glanced from the confusion of @mbien and myself we were a bit surprised about this. |
Hi, Off internet! complains that nb-javac library is not installed! java.lang.AssertionError: No Restater need to make units active |
see: if I install this package, with the internet open and load the web project, it doesn't display an error but it also starts to display installation of mercurial, etc... If I install these packages then the error related to the module returns |
@BetoValle please share your full message.log - random error messages don't convey the full picture. It is unclear why the javac modules could not be loaded as they come bundled with NetBeans. |
I repeated all the operations you did, again. I created a Web(Ant) project, inserted tomcat server, and it ran normally successfully! So I believe you have assertiveness! Thank you and sorry for my distraction regarding deselections with plugins! |
(tests with internet closed!) |
@BetoValle thanks for testing |
Apache NetBeans version
Apache NetBeans 21
What happened
most of the time I get this exception warning when loading netbeans 21 regarding nullpointerexception
Language / Project Type / NetBeans Component
java with ant / web application
How to reproduce
I have no idea
Did this work correctly in an earlier version?
No / Don't know
Operating System
windows 10 64
JDK
JDK11
Apache NetBeans packaging
Apache NetBeans provided installer
Anything else
No response
Are you willing to submit a pull request?
No
The text was updated successfully, but these errors were encountered: