Skip to content

Critical error when install netbeans (Comparison method violates its general contract!) #6339

Closed

Description

@mariefpratama

Apache NetBeans version

Apache NetBeans 18

What happened

when I try to install netbeans, a critical error appears saying:

"An unexpected exception happened in thread AWT-EventQueue-0

Exceptions:
java.lang.IllegalArgumentException:
Comparison method violates its general contract!"

How to reproduce

Please help me solve the problem

Did this work correctly in an earlier version?

No / Don't know

Operating System

Windows 11

JDK

Jdk-20

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

This problem occur when i click "next" after agree terms and conditions

Are you willing to submit a pull request?

Yes

Activity

  1. added
    kind:bug
    needs:triage
    on Aug 13, 2023
  2. troizet commented on Aug 14, 2023

    @troizet
    Collaborator

    Duplicate #6289.

  3. added and removed
    needs:triage
    on Aug 14, 2023
  4. mbien commented on Aug 14, 2023

    @mbien
    Member

    JDK bug:
    https://bugs.openjdk.org/browse/JDK-8305072

    it has something to do of having the wrong combination of folders on your system which breaks the file chooser, not much we can do unfortunately.

  5. mbien commented on Aug 19, 2023

    @mbien
    Member

    for workarounds see #6361

  6. changed the title [-]Critical error when install netbeans[/-] [+]Critical error when install netbeans (Comparison method violates its general contract!)[/+] on Aug 19, 2023
  7. mbien commented on Apr 29, 2024

    @mbien
    Member

    fixed in JDK 23 -> openjdk/jdk#18126 and 22.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions