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 269827 - ClassCastException: org.netbeans.modules.versioning.core.api.VCSFileProxy cannot be cast to java.lang.Comparable
Summary: ClassCastException: org.netbeans.modules.versioning.core.api.VCSFileProxy can...
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote VCS (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-14 19:18 UTC by dholladay00
Modified: 2017-04-24 15:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 228047


Attachments
stacktrace (1.13 KB, text/plain)
2017-02-14 19:18 UTC, dholladay00
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dholladay00 2017-02-14 19:18:39 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: Mac OS X

User Comments:
dholladay00: I am not 100% sure, but I am having problems with remote git.




Stacktrace: 
java.lang.ClassCastException: org.netbeans.modules.versioning.core.api.VCSFileProxy cannot be cast to java.lang.Comparable
   at java.util.ComparableTimSort.countRunAndMakeAscending(ComparableTimSort.java:320)
   at java.util.ComparableTimSort.sort(ComparableTimSort.java:188)
   at java.util.Arrays.sort(Arrays.java:1246)
   at org.netbeans.modules.remotefs.versioning.api.FileSelector.show(FileSelector.java:153)
   at org.netbeans.modules.git.remote.utils.GitUtils.getActionRoots(GitUtils.java:488)
   at org.netbeans.modules.git.remote.ui.actions.SingleRepositoryAction.getActionRoots(SingleRepositoryAction.java:102)
Comment 1 dholladay00 2017-02-14 19:18:41 UTC
Created attachment 163633 [details]
stacktrace
Comment 2 Alexander Simon 2017-03-22 17:02:17 UTC
fixed on enum, branch release82, changeset 967d9bc48256
Comment 3 Quality Engineering 2017-04-02 02:37:08 UTC
Integrated into 'main-silver', will be available in build *201704020002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/10d47ab5300c
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #269827 ClassCastException: org.netbeans.modules.versioning.core.api.VCSFileProxy cannot be cast to java.lang.Comparable
(transplanted from 967d9bc482564b373d7f9e768cc8b98d7626f200)
Comment 4 ilia 2017-04-12 12:41:26 UTC
https://netbeans.org/bugzilla/show_bug.cgi?id=269827 Changesets:
    http://hg.netbeans.org/releases/rev/967d9bc48256 # fixed Bug #269827 ClassCastException: org.netbeans.modules.versioning.core.api.VCSFileProxy cannot be cast to java.lang.Comparable
Comment 5 Alexander Pepin 2017-04-24 15:56:29 UTC
Do not see such exception in netbeans-8.2-20170421.