Yahor Radtsevich created JBIDE-12383:
----------------------------------------
Summary: BrowserSim: NPE and program exit when opening About menu from
standalone BrowserSim
Key: JBIDE-12383
URL:
https://issues.jboss.org/browse/JBIDE-12383
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Visual Page Editor core
Affects Versions: 3.4.0.M1
Reporter: Yahor Radtsevich
Assignee: Yahor Radtsevich
Fix For: 3.4.0.M1
# Run browsersim.jar built
[
here|https://issues.jboss.org/browse/JBIDE-11493?focusedCommentId=1270869...].
# Try to open 'About' menu item
Program will exit with the following stack trace (printed to the console):
{code}
Exception in thread "main" java.lang.NullPointerException
at org.jboss.tools.vpe.browsersim.util.ManifestUtil.getManifestVersion(Unknown
Source)
at org.jboss.tools.vpe.browsersim.ui.BrowserSim.showAboutDialog(Unknown Source)
at org.jboss.tools.vpe.browsersim.ui.BrowserSim$16.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.jboss.tools.vpe.browsersim.ui.BrowserSim.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.swtjar.SWTLoader.main(SWTLoader.java:38)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira