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 270195

Summary: ClassCastException at javax.swing.LayoutComparator.compare
Product: platform Reporter: ytn01
Component: -- Other --Assignee: Antonin Nebuzelsky <anebuzelsky>
Status: NEW ---    
Severity: normal CC: GastonMF
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 222940
Attachments: stacktrace

Description ytn01 2017-03-24 19:07:24 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.121-b13, Java(TM) SE Runtime Environment, 1.8.0_121-b13
OS: Windows 10

User Comments:
ytn01: Opened two large java web projects. Both have the same name.
While projects were scanning,.. renamed one of these projects (using context menu of project, from project window), to a different name (without "rename project directory" option checked).
Excception got thrown.

GUEST: Renaming Project Folder

GUEST: I only viewd this suggestion!




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.binarySort(TimSort.java:296)
   at java.util.TimSort.sort(TimSort.java:221)
Comment 1 ytn01 2017-03-24 19:07:26 UTC
Created attachment 163941 [details]
stacktrace