[ 
https://issues.apache.org/jira/browse/NETBEANS-2559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17051642#comment-17051642
 ] 

Ernie Rael commented on NETBEANS-2559:
--------------------------------------

(That comment is a note to myself about where/why in NB there is an NPE)
What version of JavaFX are you debugging?

That is code inside of NB. It seems like NB is looking for something, 
com.sun.javafx.runtime.SystemProperties,  that does not exist in the javafx 
that you are debugging.

> 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
>
> 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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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

Reply via email to