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

Debugger ClassCastException

Rank to TopRank to BottomVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Cannot Reproduce
    • Affects Version/s: 10.0
    • Fix Version/s: 10.0
    • Component/s: debugger - Java
    • Labels:
      None

      Description

      This error is shown after Step over in debug mode.

      Caused: java.lang.ClassCastException: org.netbeans.modules.debugger.jpda.projects.ConstantPool$EntryUTF8 cannot be cast to org.netbeans.modules.debugger.jpda.projects.ConstantPool$EntryNameType
      	at org.netbeans.modules.debugger.jpda.projects.ConstantPool.getMethodName(ConstantPool.java:75)
      	at org.netbeans.modules.debugger.jpda.projects.AST2Bytecode.matchSourceTree2Bytecode(AST2Bytecode.java:138)
      	at org.netbeans.modules.debugger.jpda.projects.EditorContextSupport.computeOperations(EditorContextSupport.java:1056)
      	at org.netbeans.modules.debugger.jpda.projects.PreferredCCParser$3.call(PreferredCCParser.java:187)
      	at org.netbeans.modules.debugger.jpda.projects.PreferredCCParser$3.call(PreferredCCParser.java:179)
      	at org.netbeans.modules.debugger.jpda.projects.PreferredCCParser.runGuarded(PreferredCCParser.java:747)
      	at org.netbeans.modules.debugger.jpda.projects.PreferredCCParser.getOperations(PreferredCCParser.java:179)
      	at org.netbeans.modules.debugger.jpda.projects.EditorContextSupport.getOperations(EditorContextSupport.java:1408)
      	at org.netbeans.modules.debugger.jpda.projectsui.EditorContextImpl.getOperations(EditorContextImpl.java:765)
      	at org.netbeans.modules.debugger.jpda.ExpressionPool.createExpressionAt(ExpressionPool.java:186)
      	at org.netbeans.modules.debugger.jpda.ExpressionPool.getExpressionAt(ExpressionPool.java:82)
      	at org.netbeans.modules.debugger.jpda.actions.StepActionProvider$2.run(StepActionProvider.java:649)
      	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
      	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
      	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
      	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
      Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
      	at org.openide.util.RequestProcessor$Task.schedule(RequestProcessor.java:1459)
      	at org.netbeans.modules.debugger.jpda.actions.StepActionProvider.setOperationsLazily(StepActionProvider.java:714)
      	at org.netbeans.modules.debugger.jpda.actions.StepActionProvider.setLastOperation(StepActionProvider.java:632)
      	at org.netbeans.modules.debugger.jpda.actions.StepActionProvider.setLastOperation(StepActionProvider.java:579)
      	at org.netbeans.modules.debugger.jpda.actions.StepActionProvider.exec(StepActionProvider.java:398)
      	at org.netbeans.modules.debugger.jpda.util.Operator.processEvents(Operator.java:500)
      	at org.netbeans.modules.debugger.jpda.util.Operator.access$800(Operator.java:94)
      	at org.netbeans.modules.debugger.jpda.util.Operator$1.run(Operator.java:225)
      	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
      	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
      	at org.netbeans.modules.debugger.jpda.util.Operator$2.run(Operator.java:257)
      [catch] at java.base/java.lang.Thread.run(Thread.java:844)
      

        Attachments

        1. ui.log.txt
          795 kB
          Tomáš Poledný

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              sakeshar Sarvesh Kesharwani
              Reporter:
              Saljack Tomáš Poledný

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment