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 8392 - JTree Dialog(Relat.MountPoint)has problem to display nodes in Tree(ArrayIndexOutOfBoundException)
Summary: JTree Dialog(Relat.MountPoint)has problem to display nodes in Tree(ArrayIndex...
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 major (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-11-13 11:25 UTC by dmladek
Modified: 2003-07-01 12:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Array...Exception from mouse event (4.22 KB, text/plain)
2001-07-20 20:39 UTC, dmladek
Details
Exceptions thrown during work with JTree (28.14 KB, text/plain)
2001-07-20 20:39 UTC, dmladek
Details
new type of Exception (3.25 KB, text/plain)
2001-07-20 20:39 UTC, dmladek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dmladek 2000-11-13 11:25:29 UTC
[1152IE/CE] and older builds [11xx]
jdk1.3.0-FCS SUN/BlackDown)
===================================

The problem which I'm going to described here. I don't know exactli whos task
is this. IMHO, it happens in vcscvs module, but it's much more relative to core
or even the best one is SWING in jdk. So I'm also going to file this bug to jdk.

I'm recognizing more frequently in recent builds problem with dialog in CVS
wizard: "Setting Relative Moun Point". It very often (but it's not reproducable)
cann't display correctly whole Tree with nodes.
Instead nodes there are white spaces, they are mixed together, etc.

Possible workarrounds are (but they don't work for 100%):
*go back and return
*resizing this window
*clicking on visible nodes (unpacking/packing)
--------------------------------------------------------------

The last one I've been trying but while I was clicking (also on white space in
it) the ArrayIndexOutOfBoundsException
was thrown.
Comment 1 dmladek 2000-11-13 11:27:59 UTC
Created attachment 304 [details]
Array...Exception from mouse event
Comment 2 Martin Entlicher 2000-11-30 12:27:59 UTC
Hopefully fixed in release31 build#19 and dev build #80.
Since it is hard to reproduce, I'm not absolutely sure that the fix works, so if
the bug persists, reopen the bug again.
All tree insertion done in AWT-Event Thread, so it should behave at least
better.
Comment 3 dmladek 2001-01-18 11:05:59 UTC
Sorry, I must reopen this bug
I've tried to verify using:
[Pilsen-010116_1CE]
jdk1.3.1-b13 sun
linux 2.2.16-20smp, rh-70
KDE2.0
============================

It's much better then it was. I mean at the first open.
but if you extract nodes and subnodes, some of them are
doted (instead of name you see dots) even that they are
shorter (4 letters) then longer named(8letters) which
are fully displayed.

But if you clicking on the nodes (packing/unpacking them)
they'll got mixed on the screen an sometimes Exceptions
are thrown:
*java.lang.ArrayIndexOutOfBoundsException
*java.util.NoSuchElementException

see attachment Exceptions.txt
Comment 4 dmladek 2001-01-18 11:11:59 UTC
Created attachment 476 [details]
Exceptions thrown during work with JTree
Comment 5 dmladek 2001-02-02 16:58:59 UTC
I can only remember that this bug still persists !
And it's quiet easy to reproduce:-(
Comment 6 dmladek 2001-02-02 17:03:59 UTC
another type of Exception  is thrown:
NullPointerException  ... see attachment
I hope it'll help

so till now, there are 3 types of E.:
*java.lang.NullPointerException
*java.lang.ArrayIndexOutOfBoundsException
*java.util.NoSuchElementException
Comment 7 dmladek 2001-02-02 17:05:59 UTC
Created attachment 551 [details]
new type of Exception
Comment 8 Martin Entlicher 2001-02-05 15:36:59 UTC
Product changed to vcscore.
Comment 9 Martin Entlicher 2001-02-13 15:04:59 UTC
Hopefully finally fixed in dev build #126.
Comment 10 dmladek 2001-02-14 10:26:59 UTC
verified on [NBdev-126]
Good work, I'm realy glad you fixed it!!
Comment 11 Quality Engineering 2003-07-01 12:55:35 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.