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 38789

Summary: AIOOBE from AutomountSupport.updateFileSystems
Product: platform Reporter: Jesse Glick <jglick>
Component: -- Other --Assignee: rmatous <rmatous>
Status: VERIFIED FIXED    
Severity: blocker CC: jskrivanek, jtulach, mkubec
Priority: P2 Keywords: REGRESSION
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Main exception
Secondary exception, after restarting

Description Jesse Glick 2004-01-14 23:17:11 UTC
Dev build from today's sources. Happened 3x when I
added a new treefs mount; another 2x when I tried
to reorder Filesystems dialog.

In my $nbdev/system/Mount, the new mount was
present both at top-level and in the "java/" and
"Javadoc Documentation/" subdirs for some reason.
(I had mounted the folder using just Tools ->
Mount As New Filesystem.) After restarting, I got
exceptions that the system name was duplicated. I
shut down again, removed the stray files, and
restarted. Then all seemed OK.

Maybe recent changes to AutomountSupport forgot
about the possibility of subdirectories...
Comment 1 Jesse Glick 2004-01-14 23:17:39 UTC
Created attachment 12898 [details]
Main exception
Comment 2 Jesse Glick 2004-01-14 23:18:36 UTC
Created attachment 12899 [details]
Secondary exception, after restarting
Comment 3 Jesse Glick 2004-01-15 14:48:22 UTC
BTW this is quite reproducible for me, and I have noticed similar
AIOOBEs under different circumstances when running build system
prototypes (current trunk core).
Comment 4 Jaroslav Tulach 2004-01-15 15:02:50 UTC
Verification: You mean today's trunk. Two days ago, this was fine I
guess. 
Request: If you can reproduce it that easily, why not run with a bit
of logging like "org.netbeans.core.AutomountSupport"?
Comment 5 Jesse Glick 2004-01-15 15:33:26 UTC
I just updated CVS and will see if it happens again. Thanks for the
tip re. ErrorManager level; forgot about that.
Comment 6 Milan Kubec 2004-01-15 16:32:18 UTC
Happens to me during automated tests.
Comment 7 rmatous 2004-01-15 18:45:32 UTC
Commited:
/cvs/core/src/org/netbeans/core/AutomountSupport.java
new revision: 1.52; previous revision: 1.51

Please could you test with revision 1.52. 
Comment 8 Jesse Glick 2004-01-15 18:57:11 UTC
Yes, it appears to be working correctly for me now. FIXED as far as
I'm concerned; maybe Milan can verify.
Comment 9 Pavel Buzek 2004-01-15 22:18:48 UTC
*** Issue 38820 has been marked as a duplicate of this issue. ***
Comment 10 rmatous 2004-01-16 08:49:29 UTC
FIXED. Feel free to reopen if any problem.
Comment 11 Milan Kubec 2004-01-16 09:33:01 UTC
Happens no more during automated tests.
Comment 12 Lukas Hasik 2004-02-26 17:31:31 UTC
verified, see last comment from M. Kubec.
Milan, feel free to verify next time ;)
Comment 13 rmatous 2004-03-09 09:24:52 UTC
*** Issue 38880 has been marked as a duplicate of this issue. ***