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

Gliffy - Error occurred while rendering this diagram (different error in log)

Teresa Hollidge Nov 10, 2017

I upgraded the Gliffy plugin from 7.1.2 to 8.0.4 today on a test system running Confluence server 5.10.8. Most of the Gliffy diagrams are fine (display & edit) but some diagrams display the error: 

"An error occurred while rendering this diagram. Please contact your administrator."

All diagrams have both the Gliffy image and Gliffy diagram attached to the page in which they appear. No Gliffy images are linked from other pages (on purpose). Some pages have both fully functioning diagrams and broken diagrams.

The error in the log is: 

2017-11-10 12:44:19,281 ERROR [http-nio-127.0.0.102-8090-exec-1] [plugin.confluence.macro.GliffyMacro] execute Gliffy Macro Exception
-- url: XXXX | page: 62656035 | traceId: 7f5bbd451a401293 | userName: XXXX | referer: http://XXXX/pages/editpage.action?pageId=62656035 | action: viewpage
com.gliffy.plugin.confluence.exception.GliffyException: java.lang.ClassCastException: com.gliffy.plugin.confluence.cache.GonCacheEntry cannot be cast to com.gliffy.plugin.confluence.cache.GonCacheEntry

For diagrams that display the error instead of the diagram, when I edit the Confluence page, I am able to see the diagram as usual. When I edit the diagram, I see the following message: 

"The file was not able to load because it was not recognized as a valid Gliffy file. Please a report to Gliffy. You can view the report before it is sent. Sadly, you may need to refresh your browser to continue working  normally."

The report never generates, as far as I can tell.

I'm the admin (in my spare time) and I'm not sure how to resolve this issue. TIA

2 answers

1 vote
Marcel Lieberwirth Feb 22, 2018

Hey,

we got the same problem and solved it with a restart of confluence.

What causes the problem?

In our case at least one user was in edit-mode of a page with a gliffy diagram (node he was not in gliffy-edit-mode, only page-edit!) while we did the update.

The result was 

com.gliffy.plugin.confluence.exception.GliffyException: java.lang.ClassCastException: com.gliffy.plugin.confluence.cache.GonCacheEntry cannot be cast to com.gliffy.plugin.confluence.cache.GonCacheEntry

 

We think it belongs to OSGi (and the Bundle mechanism there), because on server-side you do the update and the client hold the old stuff. Then the user press save / update which leads to problems between old and new version of the plugin.

Simular problem: https://stackoverflow.com/questions/27040335/osgi-same-class-but-classcastexception

Eric Lee May 17, 2018

Same problem with Gliffy 8.0.5 and Confluence Server 6.0.2, but it didn't work by restarting.

0 votes
Enrico Campana Nov 30, 2017

I'm facing exactly the same problem with Gliffy ver. 8.0.4 and Confluence Server 6.3.3

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

2,327 views 11 27
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