Issue Details (XML | Word | Printable)

Key: NBRCP_KOLEKTIV-6
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Varun Nischal
Reporter: Varun Nischal
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
nbrcp-kolektiv

Throws exception when hyperlink navigates to external file within same root

Created: 30/Jun/09 07:36 AM   Updated: 30/Jun/09 08:13 AM
Component/s: nbm-hyperlink
Affects Version/s: RHN v1.1
Fix Version/s: RHN v1.2

Time Tracking:
Not Specified

Environment: NetBeans 6.0, JDK 1.5 (Source Level and Java Platform) recommended

Tags: hyperlink exception


 Description  « Hide
Actually, this was working fine until refactoring of code took place. The module had a feature that will check whether the navigated html file is already opened or not. If opened, will navigate to it directly and if not, will find its fileobject, create dataobject and open the file in editor.

Since refactoring, it assumes (doesn't check) that html file is already opened and tries to navigate to it. Hence, exception is thrown. Check the code (Line #281, 282);
http://kenai.com/projects/nbrcp-kolektiv/sources/incubator/content/nbplugins/trunk/ahrefhyperlink.revamped/src/com/wp/nbguru/ahrefhyperlink/revamped/OpenThreadImpl.java?rev=79



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order