Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on some digital signature macros #68

Closed
williamtanner17 opened this issue Apr 15, 2021 · 7 comments
Closed

Error on some digital signature macros #68

williamtanner17 opened this issue Apr 15, 2021 · 7 comments
Assignees
Labels

Comments

@williamtanner17
Copy link

We are seeing errors on some digital signature macros, while others work fine. We even have the same page with the same macro in our Test and Production environments, and the macro works in Test, but not in prod. The error we see on the page is:

Error rendering macro 'signature'

com.baloise.confluence.digitalsignature.Signature cannot be cast to com.baloise.confluence.digitalsignature.Signature
digital-signature-error-log.txt

@Tiliavir Tiliavir added the bug label Apr 15, 2021
@Tiliavir
Copy link
Member

Hi @williamtanner17

Very interesting - which version of digital-signature and confluence are you using?

java.lang.ClassCastException: com.baloise.confluence.digitalsignature.Signature cannot be cast to com.baloise.confluence.digitalsignature.Signature
	at com.baloise.confluence.digitalsignature.DigitalSignatureMacro.sync(DigitalSignatureMacro.java:294)
	at com.baloise.confluence.digitalsignature.DigitalSignatureMacro.execute(DigitalSignatureMacro.java:97)

Best regards
Markus

@williamtanner17
Copy link
Author

williamtanner17 commented Apr 15, 2021 via email

@Tiliavir
Copy link
Member

Hi @williamtanner17

It seems your deployment state is somehow corrupted. The error from the log file you provided indicates, that you are still on version 7.0.2, cause in 7.0.3 line 294 is empty:

Can you verify that the deployment was successful?

Best regards
Markus

@TrooperNo5
Copy link

Hello there,

we encounter the same behavior. Confluence (Server) is on version 7.10.1 (since January 2021) and the macro says it is on version 7.0.3. How can we verify that the deployment was successful?

Best regards
Christian

@williamtanner17
Copy link
Author

We resolved the problem by uninstalling the plugin, clearing the plugin cache, and reinstalling the plugin. A restart of each node is also required as part of clearing the plugin cache.

@TrooperNo5
Copy link

@williamtanner17 Thanks for the hint. It was sufficient for us to clear the plugin cache and restart Confluence. Problem is solved for now.

Best regards
Christian

@Tiliavir
Copy link
Member

Thank you very much for the update @williamtanner17 and @TrooperNo5!

Glad that the issue is resolved for both of you - I will keep the task open, I think that is worth some kind of documentation in particular since we want to test data center compatibility with #59.

FYI: @culmat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants