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

CordovaSim: Preferences is not saved if it is closed using ripple window

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.3.0.Alpha1
    • None
    • cordovasim
    • None
    • Hide

      Steps:
      1. Open cordovasim(first time in your jbds).
      2. Close cordovasim using ripple window(not using browsersim window). See NPE error. Preferences will not be saved.

      Show
      Steps: 1. Open cordovasim(first time in your jbds). 2. Close cordovasim using ripple window(not using browsersim window). See NPE error. Preferences will not be saved.

      Reproducible only with fresh jbds installation(or if cordovasim preferences removed from workspace)

      Stack trace:
      java.lang.NullPointerException
      	at org.jboss.tools.vpe.cordovasim.model.preferences.CordavaSimSpecificPreferencesStorage.save(CordavaSimSpecificPreferencesStorage.java:222)
      	at org.jboss.tools.vpe.browsersim.model.preferences.SpecificPreferencesStorage.save(SpecificPreferencesStorage.java:48)
      	at org.jboss.tools.vpe.cordovasim.CordovaSimRunner.saveRipplePreferences(CordovaSimRunner.java:314)
      	at org.jboss.tools.vpe.cordovasim.CordovaSimRunner.access$0(CordovaSimRunner.java:308)
      	at org.jboss.tools.vpe.cordovasim.CordovaSimRunner$3.handleEvent(CordovaSimRunner.java:216)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4464)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1412)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1397)
      	at org.eclipse.swt.widgets.Shell.closeWidget(Shell.java:649)
      	at org.eclipse.swt.widgets.Shell.gtk_delete_event(Shell.java:1263)
      	at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2081)
      

              kmarmaliykov Konstantin Marmalyukov (Inactive)
              kmarmaliykov Konstantin Marmalyukov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: