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.

Bug 61241 - IDE generated JSP not contained in webmodule
Summary: IDE generated JSP not contained in webmodule
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP Parser (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Petr Pisl
URL: http://www.visual-paradigm.com/suppor...
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-21 15:34 UTC by muzzz
Modified: 2005-09-15 15:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (single reproduction run) (23.79 KB, text/plain)
2005-07-21 15:36 UTC, muzzz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description muzzz 2005-07-21 15:34:17 UTC
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.
Comment 1 muzzz 2005-07-21 15:36:53 UTC
Created attachment 23212 [details]
messages.log (single reproduction run)
Comment 2 Petr Pisl 2005-07-22 16:34:46 UTC
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
Comment 3 muzzz 2005-07-23 14:24:37 UTC
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.
Comment 4 Petr Pisl 2005-07-25 09:54:51 UTC
Thank you, send me the example Web Application. Which module did you install?
Comment 5 Petr Pisl 2005-08-02 12:21:45 UTC
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
Comment 6 muzzz 2005-08-08 16:26:15 UTC
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.

Comment 7 Petr Pisl 2005-08-08 16:34:26 UTC
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?
Comment 8 muzzz 2005-08-08 17:10:04 UTC
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.

Comment 9 Petr Pisl 2005-09-13 13:46:31 UTC
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.
Comment 10 zikmund 2005-09-13 14:56:20 UTC
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
Comment 11 muzzz 2005-09-13 15:11:21 UTC
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.
Comment 12 zikmund 2005-09-13 15:15:31 UTC
Let's mark it WontFix - because we can hardly do anything on NetBeans side.
Thanks Muzzz for your help!
Comment 13 muzzz 2005-09-14 19:39:21 UTC
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.
Comment 14 Petr Pisl 2005-09-15 15:33:55 UTC
So, I entered new issue #64454 against jsp parser. I would like handle this
situation on the our side as well.