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 25733 - AIOOBE when un/mounting FS
Summary: AIOOBE when un/mounting FS
Status: VERIFIED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-17 11:14 UTC by dmladek
Modified: 2008-12-22 18:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
my problematic project (157.86 KB, application/octet-stream)
2002-07-17 11:16 UTC, dmladek
Details
ide.log (with additional output from automount flag) (224.79 KB, text/plain)
2002-07-24 10:37 UTC, dmladek
Details
more recent ide.log (94.35 KB, text/plain)
2002-07-24 10:51 UTC, dmladek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dmladek 2002-07-17 11:14:17 UTC
Product Version       = NetBeans IDE 3.4 Beta 3
(Build 200207170450)
  IDE Versioning        = IDE/1 spec=2.24
impl=200207170450
  Operating System      = Linux version 2.4.18
running on i386
  Java; VM; Vendor      = 1.4.1-rc; Java
HotSpot(TM) Client VM 1.4.1-rc-b17; Sun
Microsystems Inc.
  Java Home             =
/usr/java/j2sdk1.4/sun/jdk1.4.1/jre
  System Locale; Encod. = cs_CZ; ISO-8859-2
  Home Dir; Current Dir = /home.local/danielm;
/DISKS/storage3/forte/NBdev last/netbeans/bin
  IDE Install; User Dir =
/home.local/danielm/forte3/NBdev last/netbeans;
/home.local/danielm/.netbeans/3.4beta
====================================================================

Please note folowing:
 -IDE is in the DIR WITH SPACE..
 -using beta jdk
 -it all started happening after I switch project
(which I hadn't
  used for c. 1-2 week(s))

But with this settings (I'll try attach at least
the project dir)
everytime I mount a new FS (exactly I tried with
JavaCVS FSs and a local) or unmount it. I receive
this AIOOBE.


Here's the stacktrace:
------------------------------------------------------------------------------------------------------------------------------
Annotation: Exception occurred in Request Processor
java.lang.ArrayIndexOutOfBoundsException: 29
        at
org.netbeans.core.AutomountSupport.updateFileSystems(AutomountSupport.java:550)
        at
org.netbeans.core.AutomountSupport.taskFinished(AutomountSupport.java:155)
        at
org.openide.util.Task.notifyFinished(Task.java:121)
        at
org.openide.loaders.FolderInstance.defaultProcessObjects(FolderInstance.java:586)
        at
org.openide.loaders.FolderInstance.access$100(FolderInstance.java:45)
        at
org.openide.loaders.FolderInstance$2.run(FolderInstance.java:456)
        at org.openide.util.Task.run(Task.java:136)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:599)
Comment 1 dmladek 2002-07-17 11:16:28 UTC
Created attachment 6749 [details]
my problematic project
Comment 2 dmladek 2002-07-17 11:19:12 UTC
Restart of IDE helps... so is it P3?
Comment 3 Marian Mirilovic 2002-07-17 11:31:21 UTC
reassigne to david s.- owner of AutomountSupport.

Dan, do you think that its only reproducible with IDE located in
directory with space in path? If yes (or try it without space in path)
please add appropriate keyword, thanks in advance.
Comment 4 dmladek 2002-07-17 13:04:21 UTC
No, seems like it is more serialization problem....
After restart IDE (with space in dir) the problem disapeare.
Also when I have IDE in normal dir and switched into another older
project....the behaviour is the same...
Comment 5 David Strupl 2002-07-18 09:45:51 UTC
Dan,
are there any steps how the bug can be reproduced in "controlled"
environment? I mean steps like "take build XYZ, do this, take the
resulting project, import it into build ABC, do this". Without these
it is hard to reproduce. Also are you (or were you) using some
non-standard modules? Have you ever imported something from older
versions? (this is imported because of deserialization problems).

Without more clear description of how to get the error I am tempted to
close the report as worksforme or invalid.
Comment 6 dmladek 2002-07-18 11:13:12 UTC
No, it isn't "controled" environment.
It's reproductable with current NB3.4Beta builds with my userdir.
I backuped it, so I could provide it all unchanged before the E. is
thrown.

Once you restart ide, problem disapeares...

I could only say you, thet I'm using my userdir almost from one build
to another, from one NB version to another... Sometimes I imort
Project from older version...SO that's kinda mixture of everything:-/

BUt in this case I have 3 quite actual Project and I'm swithcing
between them regulary, aproximately once a/2 week(s)...and between
this time something got changed...


So, the problem is not so serrious as was looking at the first time...
There is easy and good WKRND...so I'd be better to no waste time and
close this bug... I'd wandered if you could fix it only just from
looking into a code, and if it's not possible....

Now, it's your turn, David:-)
Comment 7 David Strupl 2002-07-18 12:38:40 UTC
Ok - I am leaving this open but with P5. If time pertmits we can try
to investigate attached project and find what is wrong with it. But it
would consume a hell lot of effort. And if there is no "normal" way
how to get it into this state --> P5.
Comment 8 dmladek 2002-07-18 13:27:18 UTC
OK, agree with you...
But we should determine the date till we tray to solve it:-)
Let's say till 2 ...Later then we'd radher close it, wouldn't we?
Comment 9 David Strupl 2002-07-19 10:18:37 UTC
I would like to ask you to run your copy of the ide with additional
flag -J-Dorg.netbeans.core.AutomountSupport=-1 and send me (attach
here) the log of the session where the exception occurs. Thanks for
your help.
Comment 10 Marek Grummich 2002-07-22 11:27:50 UTC
Set target milestone to TBD
Comment 11 Marek Grummich 2002-07-22 11:29:33 UTC
Set target milestone to TBD
Comment 12 dmladek 2002-07-24 10:37:09 UTC
Created attachment 6874 [details]
ide.log (with additional output from automount flag)
Comment 13 dmladek 2002-07-24 10:47:50 UTC
Sorry it lasted me so long to attach this output.
This ide log was taken from quiete old project...

But mentioned E was thrown just after used my common userdir and
switch to my Q-Build project....exactly as I did one week ago...
(But after ide was restarted no more E was thrown with this project)

And one more interesting thing: NPE occured going throught "automount"
too. Attaching another ide.log (in which everything has to be more recent)
Comment 14 dmladek 2002-07-24 10:51:39 UTC
Created attachment 6875 [details]
more recent ide.log
Comment 15 David Strupl 2003-01-14 11:47:58 UTC
The NPE has been reported and fixed as issue 27253.
Comment 16 David Strupl 2003-01-14 14:14:56 UTC
Dan I suggest you trying to reproduce this after 27253 has been fixed.
I think (== I am not sure) that the AIOOBE can happen only after
another exception prevented one of the threads from finishing its job.
So it might be the case if there are no previous exceptions the AIOOBE
will not occur. It is just a guess but if you are unable to reproduce
with newest builds please close the issue. Thanks for your help (and
patience).
Comment 17 David Konecny 2003-03-20 12:44:34 UTC
I consider this WONTFIX - what could be fixed was fixed.
Comment 18 dmladek 2003-04-24 13:42:30 UTC
OK