[ https://issues.apache.org/jira/browse/NETBEANS-953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Glenn Holmer updated NETBEANS-953: ---------------------------------- Labels: WAIVER patch pull-request-available (was: patch pull-request-available) > Profile jdk10 remote platform NullPointerException > --------------------------------------------------- > > Key: NETBEANS-953 > URL: https://issues.apache.org/jira/browse/NETBEANS-953 > Project: NetBeans > Issue Type: Bug > Components: profiler - Base > Affects Versions: 9.0 > Environment: Mac OS X 10.9.5, Ubuntu 16.04, Mac OS X 10.13.3 > Reporter: Dell Green > Priority: Critical > Labels: WAIVER, patch, pull-request-available > Attachments: profiler-jdk10.patch > > Time Spent: 10m > Remaining Estimate: 0h > > Using Netbeans 9 on Mac and Linux and profiling a remote application running > on jdk10 causes a NullPointerException. > Repeatable with client on: Mac OS X 10.9.5, Ubuntu 16.04, Mac OS X 10.13.3 > Repeatable with remote jdk10 on Mac OSX 10.13.3, Ubuntu 16.04 and linux armhf > Repeatable with Netbeans9 RC1 and latest source on github at time of writing > (25f29be40b5d36447b3ce2bd170feac6bcc0a9ee) > Other combinations were not tested, so probably exists on those as well > > java.lang.NullPointerException at > org.netbeans.lib.profiler.common.integration.IntegrationUtils.getRemoteProfilerAgentCommandLineArgsWithoutQuotes(IntegrationUtils.java:540) > at > org.netbeans.modules.profiler.nbimpl.actions.ProfilerLauncher.setupAgentEnv(ProfilerLauncher.java:510) > at > org.netbeans.modules.profiler.nbimpl.actions.ProfilerLauncher.access$200(ProfilerLauncher.java:67) > at > org.netbeans.modules.profiler.nbimpl.actions.ProfilerLauncher$Session.configure(ProfilerLauncher.java:327) > at > org.netbeans.modules.profiler.nbimpl.actions.ProfilerLauncher$Session.getProperties(ProfilerLauncher.java:270) > at > org.netbeans.modules.profiler.nbimpl.providers.DefaultProfilerArgsProvider.getArguments(DefaultProfilerArgsProvider.java:48) > at > org.netbeans.modules.extexecution.startup.ProxyStartupExtender.getArguments(ProxyStartupExtender.java:58) > at > org.netbeans.api.extexecution.startup.StartupExtender.getExtenders(StartupExtender.java:85) > at > org.netbeans.modules.javafx2.project.JFXActionProvider.runJvmargsIde(JFXActionProvider.java:319) > at > org.netbeans.modules.javafx2.project.JFXActionProvider.collectStartupExtenderArgs(JFXActionProvider.java:257) > at > org.netbeans.modules.javafx2.project.JFXActionProvider.invokeAction(JFXActionProvider.java:162) > at > org.netbeans.spi.project.support.LookupProviderSupport$MergedActionProvider.invokeAction(LookupProviderSupport.java:262) > at > org.netbeans.modules.profiler.nbimpl.actions.ProfilerLauncher$AntLauncher.launch(ProfilerLauncher.java:414) > at > org.netbeans.modules.profiler.nbimpl.actions.ProfilerLauncher$Session.run(ProfilerLauncher.java:340) > at > org.netbeans.modules.profiler.nbimpl.actions.ProfilerLauncher$ProfilerSessionImpl.start(ProfilerLauncher.java:129) > at > org.netbeans.modules.profiler.v2.ProfilerSession.doStart(ProfilerSession.java:237) > at > org.netbeans.modules.profiler.v2.ProfilerWindow$16.run(ProfilerWindow.java:528) > at > org.netbeans.lib.profiler.ui.UIUtils.runInEventDispatchThread(UIUtils.java:603) > at > org.netbeans.modules.profiler.v2.ProfilerWindow.performDoStartImpl(ProfilerWindow.java:527) > at > org.netbeans.modules.profiler.v2.ProfilerWindow.performStartImpl(ProfilerWindow.java:522) > at > org.netbeans.modules.profiler.v2.ProfilerWindow.access$400(ProfilerWindow.java:132) > at > org.netbeans.modules.profiler.v2.ProfilerWindow$3.performAction(ProfilerWindow.java:236) > at > org.netbeans.modules.profiler.v2.ui.DropdownButton$Button.fireActionPerformed(DropdownButton.java:389) > at > java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308) > at > java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) > at > java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) > at > java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:270) > at > java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297) > at java.desktop/java.awt.Component.processMouseEvent(Component.java:6589) at > java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342) > at java.desktop/java.awt.Component.processEvent(Component.java:6354) at > java.desktop/java.awt.Container.processEvent(Container.java:2261) at > org.netbeans.modules.profiler.v2.ui.DropdownButton$Button.processEventImpl(DropdownButton.java:398) > at > org.netbeans.modules.profiler.v2.ui.DropdownButton$Button.access$000(DropdownButton.java:352) > at > org.netbeans.modules.profiler.v2.ui.DropdownButton.processChildMouseEvent(DropdownButton.java:305) > at > org.netbeans.modules.profiler.v2.ui.DropdownButton.access$400(DropdownButton.java:53) > at > org.netbeans.modules.profiler.v2.ui.DropdownButton$Button.processEvent(DropdownButton.java:394) > at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4966) at > java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2319) at > java.desktop/java.awt.Component.dispatchEvent(Component.java:4798) at > java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4914) > at > java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4543) > at > java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4484) > at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2305) at > java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772) at > java.desktop/java.awt.Component.dispatchEvent(Component.java:4798) at > java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) 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.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97) > at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) at > java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743) 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:742) 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) -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- 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