Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,460,216
Community Members
 
Community Events
176
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

Atlassian Community Events