- 
    Bug 
- 
    Resolution: Fixed
- 
    Medium 
- 
        Severity 3 - Minor
- 
        
NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.
Summary
500 error when attempting to Share a Confluence Cloud Question post. Visible error of ! Error Sending
Environment
- Confluence Version: 1000.14.0
- Tested on Chrome: Version 49.0.2623.110 (64-bit)
- Tested on Safari: Version 9.1 (11601.5.17.1)
Steps to Reproduce
- Log into Confluence instance
- Questions > Select any question
- Top Right: Share > Type a name of any user/group > Add note > hit Share
- ! Error Sending
Expected Results
To be able to share Confluence Question post without any errors.
Actual Results
! Error Sending
Confluence Cloud log:
2016-04-12 20:01:39.083935500 2016-04-12 20:01:39,080 ERROR [http-bio-2007-exec-30] [common.error.jersey.ThrowableExceptionMapper] toResponse Uncaught exception thrown by REST service: null 2016-04-12 20:01:39.083938500 -- referer: https://<EXAMPLE INSTANCE NAME>.atlassian.net/wiki/questions/3637269/how-do-i-edit-a-commit-message-in-git | url: /wiki/rest/share-page/latest/share | traceId: 46d431d3ee83e822 | userName: sysadmin 2016-04-12 20:01:39.083939500 java.lang.NullPointerException 2016-04-12 20:01:39.083940500 at com.atlassian.confluence.plugins.sharepage.api.SharePageServiceImpl.sharePage(SharePageServiceImpl.java:229) 2016-04-12 20:01:39.083981500 at com.atlassian.confluence.plugins.sharepage.api.SharePageServiceImpl.share(SharePageServiceImpl.java:210) 2016-04-12 20:01:39.083982500 at com.atlassian.confluence.plugins.sharepage.rest.ShareResource.share(ShareResource.java:34) 2016-04-12 20:01:39.083982500 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2016-04-12 20:01:39.083983500 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2016-04-12 20:01:39.083992500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2016-04-12 20:01:39.083993500 at java.lang.reflect.Method.invoke(Method.java:498)
Reproducible in several different cloud instances.
Notes
Step taken:
- Disabling and re-enabling the Share Page Plugin
- Stop Confluence Service
- Built indexes from scratch
rm -rf /confluence/home/index/* rm -rf /confluence/home/bundled-plugins rm -rf /confluence/home/plugins-cache/ rm -rf /confluence/home/plugins-osgi-cache/ rm -rf /confluence/home/plugins-temp/ 
- Restarted Confluence
- Flush all caches
- Reindex
No change. Error still present
Workaround
No current workaround found.
- derived from
- 
                    CONFCLOUD-31130 Still not working on OnDemand! -         
- Closed
 
-         
- 
                    CONFCLOUD-30589 Share by Group is suggesting it was successful but it doesn't actually work -         
- Closed
 
-         
- is related to
- 
                    CONFSERVER-46572 500 error when attempting to Share a Confluence Cloud Question post. Visible error of: ! Error Sending -         
- Closed
 
-         

