Gili created NETBEANS-532:
-----------------------------
Summary: NPE running profiler
Key: NETBEANS-532
URL: https://issues.apache.org/jira/browse/NETBEANS-532
Project: NetBeans
Issue Type: Bug
Components: profiler - Base
Affects Versions: 9.0
Environment: Product Version: Apache NetBeans IDE Dev (Build
incubator-netbeans-release-242-on-20180323)
Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46
Runtime: Java(TM) SE Runtime Environment 10+46
System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
Maven 3.5.2
Reporter: Gili
When running the profiler on a Maven project I get:
{code}
java.lang.NullPointerException
at
org.netbeans.modules.profiler.v2.features.MethodsFeature$9.getProfilerClient(MethodsFeature.java:515)
at
org.netbeans.modules.profiler.v2.features.MethodsFeatureUI.initUI(MethodsFeatureUI.java:222)
at
org.netbeans.modules.profiler.v2.features.MethodsFeatureUI.getResultsUI(MethodsFeatureUI.java:100)
at
org.netbeans.modules.profiler.v2.features.MethodsFeature.getResultsUI(MethodsFeature.java:492)
at
org.netbeans.modules.profiler.v2.impl.FeaturesView.createContainer(FeaturesView.java:149)
at
org.netbeans.modules.profiler.v2.impl.FeaturesView.addFeature(FeaturesView.java:134)
at
org.netbeans.modules.profiler.v2.ProfilerWindow.updateFeatures(ProfilerWindow.java:373)
at
org.netbeans.modules.profiler.v2.ProfilerWindow.popupulateUI(ProfilerWindow.java:275)
at
org.netbeans.modules.profiler.v2.ProfilerWindow.access$200(ProfilerWindow.java:132)
at
org.netbeans.modules.profiler.v2.ProfilerWindow$1$1.run(ProfilerWindow.java:200)
at
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
[catch] at
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists