Source:
<code>public void actionPerformed(ActionEvent e) { WebViewBasedBrowserComponent browser = WebViewBasedBrowserComponentFactory.createBrowserComponent (false, WebViewBasedBrowserComponent.PopupStrategy.EXTERNAL_BROWSER); Component browserComponent = browser.getComponent(); dialog = new JDialog(UISupport.getMainFrame(), "Endpoint Explorer", false); dialog.getContentPane().add(browserComponent); dialog.setSize(860, 435); dialog.setMinimumSize(new Dimension(860, 435)); dialog.setLocationRelativeTo(null); dialog.setResizable(true); dialog.setVisible(true); dialog.setIconImage((UISupport.createImageIcon("/SoapUI-OS_16-16.png")).getImage()); dialog.getRootPane().registerKeyboardAction((event) -> close(), KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0), JComponent.WHEN_IN_FOCUSED_WINDOW); UISupport.centerDialog(dialog, UISupport.getMainFrame()); UISupport.getMainFrame().setEnabled(false); dialog.addWindowListener(new WindowAdapter() { @Override public void windowClosing(WindowEvent e) { UISupport.getMainFrame().setEnabled(true); dialog.setVisible(false); } }); String path = "/com/eviware/soapui/explorer/soapui-pro-api-endpoint-explorer-starter-page.html"; String resource = this.getClass().getResource(path).toString(); browser.navigate(resource); <START> browser.getPagePropertyMapper().update("dontShow", !SoapUI.getSettings().getBoolean(SHOW_ENDPOINT_EXPLORER_ON_START, true)); <END> browser.addJavaScriptEventHandler("closeCallback", this); browser.addJavaScriptEventHandler("inspectorCallback", new EndpointExplorerCallback()); }</code><technical_language>Add null check DisabledWebViewBasedBrowserComponent::getPagePropertyMapper() returns null. need this implementation is a default in interface</technical_language>

Target:
public void actionPerformed(ActionEvent e) { WebViewBasedBrowserComponent browser = WebViewBasedBrowserComponentFactory.createBrowserComponent (false, WebViewBasedBrowserComponent.PopupStrategy.EXTERNAL_BROWSER); Component browserComponent = browser.getComponent(); dialog = new JDialog(UISupport.getMainFrame(), "Endpoint Explorer", false); dialog.getContentPane().add(browserComponent); dialog.setSize(860, 435); dialog.setMinimumSize(new Dimension(860, 435)); dialog.setLocationRelativeTo(null); dialog.setResizable(true); dialog.setVisible(true); dialog.setIconImage((UISupport.createImageIcon("/SoapUI-OS_16-16.png")).getImage()); dialog.getRootPane().registerKeyboardAction((event) -> close(), KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0), JComponent.WHEN_IN_FOCUSED_WINDOW); UISupport.centerDialog(dialog, UISupport.getMainFrame()); UISupport.getMainFrame().setEnabled(false); dialog.addWindowListener(new WindowAdapter() { @Override public void windowClosing(WindowEvent e) { UISupport.getMainFrame().setEnabled(true); dialog.setVisible(false); } }); String path = "/com/eviware/soapui/explorer/soapui-pro-api-endpoint-explorer-starter-page.html"; String resource = this.getClass().getResource(path).toString(); browser.navigate(resource); PagePropertyMapper pagePropertyMapper = browser.getPagePropertyMapper(); if (pagePropertyMapper != null) { pagePropertyMapper.update("dontShow", !SoapUI.getSettings().getBoolean(SHOW_ENDPOINT_EXPLORER_ON_START, true)); } browser.addJavaScriptEventHandler("closeCallback", this); browser.addJavaScriptEventHandler("inspectorCallback", new EndpointExplorerCallback()); }