Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-715

Annotation: java.lang.ClassCastException While Editing Swing Panel Java Source

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 9.0
    • Fix Version/s: None
    • Environment:

      Description

      context

      • Gradle project open
      • Panel class open in editor
      • Java debugger running
      • Adding a correction to set value for a JCheckBox field.

      expected / desirable

      • Finish adding source code change
      • Move to next GUI error in debugger and consider how that should work in source

      actual

      • Annotation exception
        • stacktrace
          An error occurred during parsing of 'D:\work\products\FourAbs\FourAbsClientLibrary\src\main\java\au\com\fourtel\fourabs\client\ibas\JPanelIbaDetails.java'. Please report a bug against java/source and attach dump file 'Z:\tmp\.other\user\netbeans\v09.00-beta\FourAbs\var\log\JPanelIbaDetails.dump'.
          Caused: java.lang.ClassCastException: com.sun.tools.javac.tree.JCTree$JCConditional cannot be cast to com.sun.tools.javac.tree.JCTree$JCMethodInvocation
          	at com.sun.tools.javac.comp.ArgumentAttr$ResolvedMethodType.dup(ArgumentAttr.java:607)
          	at com.sun.tools.javac.comp.ArgumentAttr.processArg(ArgumentAttr.java:240)
            ...
          

      Impact

      • Interrupts work
      • Not sure if editing is stable

      supporting information

      • JPanelIbaDetails.dump
      • messages.log
      • AssertionError.logs - contains ...
        • stacktrace
        • UI log
        • IDE log

        Attachments

        1. ClassCastException.logs
          1.08 MB
          will mason
        2. JPanelIbaDetails.dump
          67 kB
          will mason
        3. messages.log
          413 kB
          will mason

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              aplatypus will mason
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: