You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Tomáš Procházka (Jira)" <ji...@apache.org> on 2021/01/02 20:34:00 UTC

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

     [ https://issues.apache.org/jira/browse/NETBEANS-2559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomáš Procházka resolved NETBEANS-2559.
---------------------------------------
    Fix Version/s: 12.0
       Resolution: Fixed

> 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: 11.2
>         Environment: Windows 10, Java 13.0.2
>            Reporter: Michal Rama
>            Priority: Minor
>              Labels: Debug, NullPointerException, javafx, pull-request-available
>             Fix For: 12.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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.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){code}
> Why is he doing it?
> Please help
> Thank you



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
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