[
https://issues.apache.org/jira/browse/NETBEANS-532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16417624#comment-16417624
]
Gili commented on NETBEANS-532:
-------------------------------
I get a second exception when closing the profiler tab (after getting the
aforementioned exception):
{code}
java.lang.NullPointerException
at
org.netbeans.modules.profiler.actions.ResetResultsAction$1.run(ResetResultsAction.java:119)
at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
at org.openide.util.RequestProcessor.post(RequestProcessor.java:395)
at
org.netbeans.modules.profiler.utilities.ProfilerUtils.runInProfilerRequestProcessor(ProfilerUtils.java:48)
at
org.netbeans.modules.profiler.actions.ResetResultsAction.performAction(ResetResultsAction.java:111)
at
org.netbeans.modules.profiler.v2.ProfilerSession.cleanup(ProfilerSession.java:343)
at
org.netbeans.modules.profiler.v2.ProfilerSession.access$500(ProfilerSession.java:40)
at
org.netbeans.modules.profiler.v2.ProfilerSession$5.componentClosed(ProfilerSession.java:324)
at
org.openide.windows.WindowManager.componentCloseNotify(WindowManager.java:297)
at
org.netbeans.core.windows.WindowManagerImpl.notifyTopComponentClosed(WindowManagerImpl.java:1131)
at
org.netbeans.core.windows.Central.removeModeTopComponent(Central.java:1000)
at
org.netbeans.core.windows.ModeImpl.removeTopComponent(ModeImpl.java:453)
at org.netbeans.core.windows.ModeImpl.close(ModeImpl.java:261)
at
org.netbeans.core.windows.WindowManagerImpl.topComponentClose(WindowManagerImpl.java:1304)
at org.openide.windows.TopComponent.close(TopComponent.java:536)
at org.openide.windows.TopComponent.close(TopComponent.java:523)
at
org.netbeans.core.windows.actions.ActionUtils.closeWindow(ActionUtils.java:540)
at
org.netbeans.core.windows.actions.CloseWindowAction$2.run(CloseWindowAction.java:87)
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)
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)
[catch] at
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
{code}
> 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
> Reporter: Gili
> Priority: Critical
> Labels: jdk10
>
> 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 issues 100% of the time.
--
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