Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-6657085

Unclear error messages in case superclass not found

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • st3.1
    • st1.5.2
    • tools
    • b03
    • x86
    • generic
    • Verified

      Unclear error messages in case superclass not found:
      Added Classes:
      --------------
      ...list of classes...

      Missed Classes:
      ---------------
      ...the same list of classes...

      It happens if superclass is absent in -Classpath. E.g. if java.lang.Object is absent all classes will be reported as added and missed simultaneously.

      The only way to understand approximately what is happend - switch ON debug mode. You can see a lot of exceptions:
      java.lang.ClassNotFoundException: java.lang.Object
      But it is not friendly as well.

      Expected behavior:
      The error message should describe a problem accurately. Something like that:
      class blah.blah.Blah: superclass java.lang.Object not found

            ersh Mikhail Ershov (Inactive)
            alyanguz Alexey Lyanguzov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: