Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12383

BrowserSim: NPE and program exit when opening About menu from standalone BrowserSim

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 4.0.0.Alpha1
    • 4.0.0.Alpha1
    • browsersim
    • None

      1. Run browsersim.jar built here.
      2. Try to open 'About' menu item
        Program will exit with the following stack trace (printed to the console):
        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)
        

            yradtsevich Yahor Radtsevich (Inactive)
            yradtsevich Yahor Radtsevich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: