Failing to push into repository or managing branch permissions after upgrade

Troubleshooting JIRA Integration

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

When attempting to push to repository, or manage branch permissions receive the error

SEVERE: Servlet.service() for servlet [plugins] in context with path [] threw exception
com.atlassian.plugin.PluginException: Didn't find any configuration service for bundle com.atlassian.stash.stash-branch-utils nor any entities scanning for default AO packages.

These messages come up on atlassian-stash.log:

2013-11-01 11:06:14,056 INFO  [localhost-startStop-1]  c.a.s.i.server.BuildInfoLogger Starting Stash 2.8.2 (75809c6 built on Mon Oct 14 13:04:18 PDT 2013)
2013-11-01 11:06:14,056 INFO  [localhost-startStop-1]  c.a.s.i.server.BuildInfoLogger JVM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 1.7.0_45-b18
2013-11-01 11:06:14,961 INFO  [localhost-startStop-1]  c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory C:\stash-home for 4408@spdg-PC
2013-11-01 11:06:26,224 INFO  [localhost-startStop-1]  c.a.s.i.hook.DefaultHookService Hook callback socket listening on 127.0.0.1:55194
2013-11-01 11:06:29,983 WARN  [ThreadPoolAsyncTaskExecutor::Thread 19]  o.s.beans.TypeConverterDelegate PropertyEditor [com.sun.beans.editors.EnumEditor] found through deprecated global PropertyEditorManager fallback - consider using a more isolated form of registration, e.g. on the BeanWrapper/BeanFactory!
2013-11-01 11:06:31,309 ERROR [FelixDispatchQueue]  c.a.p.o.c.f.FelixOsgiContainerManager Framework error in bundle com.atlassian.stash.repository-ref-sync
java.lang.AbstractMethodError: com.mysql.jdbc.PreparedStatement.setCharacterStream(ILjava/io/Reader;J)V
...
...
2013-11-01 01:11:47,040 ERROR [scheduler_Worker-10]  c.a.s.a.ui.internal.AuditCleanUpJob Failed to clean up the audit entries table
com.atlassian.plugin.PluginException: Didn't find any configuration service for bundle com.atlassian.stash.stash-audit nor any entities scanning for default AO packages.

...

Caused by: com.atlassian.activeobjects.osgi.NoServicesFoundException: Was expecting one service reference for interface <com.atlassian.activeobjects.config.ActiveObjectsConfiguration> and filter <(com.atlassian.plugin.key=com.atlassian.stash.stash-audit)>. Got null ! You should check whether an ActiveObjectsPluginException was thrown at startup. It will give you more information about potential errors in the <ao> module in your atlassian-plugin.xml.
....
....

Cause

This issue happens due to an incompatibility between the your JDBC driver and Java version.

This is the message that shows it (right after Stash is started):

2013-11-01 11:06:31,309 ERROR [FelixDispatchQueue]  c.a.p.o.c.f.FelixOsgiContainerManager Framework error in bundle com.atlassian.stash.repository-ref-sync
java.lang.AbstractMethodError: com.mysql.jdbc.PreparedStatement.setCharacterStream(ILjava/io/Reader;J)V
...

Resolution

Your current JDBC MySQL driver is of an older version. The link for downloading the right connector to MySQL as well as the indication of which one to download is here.

Please also check your system configuration against our Supported platforms documents to make sure you are using a supported version of MySQL.

Last modified on Nov 2, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.