You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Michal Rama (JIRA)" <ji...@apache.org> on 2019/05/19 12:12:00 UTC

[jira] [Created] (NETBEANS-2559) NullPointerException in debug mode.

Michal Rama created NETBEANS-2559:
-------------------------------------

             Summary: NullPointerException in debug mode.
                 Key: NETBEANS-2559
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2559
             Project: NetBeans
          Issue Type: Bug
          Components: debugger - Java, java - Project, javafx - Project
    Affects Versions: 10.0
         Environment: Windows 10, NetBeans Linux 1099, Java 12.0.1
            Reporter: Michal Rama


 

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.
{code:java}
java.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:835)
{code}
Why is he doing it?

Please help

Thank you



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists