[jbosstools-issues] [JBoss JIRA] (JBIDE-12383) BrowserSim: NPE and program exit when opening About menu from standalone BrowserSim
Yahor Radtsevich (JIRA)
jira-events at lists.jboss.org
Tue Jul 31 10:37:06 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-12383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yahor Radtsevich updated JBIDE-12383:
-------------------------------------
Description:
# Run browsersim.jar built [here|https://issues.jboss.org/browse/JBIDE-11493?focusedCommentId=12708692&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12708692].
# 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(ManifestUtil.java:53)
at org.jboss.tools.vpe.browsersim.ui.BrowserSim.showAboutDialog(BrowserSim.java:786)
at org.jboss.tools.vpe.browsersim.ui.BrowserSim$16.widgetSelected(BrowserSim.java:514)
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(BrowserSim.java:134)
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}
was:
# Run browsersim.jar built [here|https://issues.jboss.org/browse/JBIDE-11493?focusedCommentId=12708692&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12708692].
# 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}
> 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=12708692&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12708692].
> # 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(ManifestUtil.java:53)
> at org.jboss.tools.vpe.browsersim.ui.BrowserSim.showAboutDialog(BrowserSim.java:786)
> at org.jboss.tools.vpe.browsersim.ui.BrowserSim$16.widgetSelected(BrowserSim.java:514)
> 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(BrowserSim.java:134)
> 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
More information about the jbosstools-issues
mailing list