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

NullPointerException in debug mode.

    XMLWordPrintableJSON

Details

    Description

      Hello,

      When I start the project, everything will go well.

      The problem occurs when I run debug mode. It goes through all the "Line Breakpoints". After the last, the project starts, but it also displays an error.

      java.lang.NullPointerExceptionjava.lang.NullPointerException at org.netbeans.modules.debugger.jpda.jdi.ReferenceTypeWrapper.fieldByName(ReferenceTypeWrapper.java:1033)[catch] at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.setFxDebug(VisualDebuggerListener.java:463) at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.initDebuggerRemoteService(VisualDebuggerListener.java:273) at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.access$100(VisualDebuggerListener.java:94) at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener$3.breakpointReached(VisualDebuggerListener.java:184) at org.netbeans.api.debugger.jpda.JPDABreakpoint.fireJPDABreakpointChange(JPDABreakpoint.java:275) at org.netbeans.api.debugger.jpda.JPDADebugger.fireBreakpointEvent(JPDADebugger.java:466) at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.fireBreakpointEvent(JPDADebuggerImpl.java:641) at org.netbeans.modules.debugger.jpda.breakpoints.BreakpointImpl.perform(BreakpointImpl.java:535) at org.netbeans.modules.debugger.jpda.breakpoints.MethodBreakpointImpl.exec(MethodBreakpointImpl.java:253) 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) at java.base/java.lang.Thread.run(Thread.java:830)

      Why is he doing it?

      Please help

      Thank you

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Michal_cat Michal Rama
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h