action-mail-1.12.0.SNAPSHOT got uninstalled automatically after rebooting openhab 2?

Openhab 2 installed at Ubuntu 16.04 64bit ,PC .
installed the action-mail - 1.12.0.SNAPSHOT at PaperUI. It took forever to finish this installation, and The paper UI didn’t report a successful installation. When I refreshed the screen, this addon showed as installed already.
“sendMail” command works, But the the sendmail is marked as unregistered at rule.
But when the PC is restart, the “Mail Action” will be un-installed automatically by openhab2. I can install the action-mail Addon again.

Now I have to install action-mail again after each reboot.

1, install the Mail action under Paper UI.


**2018-02-24 13:08:33.175 [DEBUG] [org.openhab.action.mail             ] - BundleEvent INSTALLED - org.openhab.action.mail**
**2018-02-24 13:08:33.311 [DEBUG] [org.openhab.action.mail             ] - BundleEvent RESOLVED - org.openhab.action.mail**
**2018-02-24 13:08:33.315 [DEBUG] [org.openhab.action.mail             ] - BundleEvent [unknown:512] - org.openhab.action.mail**
**2018-02-24 13:08:33.323 [DEBUG] [org.openhab.action.mail             ] - BundleEvent STARTING - org.openhab.action.mail**
**2018-02-24 13:08:33.324 [DEBUG] [b.action.mail.internal.MailActivator] - Mail action has been started.**
**2018-02-24 13:08:33.325 [DEBUG] [org.openhab.action.mail             ] - BundleEvent STARTED - org.openhab.action.mail**
**2018-02-24 13:08:33.337 [DEBUG] [org.openhab.action.mail             ] - ServiceEvent REGISTERED - {org.openhab.core.scriptengine.action.ActionService, org.osgi.service.cm.ManagedService}={service.pid=org.openhab.mail, component.name=org.openhab.action.mail.action, component.id=215, service.id=368, service.bundleid=238, service.scope=bundle} - org.openhab.action.mail**

2, restart the openhab 2

**2018-02-24 13:10:03.605 [DEBUG] [org.openhab.action.mail             ] - BundleEvent STOPPING - org.openhab.action.mail**
**2018-02-24 13:10:03.607 [DEBUG] [org.openhab.action.mail             ] - ServiceEvent UNREGISTERING - {org.openhab.core.scriptengine.action.ActionService, org.osgi.service.cm.ManagedService}={service.pid=org.openhab.mail, component.name=org.openhab.action.mail.action, component.id=215, service.id=368, service.bundleid=238, service.scope=bundle} - org.openhab.action.mail**
**2018-02-24 13:10:03.608 [DEBUG] [b.action.mail.internal.MailActivator] - Mail action has been stopped.**
**2018-02-24 13:10:03.609 [DEBUG] [org.openhab.action.mail             ] - BundleEvent STOPPED - org.openhab.action.mail**
**2018-02-24 13:10:03.623 [INFO ] [io.openhabcloud.internal.CloudClient] - Shutting down openHAB Cloud service connection**
**2018-02-24 13:10:03.641 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = *******, base URL = http://localhost:8080)**
**2018-02-24 13:10:03.671 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Stopped HABmin servlet**
**2018-02-24 13:10:03.826 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Stopped Paper UI**
**2018-02-24 13:10:03.837 [INFO ] [.dashboard.internal.DashboardService] - Stopped Dashboard**
**2018-02-24 13:10:37.614 [DEBUG] [org.openhab.action.mail             ] - BundleEvent [unknown:512] - org.openhab.action.mail**
**2018-02-24 13:10:37.628 [DEBUG] [org.openhab.action.mail             ] - BundleEvent STARTING - org.openhab.action.mail**
**2018-02-24 13:10:37.629 [DEBUG] [b.action.mail.internal.MailActivator] - Mail action has been started.**
**2018-02-24 13:10:37.630 [DEBUG] [org.openhab.action.mail             ] - BundleEvent STARTED - org.openhab.action.mail**
**2018-02-24 13:10:37.644 [DEBUG] [org.openhab.action.mail             ] - ServiceEvent REGISTERED - {org.openhab.core.scriptengine.action.ActionService, org.osgi.service.cm.ManagedService}={service.pid=org.openhab.mail, component.name=org.openhab.action.mail.action, component.id=14, service.id=118, service.bundleid=238, service.scope=bundle} - org.openhab.action.mail**
**2018-02-24 13:10:38.450 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Locale set to en_US,**

3, Action-Mail addon was removed automatically.

**2018-02-24 13:10:57.792 [DEBUG] [org.openhab.action.mail             ] - BundleEvent STOPPING - org.openhab.action.mail**
**2018-02-24 13:10:57.811 [DEBUG] [org.openhab.action.mail             ] - ServiceEvent UNREGISTERING - {org.openhab.core.scriptengine.action.ActionService, org.osgi.service.cm.ManagedService}={service.pid=org.openhab.mail, component.name=org.openhab.action.mail.action, component.id=14, service.id=118, service.bundleid=238, service.scope=bundle} - org.openhab.action.mail**
**2018-02-24 13:10:57.815 [DEBUG] [b.action.mail.internal.MailActivator] - Mail action has been stopped.**
**2018-02-24 13:10:57.817 [DEBUG] [org.openhab.action.mail             ] - BundleEvent STOPPED - org.openhab.action.mail**
**2018-02-24 13:10:57.818 [DEBUG] [org.openhab.action.mail             ] - BundleEvent UNRESOLVED - org.openhab.action.mail**
**2018-02-24 13:10:57.821 [DEBUG] [org.openhab.action.mail             ] - BundleEvent UNINSTALLED - org.openhab.action.mail**
**2018-02-24 13:10:57.970 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-action-mail'**
**2018-02-24 13:11:00.269 [WARN ] [eclipse.jetty.servlet.ServletHandler] - **
**javax.servlet.ServletException: A MultiException has 1 exceptions.  They are:**
**1. java.lang.IllegalStateException: ServiceLocatorImpl(__HK2_Generated_4,5,1515868101) has been shut down**