Error rendering macro 'kbsurvey' : Cannot construct com.atlassian.confluence.plugins.knowledgebase.config.SurveyQuestion as it does not have a no-args constructor ---- Debugging information ---- message : Cannot construct com.atlassian.confluence.plugins.knowledgebase.config.SurveyQuestion as it does not have a no-args constructor line number : 7 path : /surveyconfig/questionMap/entry/surveyquestion cause-message : Cannot construct com.atlassian.confluence.plugins.knowledgebase.config.SurveyQuestion as it does not have a no-args constructor class : com.atlassian.confluence.plugins.knowledgebase.config.SurveyConfig cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException required-type : com.atlassian.confluence.plugins.knowledgebase.config.SurveyQuestion -------------------------------
Sorry about that. I didn't realize that location was not public. Here is a link to the version which will hopefully be released soon: Download link.
Edit: The plugin has been released in the Atlassian Marketplace :)
Thanks Alex. I've installed this version and the plugin appears to be functioning correctly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It may be some time before I have a chance to test this, but I will mark this as the accepted answer because someone else successfully tested it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi I'm using confluence 5.1.3 and using pluging version 1.3.2.
I'm getting the following error in preview:
Error rendering macro 'kbsurvey' : null
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i figured out that if i edited the default question the plugin started to work (just saving the config with no changes did not work).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What's not working - is it giving an error?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My appologies, survey is working on the space home page, it was a cache issue causing the survey to not display.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is a problem with the old plugin and Java 7. It is fixed in the latest version I am working on and it should be released soon.
I have uploaded a beta of the plugin which should fix the problem. It is compatible with Confluence 4.3 and later.
Enjoy it and any feedback is welcomed :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alex, I'm not able to download this plugin. When I get there I have to sign in, and I did so from my personal BitBucket account but it says I do not have access to that repository.
Is that download private or am I doing something wrong?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eric,
Sorry it took me so long to see this question! We're just about to release a new version - 1.3 - which uses ActiveObjects for the data storage. You can download a copy of it here. We didn't fix any bug like the one you're reporting here, but it'll at least eliminate the confusion around which version, as it's database agnostic.
If you still have that problem in 1.3, we'll add a no-args constructor to that object. I'm puzzled by why I can't replicate it, but no matter, it should be an easy enough fix.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Jeremy. I will give this a shot and report back, although it could be a few weeks before I get the chance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We've updated to v1.3 and are getting the same issue reported by Eric.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
We're using Confluence 4.2.1 and the exact text of the Content Survey & Reporting Plugin (listed as Knowledge Base Survey Plugin in the admin screen) is 1.1-SNAPSHOT.
We ended up with this version after witnessing the issue described here: https://studio.plugins.atlassian.com/browse/CKBSP-27
The JAR file attached to that issue is for mySQL only. From your earlier question I know that you're using that database so it may be worth trying that specific version of the plugin. However, that's your call of course! There don't seem to be any issues listed in Jira for this plugin and the keyword "no-args constructor".
It might also be worth checking that your mySQL database is set-up along the lines recommended by Atlassian (https://confluence.atlassian.com/display/DOC/Database+Setup+For+MySQL). The options for character encoding (UTF8), case sensitivity and InnoDB are important ones and may have a bearing on what you're seeing with this plugin.
Regards,
Charles
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've tried the 1.1-SHAPSHOT version as well, actually. Same problem.
I'll pass the mySQL setup link along to our IT group and see if that helps. If it does I'll approve this answer. ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sadly, none of the above worked.
We checked the database against the setup for MySQL page (and the associated common issues page) and did fix one or two little things.
However, that did not fix the Survey plugin. Still getting the no-augs constructor error.
I tried both the regular and the -SNAPSHOT version of the plugin.
Are there other plugins that duplicate some or all of the functionality of the survey plugin? We mostly just want to insert a short questionnaire on each page and have a way to check on the results in a centralized location.
The other features of the survey function (like macros to list helpful pages) were just gravy. Tasty, but not required.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Confluence 4.2.6
Content Survey and Reporting Plugin 1.1
I cannot define any test questions now, either.
When I first installed I left the default "was this useful?" question and added one for "was it well-written?"
I then went to a page and added the macro and began to get the "no-augs constructor" error you see above.
Now I can't get back to the survey pages. When I go to the Space Admin page and click either of the Survey options, I get an error page that has the same "no-augs constructor" error message.
I tried uninstalling and re-installing the plugin today, but it did no good.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.