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 44117 - Refresh parent FileObject of newly created catalina basedir
Summary: Refresh parent FileObject of newly created catalina basedir
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords: T9Y
Depends on:
Blocks:
 
Reported: 2004-06-01 18:33 UTC by L Martinek
Modified: 2006-03-24 10:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (633 bytes, text/plain)
2004-06-01 18:33 UTC, L Martinek
Details
Proposed patch (679 bytes, patch)
2004-06-01 18:34 UTC, L Martinek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description L Martinek 2004-06-01 18:33:28 UTC
One of my automated tests does nothing that opens
web project and runs it. I always got exception
during starting of Tomcat. It happened because
FileObject of newly created catalina basedir was
always null. I found out that parent FileObject of
newly created catalina basedir has to be
refreshed. Strange is that the problem never
occurred when I did it manually. 

I am attaching proposed patch.
Comment 1 L Martinek 2004-06-01 18:33:57 UTC
Created attachment 15401 [details]
Exception
Comment 2 L Martinek 2004-06-01 18:34:35 UTC
Created attachment 15402 [details]
Proposed patch
Comment 3 L Martinek 2004-06-02 10:15:51 UTC
Now I was able to reproduce it also manually. Please fix it ASAP. It
blocks my development of automated tests.
Comment 4 Martin Grebac 2004-06-02 12:07:21 UTC
I think the patch looks ok, I'll apply it.
Comment 6 Petr Blaha 2004-07-09 09:16:39 UTC
Verified