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.
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)
Created attachment 6749 [details] my problematic project
Restart of IDE helps... so is it P3?
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.
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...
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.
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:-)
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.
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?
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.
Set target milestone to TBD
Created attachment 6874 [details] ide.log (with additional output from automount flag)
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)
Created attachment 6875 [details] more recent ide.log
The NPE has been reported and fixed as issue 27253.
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).
I consider this WONTFIX - what could be fixed was fixed.
OK