-
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
NB22 rc2 - Go to Declaration does not work from XHTML (JSF) code #7354
Comments
this might be fixed in 22 rc3 #7356, rc3 should be available this week |
@mbien Thanks for the update. I tried to download NB22 rc3. It still fails, but now with a bit different exception:
|
@vitsuchanek can you provide a minimal project, that reproduces the problem? |
@matthiasblaesing I tried to reproduce it with an example project (see e.g. https://github.com/sachingsachin/jsf-primefaces-example) - however NB22 rc3 seems to work correctly in this case. So I tried to check NB IDE log: I found there another exception prior to one I already reported:
I don't know if it helps or not. I'm not sure whether it can be related to usage of our local maven repositories in project's pom.xml. However URLs to our local repositories are not secured - that is they are referenced with http://xxx (not using https protocol). I'll try to give it more time but I'm afraid I cannot manage to do it this week :-(. Anyway - thanks a lot for your effort and your time! |
@matthiasblaesing Hi, I was unable to isolate the problem :-(. I tried to play with that however our Java web project is quite big. Could it be possible to add some logging in case of an exception e.g. into method |
@vitsuchanek please see if #7464 improves the situation. A nightly build is available from the "Checks" page or directly via: https://github.com/apache/netbeans/suites/24837488249/artifacts/1595526139 |
@matthiasblaesing Hi, great job! So far so good! The exception disappeared, Go to Declaration, code-completion and syntax highlighting again work! Thanks a lot, Matthias! Vít |
Apache NetBeans version
Apache NetBeans 22 release candidate
What happened
I tried Navigate / Go to Declaration from XHTML file. After a few seconds, this exception occurred:
Language / Project Type / NetBeans Component
Java Maven web application using JSF
How to reproduce
I saw this exception multiple times but I didn't know how to reproduce it. I'm working on a Java web project using JSF (MyFaces + Primefaces). JSF pages are represented by XHTML files. This exception occurred when I tried to use Go to Declaration on this code:
I mean that I tried to go to method getSourceDescription in class ProfileHistoryView. It works in NB21 (it takes cca 5s to complete in our web project).
Did this work correctly in an earlier version?
Apache NetBeans 21
Operating System
Windows 10 version 10.0 running on amd64; UTF-8; cs_CZ (nb)
JDK
21.0.3; Java HotSpot(TM) 64-Bit Server VM 21.0.3+7-LTS-152
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
It occured each time I tried to go to declaration.

Are you willing to submit a pull request?
No
The text was updated successfully, but these errors were encountered: