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 250001 - ClassCastException at javax.swing.LayoutComparator.compare
Summary: ClassCastException at javax.swing.LayoutComparator.compare
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-24 09:34 UTC by sackana
Modified: 2015-08-05 11:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 214989


Attachments
stacktrace (6.30 KB, text/plain)
2015-01-24 09:34 UTC, sackana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sackana 2015-01-24 09:34:07 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) Client VM, 25.31-b07, Java(TM) SE Runtime Environment, 1.8.0_31-b13
OS: Linux

User Comments:
sackana: I don't know what happen but at that time i was trying to build and run c++ program which is an example given at following location.
http://en.cppreference.com/w/cpp/memory/shared_ptr




Stacktrace: 
java.lang.ClassCastException
   at javax.swing.LayoutComparator.compare(LayoutComparator.java:75)
   at javax.swing.DefaultFocusManager.compareTabOrder(DefaultFocusManager.java:147)
   at javax.swing.CompareTabOrderComparator.compare(CompareTabOrderComparator.java:170)
   at javax.swing.CompareTabOrderComparator.compare(CompareTabOrderComparator.java:159)
   at java.util.TimSort.countRunAndMakeAscending(TimSort.java:356)
   at java.util.TimSort.sort(TimSort.java:216)
Comment 1 sackana 2015-01-24 09:34:09 UTC
Created attachment 151669 [details]
stacktrace
Comment 2 Alexander Simon 2015-07-17 09:31:18 UTC
It seem it is a platform windows system problem.
Reassign to evaluation
Comment 3 civime 2015-08-05 02:42:50 UTC
Through our investigation, we found that the following changes may induced this bug: 

rank 	 revision	 suspicious value
1	a17ea1527b94(http://hg.netbeans.org/main/rev/a17ea1527b94)	0.7984015982268258
2	313ca82fe335(http://hg.netbeans.org/main/rev/313ca82fe335)	0.7888547012916192
3	9cca8544154a(http://hg.netbeans.org/main/rev/9cca8544154a)	0.49580039129452325
4	ff3112fa20e1(http://hg.netbeans.org/main/rev/ff3112fa20e1)	0.4858420974988682
5	c158f020bdcc(http://hg.netbeans.org/main/rev/c158f020bdcc)	0.44472268637743845
6	a87218322b8c(http://hg.netbeans.org/main/rev/a87218322b8c)	0.4296650722060926
7	ecf4de06fa4a(http://hg.netbeans.org/main/rev/ecf4de06fa4a)	0.42611000578604186
8	da5727244f10(http://hg.netbeans.org/main/rev/da5727244f10)	0.42038214904538357
9	afc96170391d(http://hg.netbeans.org/main/rev/afc96170391d)	0.386593830003107
10	d34039eb63c4(http://hg.netbeans.org/main/rev/d34039eb63c4)	0.3824363905935857
11	6fec6735b1ec(http://hg.netbeans.org/main/rev/6fec6735b1ec)	0.3818361634224974
12	6ec09f2c249c(http://hg.netbeans.org/main/rev/6ec09f2c249c)	0.38165944638988997
13	4d9dae33789c(http://hg.netbeans.org/main/rev/4d9dae33789c)	0.38078119856049136
14	896cfeff65a7(http://hg.netbeans.org/main/rev/896cfeff65a7)	0.37859610497536456
15	d5cf289f9e98(http://hg.netbeans.org/main/rev/d5cf289f9e98)	0.37688501644716105

Hope it is useful for fixing this bug. If so, please help us conduct this short survey  https://docs.google.com/forms/d/1roQYX1dHezcB97KQ_iTKEtadaVbzK6FpU-6aGxeUo6M :) Thanks very much!
Comment 4 civime 2015-08-05 11:19:27 UTC
(In reply to civime from comment #3)
> Through our investigation, we found that the following changes may induced
> this bug: 
> 
> rank 	 revision	 suspicious value
> 1	a17ea1527b94(http://hg.netbeans.org/main/rev/a17ea1527b94)
> 0.7984015982268258
> 2	313ca82fe335(http://hg.netbeans.org/main/rev/313ca82fe335)
> 0.7888547012916192
> 3	9cca8544154a(http://hg.netbeans.org/main/rev/9cca8544154a)
> 0.49580039129452325
> 4	ff3112fa20e1(http://hg.netbeans.org/main/rev/ff3112fa20e1)
> 0.4858420974988682
> 5	c158f020bdcc(http://hg.netbeans.org/main/rev/c158f020bdcc)
> 0.44472268637743845
> 6	a87218322b8c(http://hg.netbeans.org/main/rev/a87218322b8c)
> 0.4296650722060926
> 7	ecf4de06fa4a(http://hg.netbeans.org/main/rev/ecf4de06fa4a)
> 0.42611000578604186
> 8	da5727244f10(http://hg.netbeans.org/main/rev/da5727244f10)
> 0.42038214904538357
> 9	afc96170391d(http://hg.netbeans.org/main/rev/afc96170391d)
> 0.386593830003107
> 10	d34039eb63c4(http://hg.netbeans.org/main/rev/d34039eb63c4)
> 0.3824363905935857
> 11	6fec6735b1ec(http://hg.netbeans.org/main/rev/6fec6735b1ec)
> 0.3818361634224974
> 12	6ec09f2c249c(http://hg.netbeans.org/main/rev/6ec09f2c249c)
> 0.38165944638988997
> 13	4d9dae33789c(http://hg.netbeans.org/main/rev/4d9dae33789c)
> 0.38078119856049136
> 14	896cfeff65a7(http://hg.netbeans.org/main/rev/896cfeff65a7)
> 0.37859610497536456
> 15	d5cf289f9e98(http://hg.netbeans.org/main/rev/d5cf289f9e98)
> 0.37688501644716105
> 
> Hope it is useful for fixing this bug. If so, please help us conduct this
> short survey 
> https://docs.google.com/forms/d/1roQYX1dHezcB97KQ_iTKEtadaVbzK6FpU-6aGxeUo6M
> :) Thanks very much!

The better list should be:
rank 	 revision	 suspicious value
1	a17ea1527b94(http://hg.netbeans.org/main/rev/a17ea1527b94)	0.7931109744372259
2	ff3112fa20e1(http://hg.netbeans.org/main/rev/ff3112fa20e1)	0.46147659378445793
3	c158f020bdcc(http://hg.netbeans.org/main/rev/c158f020bdcc)	0.41955046146333463
4	a87218322b8c(http://hg.netbeans.org/main/rev/a87218322b8c)	0.40155192437533815
5	ecf4de06fa4a(http://hg.netbeans.org/main/rev/ecf4de06fa4a)	0.39985236506013805
6	da5727244f10(http://hg.netbeans.org/main/rev/da5727244f10)	0.39358886360187717
7	afc96170391d(http://hg.netbeans.org/main/rev/afc96170391d)	0.36010229062819105
8	d34039eb63c4(http://hg.netbeans.org/main/rev/d34039eb63c4)	0.35561499139589414
9	6fec6735b1ec(http://hg.netbeans.org/main/rev/6fec6735b1ec)	0.35506762092434135
10	4d9dae33789c(http://hg.netbeans.org/main/rev/4d9dae33789c)	0.35298664660218315

Thanks!!