This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The node for IDE generated JSP pages (New Web Application project wizard index.jsp, new JSP wizard pages) has a red error sign overlayed. If the file is opened in the editor, the editor status bar displays for example: "File index.jsp is not contained within a web module." Steps to reproduce: - Start NB with an empty userdir - New Project -> Web Application Project, finish the wizard.
Created attachment 23212 [details] messages.log (single reproduction run)
Hi, I have to admit I don't have an idea why it happened, except the security issue. So you say, that it happen on your computer for every time? Is this computer only your or is shared between more users? Can I provide a jar for you, which can help me find the reason. We are not able to reproduce it. Petr
The computer is only used by myself, though I still install modules etc. in my userdir instead of globally. And every single JSP page generated by the IDE has that error. Sending the JAR is fine. I could also provide a ZIPped example of a WebApp project that shows an error in my case if you're interested.
Thank you, send me the example Web Application. Which module did you install?
last Friday I tried to find the problem with other men, who had the same issue. We find out, that he had two commons-logging.jar on the classpath. In his case it was ide5\modules\ext\commons-logging-1.0.4.jar and ide5\modules\ext\commons-logging.jar. The commons-logging-1.0.4.jar is the right jar, which comes with the Netbeans. The commons-logging.jar comes with the third party module and contains different version of the library. When he removed the commons-logging.jar, than everything was OK. Can you check, whether this is your situation as well? Thanks
That doesn't seem to be the case with me. A search for "commons-logging" shows --- <NB DIR>\ide5\modules\ext\commons-logging-1.0.4.jar <NB DIR>\ide5\ant\lib\ant-commons-logging.jar <NB DIR>\enterprise\jakarta-tomcat-5.5.7\bin\commons-logging-api.jar --- and (where SAS is the target sun application server) --- <SAS DIR>\lib\commons-logging.jar <SAS DIR>\lib\ant\lib\ant-commons-logging.jar --- but nothing in the userdir.
Hmm, strange. The log is exactly the same. Could you write, which modules did you install? Did you instal any module, which is not in our autoupdate?
You might be right. I installed Visual Paradigm Suite 1.1, and didn't knew it was installed globally. Enabling it causes the errors, disabling makes them go away. But it seems NB has to be restarted, even though it turns on the module without restarting. It is located in \ide5\modules\com-vp-vpsde-nb.jar Most of the resources seem to be located in an directory outside of NB or the userdir. A search there for "commons-logging" reveals nothing.
Could we close this issue? The problem is that third party module install the same commons-logging library and then the library is not initialized correctly.
I agree with closing the bug. To reporter: could you please file issue against Visual Paradigm NetBeans module? http://www.visual-paradigm.com/support/bugreport.jsp
I've filed a bug against VP with a reference to this page. Please let me know if there is any other information I could provide them that might help solve the problem.
Let's mark it WontFix - because we can hardly do anything on NetBeans side. Thanks Muzzz for your help!
The issue has been filed with Visual Paradigm as support ticket QTT-37887. Visual Paradigm responded that the issue was known, and has been fixed in the latest release.
So, I entered new issue #64454 against jsp parser. I would like handle this situation on the our side as well.