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 150885 - Exception in Output window linked to wrong source file
Summary: Exception in Output window linked to wrong source file
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-21 15:38 UTC by giorgio42
Modified: 2015-05-28 20:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description giorgio42 2008-10-21 15:38:30 UTC
Latest daily 200810181401.

I have two web application projects with different project names in different directories containing the same classes
because one is just a modified copy of the other.

If I have both projects open in NB and I click on an hyperlinked exception in the Apache Tomcat 6.0.18 server log, the
click takes me to the wrong source file (in my case to the source file in the first [in project window sort order]
project, while the second project would actually be the correct one. 

The effect is that I am taken to lines containing comments or closing braces or other code unrelated to the exception.

The work-around is to close the "wrong" project.

Obviously the link between the exception and the source is too naive.

Georg
Comment 1 Jayashri Visvanathan 2008-11-26 01:42:46 UTC
changing resolution to later
Comment 2 Quality Engineering 2009-11-02 11:17:17 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX