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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage
Highlighted

Unable to get a hello world bitbucket plugin to work Edited

I followed the hello world project on the doc site, and created a basic plugin using the atlas sdk. All I've done is change the bitbucket version within the pom to '4.14.7' and am trying to run the project using 'atlas-run'.

I've even tried creating a hello world JIRA project and it fails with the same error.

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

2017-8-4-11-39-48-400.png

 

I've got v6.2.14 of the AMPS SDK installed. The SDK release page mentions support of bitbucket up to v4.9.0

The version of bitbucket that I'm trying to test is higher than this i.e. 4.14.7
Is there a new AMPS SDK that I need to use?

 

1 comment

[INFO] [talledLocalContainer] 2017-08-02 12:01:40,599 INFO [spring-startup] c.a.s.i.hook.DefaultHookService Hook callback socket listening on 127.0.0.1:56017
[INFO] [talledLocalContainer] 2017-08-02 12:01:45,343 ERROR [spring-startup] c.a.e.i.AsynchronousAbleEventDispatcher There was an exception thrown trying to dispatch event [com.atlassian.plugin.event.events.PluginFrameworkStartingEvent@3b813053] from the invoker [SingleParameterMethodListenerInvoker{method=public void com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.onStart(com.atlassian.plugin.event.events.PluginFrameworkStartingEvent), listener=com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager@44cb3676}]
[INFO] [talledLocalContainer] java.lang.RuntimeException: URI has an authority component. Listener: com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager event: com.atlassian.plugin.event.events.PluginFrameworkStartingEvent
[INFO] [talledLocalContainer] at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:55)
[INFO] [talledLocalContainer] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:38)
[INFO] [talledLocalContainer] at com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.execute(MoreExecutors.java:299)
[INFO] [talledLocalContainer] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:88)
[INFO] [talledLocalContainer] at com.atlassian.event.internal.LockFreeEventPublisher$Publisher.dispatch(LockFreeEventPublisher.java:222)
[INFO] [talledLocalContainer] at com.atlassian.event.internal.LockFreeEventPublisher.publish(LockFreeEventPublisher.java:95)
[INFO] [talledLocalContainer] at com.atlassian.stash.internal.event.TransactionAwareEventPublisher.internalPublish(TransactionAwareEventPublisher.java:155)
[INFO] [talledLocalContainer] at com.atlassian.stash.internal.event.TransactionAwareEventPublisher.publish(TransactionAwareEventPublisher.java:99)
[INFO] [talledLocalContainer] at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:73)
[INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.broadcastIgnoreError(DefaultPluginManager.java:2122)
[INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:538)
[INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.lambda$earlyStartup$0(StashPluginManager.java:55)
[INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.PluginUpgradeHelper.withUpgrade(PluginUpgradeHelper.java:67)
[INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.earlyStartup(StashPluginManager.java:55)
[INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:527)
[INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.SpringPluginSystemLifecycle.start(SpringPluginSystemLifecycle.java:35)
[INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:173)
[INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51)
[INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:346)
[INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:149)
[INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:112)
[INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:879)
[INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:545)
[INFO] [talledLocalContainer] at javax.servlet.GenericServlet.init(GenericServlet.java:158)
[INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:748)
[INFO] [talledLocalContainer] ... 8 frames trimmed
[INFO] [talledLocalContainer] Caused by: java.lang.IllegalArgumentException: URI has an authority component
[INFO] [talledLocalContainer] at java.io.File.<init>(File.java:423)
[INFO] [talledLocalContainer] at org.twdata.pkgscanner.InternalScanner.findInPackageWithUrls(InternalScanner.java:128)
[INFO] [talledLocalContainer] at org.twdata.pkgscanner.InternalScanner.findInUrls(InternalScanner.java:62)
[INFO] [talledLocalContainer] at org.twdata.pkgscanner.PackageScanner.scan(PackageScanner.java:112)
[INFO] [talledLocalContainer] at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:40)
[INFO] [talledLocalContainer] ... 25 common frames omitted
[INFO] [talledLocalContainer] 2017-08-02 12:01:45,657 ERROR [spring-startup] c.a.p.p.XmlDescriptorParserUtils There were problems loading the module 'language' in plugin 'System Web Resources, Items, Sections and Panels'. The module has been disabled.
[INFO] [talledLocalContainer] 2017-08-02 12:01:45,657 ERROR [spring-startup] c.a.p.p.XmlDescriptorParserUtils Error creating bean with name 'com.atlassian.stash.internal.plugin.LanguageModuleDescriptor': Bean instantiation via constructor failed; nested exception is java.lang.NullPointerException
[INFO] [talledLocalContainer] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.stash.internal.plugin.LanguageModuleDescriptor': Bean instantiation via constructor failed; nested exception is java.lang.NullPointerException
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:279)
[INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.OsgiSafeHostContainer.create(OsgiSafeHostContainer.java:71)
[INFO] [talledLocalContainer] at com.atlassian.plugin.DefaultModuleDescriptorFactory.getModuleDescriptor(DefaultModuleDescriptorFactory.java:67)
[INFO] [talledLocalContainer] at com.atlassian.plugin.parsers.XmlDescriptorParserUtils.newModuleDescriptor(XmlDescriptorParserUtils.java:46)
[INFO] [talledLocalContainer] at com.atlassian.plugin.parsers.XmlDescriptorParser.createModuleDescriptor(XmlDescriptorParser.java:171)
[INFO] [talledLocalContainer] at com.atlassian.plugin.parsers.XmlDescriptorParser.configurePlugin(XmlDescriptorParser.java:141)
[INFO] [talledLocalContainer] at com.atlassian.plugin.loaders.SinglePluginLoader.loadPlugin(SinglePluginLoader.java:139)
[INFO] [talledLocalContainer] at com.atlassian.plugin.loaders.SinglePluginLoader.loadAllPlugins(SinglePluginLoader.java:88)
[INFO] [talledLocalContainer] at com.atlassian.plugin.loaders.ClassPathPluginLoader.loadClassPathPlugins(ClassPathPluginLoader.java:53)
[INFO] [talledLocalContainer] at com.atlassian.plugin.loaders.ClassPathPluginLoader.loadAllPlugins(ClassPathPluginLoader.java:61)
[INFO] [talledLocalContainer] at com.atlassian.plugin.loaders.PermissionCheckingPluginLoader.loadAllPlugins(PermissionCheckingPluginLoader.java:28)
[INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:548)
[INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.lambda$earlyStartup$0(StashPluginManager.java:55)
[INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.PluginUpgradeHelper.withUpgrade(PluginUpgradeHelper.java:67)
[INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.StashPluginManager.earlyStartup(StashPluginManager.java:55)
[INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:527)
[INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.SpringPluginSystemLifecycle.start(SpringPluginSystemLifecycle.java:35)
[INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:173)
[INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51)
[INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:346)
[INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:149)
[INFO] [talledLocalContainer] at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:112)
[INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:879)
[INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:545)
[INFO] [talledLocalContainer] at javax.servlet.GenericServlet.init(GenericServlet.java:158)
[INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:748)
[INFO] [talledLocalContainer] ... 10 frames trimmed
[INFO] [talledLocalContainer] Caused by: java.lang.NullPointerException: null
[INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.getHostComponentRegistrations(FelixOsgiContainerManager.java:546)
[INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.OsgiSafeProxyProvider.maybeInitialize(OsgiSafeProxyProvider.java:145)
[INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.OsgiSafeProxyProvider.proxy(OsgiSafeProxyProvider.java:49)
[INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.OsgiSafeProxyProvider.proxy(OsgiSafeProxyProvider.java:67)
[INFO] [talledLocalContainer] at com.atlassian.stash.internal.plugin.OsgiSafeHostContainer$ProxyingInstantiationStrategy.instantiate(OsgiSafeHostContainer.java:97)
[INFO] [talledLocalContainer] ... 26 common frames omitted

and many more similar errors on startup.

Comment

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

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

2,114 views 0 7
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