Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,314
Community Members
 
Community Events
165
Community Groups

Bitbucket hello world plugin starts up with errors

Edited

I've created a bitbucket hello world plugin following this guide, and am having issues at startup. The project starts up with quite a few errors, and I'm unable to open the home page.

"1.8.0_131" 64bit

ATLAS Version:    6.2.14
ATLAS Home:       C:\MSDE\croydond\Apps\atlassian-plugin-sdk-6.2.14
ATLAS Scripts:    C:\MSDE\croydond\Apps\atlassian-plugin-sdk-6.2.14\bin
ATLAS Maven Home: C:\MSDE\croydond\Apps\atlassian-plugin-sdk-6.2.14\apache-maven-3.2.1
AMPS Version:     6.2.11

Lots of errors like so, on startup:

[INFO] [talledLocalContainer] 2017-08-01 16:45:26,823 ERROR [spring-startup]  c.a.p.loaders.ScanningPluginLoader Because of the following exception:
[INFO] [talledLocalContainer] java.lang.IllegalStateException: Unable to create a tracker when osgi is not running
[INFO] [talledLocalContainer]   at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.getServiceTracker(FelixOsgiContainerManager.java:490) 

 

I can't paste in the entire stacktrace, as this forum page ends up crashing.

 

 

1 comment

Some of the startup errors:

INFO] [talledLocalContainer] org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.engine.jdbc.connections.spi.ConnectionProvider]
[INFO] [talledLocalContainer]   at org.springframework.orm.hibernate4.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:544)
[INFO] [talledLocalContainer]   at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373)
[INFO] [talledLocalContainer]   at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
[INFO] [talledLocalContainer]   at com.atlassian.stash.internal.scheduling.HibernateClusteredJobDao.find(HibernateClusteredJobDao.java:73)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeClusteredJob(CaesiumSchedulerService.java:375)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeQueuedJob(CaesiumSchedulerService.java:349)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:255)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:252)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeJob(SchedulerQueueWorker.java:65)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeNextJob(SchedulerQueueWorker.java:59)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.run(SchedulerQueueWorker.java:34)
[INFO] [talledLocalContainer]   at java.lang.Thread.run(Thread.java:748)
[INFO] [talledLocalContainer]   ... 20 frames trimmed
[INFO] [talledLocalContainer] Caused by: org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.engine.jdbc.connections.spi.ConnectionProvider]
[INFO] [talledLocalContainer]   at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:201)
[INFO] [talledLocalContainer]   at org.hibernate.internal.AbstractSessionImpl.getJdbcConnectionAccess(AbstractSessionImpl.java:341)
[INFO] [talledLocalContainer]   at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.<init>(JdbcCoordinatorImpl.java:114)
[INFO] [talledLocalContainer]   at org.hibernate.engine.transaction.internal.TransactionCoordinatorImpl.<init>(TransactionCoordinatorImpl.java:89)
[INFO] [talledLocalContainer]   at org.hibernate.internal.SessionImpl.<init>(SessionImpl.java:258)
[INFO] [talledLocalContainer]   at org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1589)
[INFO] [talledLocalContainer]   at org.hibernate.internal.SessionFactoryImpl.openSession(SessionFactoryImpl.java:999)
[INFO] [talledLocalContainer]   at com.atlassian.stash.internal.hibernate.DelegatingSwappableSessionFactory.openSession(DelegatingSwappableSessionFactory.java:421)
[INFO] [talledLocalContainer]   at org.springframework.orm.hibernate4.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:436)
[INFO] [talledLocalContainer]   ... 12 common frames omitted
[INFO] [talledLocalContainer] 2017-08-01 16:46:20,451 ERROR [Caesium-1-4]  c.a.scheduler.core.JobLauncher Scheduled job with ID 'CaesiumSchedulerService.RefreshJob' failed
[INFO] [talledLocalContainer] org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.engine.jdbc.connections.spi.ConnectionProvider]
[INFO] [talledLocalContainer]   at org.springframework.orm.hibernate4.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:544)
[INFO] [talledLocalContainer]   at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373)
[INFO] [talledLocalContainer]   at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
[INFO] [talledLocalContainer]   at com.atlassian.stash.internal.scheduling.HibernateClusteredJobDao.refresh(HibernateClusteredJobDao.java:126)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.SchedulerQueueImpl.refreshClusteredJobsFromDao(SchedulerQueueImpl.java:139)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.SchedulerQueueImpl.refreshClusteredJobsUnderLock(SchedulerQueueImpl.java:130)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.SchedulerQueueImpl.refreshClusteredJobs(SchedulerQueueImpl.java:117)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.refreshClusteredJobs(CaesiumSchedulerService.java:319)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$RefreshJob.runJob(CaesiumSchedulerService.java:510)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:153)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:118)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:97)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.launchJob(CaesiumSchedulerService.java:401)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeLocalJob(CaesiumSchedulerService.java:369)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeQueuedJob(CaesiumSchedulerService.java:347)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:255)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:252)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeJob(SchedulerQueueWorker.java:65)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeNextJob(SchedulerQueueWorker.java:59)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.run(SchedulerQueueWorker.java:34)
[INFO] [talledLocalContainer]   at java.lang.Thread.run(Thread.java:748)
[INFO] [talledLocalContainer]   ... 20 frames trimmed
[INFO] [talledLocalContainer] Caused by: org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.engine.jdbc.connections.spi.ConnectionProvider]
[INFO] [talledLocalContainer]   at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:201)
[INFO] [talledLocalContainer]   at org.hibernate.internal.AbstractSessionImpl.getJdbcConnectionAccess(AbstractSessionImpl.java:341)
[INFO] [talledLocalContainer]   at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.<init>(JdbcCoordinatorImpl.java:114)
[INFO] [talledLocalContainer]   at org.hibernate.engine.transaction.internal.TransactionCoordinatorImpl.<init>(TransactionCoordinatorImpl.java:89)
[INFO] [talledLocalContainer]   at org.hibernate.internal.SessionImpl.<init>(SessionImpl.java:258)
[INFO] [talledLocalContainer]   at org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1589)
[INFO] [talledLocalContainer]   at org.hibernate.internal.SessionFactoryImpl.openSession(SessionFactoryImpl.java:999)
[INFO] [talledLocalContainer]   at com.atlassian.stash.internal.hibernate.DelegatingSwappableSessionFactory.openSession(DelegatingSwappableSessionFactory.java:421)
[INFO] [talledLocalContainer]   at org.springframework.orm.hibernate4.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:436)
[INFO] [talledLocalContainer]   ... 21 common frames omitted
[INFO] [talledLocalContainer] 2017-08-01 16:47:20,421 ERROR [Caesium-1-4]  c.a.scheduler.core.JobLauncher Scheduled job with ID 'CaesiumSchedulerService.RefreshJob' failed
[INFO] [talledLocalContainer] org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.engine.jdbc.connections.spi.ConnectionProvider]
[INFO] [talledLocalContainer]   at org.springframework.orm.hibernate4.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:544)
[INFO] [talledLocalContainer]   at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373)
[INFO] [talledLocalContainer]   at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
[INFO] [talledLocalContainer]   at com.atlassian.stash.internal.scheduling.HibernateClusteredJobDao.refresh(HibernateClusteredJobDao.java:126)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.SchedulerQueueImpl.refreshClusteredJobsFromDao(SchedulerQueueImpl.java:139)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.SchedulerQueueImpl.refreshClusteredJobsUnderLock(SchedulerQueueImpl.java:130)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.SchedulerQueueImpl.refreshClusteredJobs(SchedulerQueueImpl.java:117)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.refreshClusteredJobs(CaesiumSchedulerService.java:319)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$RefreshJob.runJob(CaesiumSchedulerService.java:510)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:153)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:118)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:97)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.launchJob(CaesiumSchedulerService.java:401)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeLocalJob(CaesiumSchedulerService.java:369)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeQueuedJob(CaesiumSchedulerService.java:347)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:255)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:252)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeJob(SchedulerQueueWorker.java:65)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeNextJob(SchedulerQueueWorker.java:59)
[INFO] [talledLocalContainer]   at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.run(SchedulerQueueWorker.java:34)
[INFO] [talledLocalContainer]   at java.lang.Thread.run(Thread.java:748)
[INFO] [talledLocalContainer]   ... 20 frames trimmed

 

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,085 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you