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 26018 - Output window stack trace hyperlink wrongly loads non-executing classes
Summary: Output window stack trace hyperlink wrongly loads non-executing classes
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Terminalemulator (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: akemr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-25 16:21 UTC by Ben Hutchison
Modified: 2008-12-23 08:28 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 Ben Hutchison 2002-07-25 16:21:20 UTC
I have 2 versions of a similar source tree mounted; the 
higher precedence tree has its "Use for Execution" 
capability set false; I develop and run the lower version. 

When classes running in the lower tree cause a stack trace 
in the output window, clicking on the hyperlinks thus 
displayed loads the other, non-executing version of the 
source file.

IMO this seems undesirable, since the stack trace 
originates from an executing class, so it should match on 
the first executable class file in the mounted filesystems.
Comment 1 _ ttran 2002-09-03 21:12:27 UTC
looks like a classic classpath problem.  Svata certainly has something
to say here
Comment 2 akemr 2002-09-04 08:16:29 UTC
Problem is that (to find proper fileobject) output window uses
standard method:

  Repository.getDefault().findResource( path );

which in your case can return file from higher filesystem.


However, I can probably check filesystems with capability "Use for
Execution" set to true prior to other filesystems.
Comment 3 akemr 2002-09-06 13:45:52 UTC
Fixed in trunk
Comment 4 Marian Mirilovic 2002-11-08 16:26:59 UTC
verified in [nb_dev](20021108)
Comment 5 Quality Engineering 2008-12-23 08:28:23 UTC
moving terminal emulator issues to terminalemulator component.
To see the correct version and target milestone of this issue look at Issue
Activity table.