Gravatar Plugin Cause Confluence Unable to Share a Page to Specific User(s)

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

Confluence unable to share a page to a specific user(s). When it is configured to share a page to multiple user, it works fine for the other users, however Confluence still unable to share to the problematic. This issue only occur when Gravatar plugin is installed in Confluence. The following appears in the atlassian-confluence.log:

2013-10-01 22:28:57,041 ERROR [http-8090-2] [common.error.jersey.ThrowableExceptionMapper] toResponse Uncaught exception thrown by REST service
– referer: http://localhost:8090/display/TS/Test+Page | url: /rest/share-page/latest/share | userName: admin
java.lang.NullPointerException
at javax.mail.util.ByteArrayDataSource.<init>(ByteArrayDataSource.java:87)
at com.atlassian.confluence.core.DefaultDataSourceFactory.getServletContainerResource(DefaultDataSourceFactory.java:211)
at com.atlassian.confluence.core.DefaultDataSourceFactory.getAvatar(DefaultDataSourceFactory.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
...

com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)
at com.sun.proxy.$Proxy130.getAvatar(Unknown Source)
at com.atlassian.confluence.plugins.sharepage.api.SharePageServiceImpl.createAvatarDataHandler(SharePageServiceImpl.java:526)
at com.atlassian.confluence.plugins.sharepage.api.SharePageServiceImpl.doShare(SharePageServiceImpl.java:214)
at com.atlassian.confluence.plugins.sharepage.api.SharePageServiceImpl.share(SharePageServiceImpl.java:192)
at com.atlassian.confluence.plugins.sharepage.rest.ShareResource.share(ShareResource.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)

原因

The Problematic user(s) is missing its Gravatar profile picture configured on their profile information. 

ソリューション

  1. Use Confluence default avatar and see if the issue persist
  2. If the issue persist, un-installed Gravatar plugin as it is not supported for Confluence 5.x
  3. Upload a new profile picture after the issue is resolved
Last modified on Mar 30, 2016

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.