@startuml ' unable to decode string Empty Description Syntax Error?

0 votes
asked May 31, 2016 in To be sorted by anonymous

I receive the following error message when trying to generate the image with the code below with the JQuery integration, but if I use the demo server at http://plantuml.com/plantuml with the same uml code the image generates just fine:

image

 

skinparam monochrome true
skinparam componentFontSize 12
[NCP Cardiac Cath Lab of TMC,\nLP\n47-1129699] -down-> [Cardiac Cath Lab of TMC, LP\n47-1097078]:99.0%
[Cardiac Cath Lab of TMC GP,\nLLC\n47-1121159] -down-> [Cardiac Cath Lab of TMC, LP\n47-1097078]:1.0%
[National Cardiovascular Partners,\nLP\n20-8822411] -down-> [NCP Cardiac Cath Lab of TMC,\nLP\n47-1129699]:99.0%
[Cardiac Cath Lab of TMC GP,\nLLC\n47-1121159] -down-> [NCP Cardiac Cath Lab of TMC,\nLP\n47-1129699]:1.0%
[Laurus Healthcare, L.P.\n01-0676740] -down-> [National Cardiovascular Partners,\nLP\n20-8822411]:99.0%
[National Cardiovascular Partners\nGP LLC\n20-8822378] -down-> [National Cardiovascular Partners,\nLP\n20-8822411]:1.0%
[Laurus Healthcare GP, LLC\n01-0676737] -down-> [Laurus Healthcare, L.P.\n01-0676740]:0.67%
[NCP Healthcare Holdings, Inc.\n37-1703800] -down-> [Laurus Healthcare, L.P.\n01-0676740]:99.33%
[NCP Healthcare Holdings, Inc.\n37-1703800] -down-> [Laurus Healthcare GP, LLC\n01-0676737]
[NCP Investment Holdings, Inc.\n36-4744042] -down-> [NCP Healthcare Holdings, Inc.\n37-1703800]
[Fresenius Medical Care Integrated\nCare Group, LLC\n46-2270736] -down-> [NCP Investment Holdings, Inc.\n36-4744042]
[Fresenius Medical Care Holdings,\nInc.\n13-3461988] -down-> [Fresenius Medical Care Integrated\nCare Group, LLC\n46-2270736]
[Fresenius Medical Care North\nAmerica Holdings Limited\nPartnership\n98-0487511] -down-> [Fresenius Medical Care Holdings,\nInc.\n13-3461988]
[Laurus Healthcare, L.P.\n01-0676740] -down-> [National Cardiovascular Partners\nGP LLC\n20-8822378]
[National Cardiovascular Partners,\nLP\n20-8822411] -down-> [Cardiac Cath Lab of TMC GP,\nLLC\n47-1121159]
commented Jul 20, 2016 by anonymous
Can anyone provide any help with this issue please?  It is affecting a customer's production environment and I cannot help them without further input.

Thanks,
Daniel
commented Jul 20, 2016 by plantuml (295,000 points)
We would be glad to help, but without more details input, it's very difficult.
Which plugin are you using ?
Are very simple example working ?
Like
@startuml
class foo
@enduml
commented Jul 20, 2016 by anonymous
Thanks for the quick reply.  We're using the jQuery integration described at http://plantuml.com/jquery.html
Many other, more complex, diagrams work just fine, but for some strange reason this one doesn't.  Here is the full HTML source of the diagram that doesn't load properly:
<html>
<head>
<title>Ownership Org Chart</title>
<script type="text/javascript" language="javascript" src="jquery.js"></script>
<script type="text/javascript" language="javascript" src="rawdeflate.js"></script>
<script type="text/javascript" language="javascript" src="jquery_plantuml.js"></script>
</head>
<body>
<img uml="
skinparam monochrome true
skinparam componentFontSize 12
[NCP Cardiac Cath Lab of TMC,\nLP\n47-1129699] -down-> [Cardiac Cath Lab of TMC, LP\n47-1097078]:99.0%
[Cardiac Cath Lab of TMC GP,\nLLC\n47-1121159] -down-> [Cardiac Cath Lab of TMC, LP\n47-1097078]:1.0%
[National Cardiovascular Partners,\nLP\n20-8822411] -down-> [NCP Cardiac Cath Lab of TMC,\nLP\n47-1129699]:99.0%
[Cardiac Cath Lab of TMC GP,\nLLC\n47-1121159] -down-> [NCP Cardiac Cath Lab of TMC,\nLP\n47-1129699]:1.0%
[Laurus Healthcare, L.P.\n01-0676740] -down-> [National Cardiovascular Partners,\nLP\n20-8822411]:99.0%
[National Cardiovascular Partners\nGP LLC\n20-8822378] -down-> [National Cardiovascular Partners,\nLP\n20-8822411]:1.0%
[Laurus Healthcare GP, LLC\n01-0676737] -down-> [Laurus Healthcare, L.P.\n01-0676740]:0.67%
[NCP Healthcare Holdings, Inc.\n37-1703800] -down-> [Laurus Healthcare, L.P.\n01-0676740]:99.33%
[NCP Healthcare Holdings, Inc.\n37-1703800] -down-> [Laurus Healthcare GP, LLC\n01-0676737]
[NCP Investment Holdings, Inc.\n36-4744042] -down-> [NCP Healthcare Holdings, Inc.\n37-1703800]
[Fresenius Medical Care Integrated\nCare Group, LLC\n46-2270736] -down-> [NCP Investment Holdings, Inc.\n36-4744042]
[Fresenius Medical Care Holdings,\nInc.\n13-3461988] -down-> [Fresenius Medical Care Integrated\nCare Group, LLC\n46-2270736]
[Fresenius Medical Care North\nAmerica Holdings Limited\nPartnership\n98-0487511] -down-> [Fresenius Medical Care Holdings,\nInc.\n13-3461988]
[Laurus Healthcare, L.P.\n01-0676740] -down-> [National Cardiovascular Partners\nGP LLC\n20-8822378]
[National Cardiovascular Partners,\nLP\n20-8822411] -down-> [Cardiac Cath Lab of TMC GP,\nLLC\n47-1121159]
">
</body>
</html>
commented Jul 20, 2016 by plantuml (295,000 points)
This is really weird.
We've uploaded your example at
https://dl.dropboxusercontent.com/u/13064071/bug1/bug1.html
And it seems to work fine here (at least, for us).
Could you check on your side ?
commented Jul 20, 2016 by anonymous
Yes, the strange thing is that the code works fine in a separate, stand-alone html file, but when the same, exact code is executed in the customer's site it always generates the Syntax Error message/image above just for this instance; other diagram instances work fine, even on the same page in the customer's site.  Is there any debugging that can be turned on to help troubleshoot the cause of this issue?

1 Answer

0 votes
answered Jul 20, 2016 by plantuml (295,000 points)

No, there is no debug we can turn on. The issue is that the URL http://www.plantuml.com/plantuml/img/hPJFRu8m5CRl_1Izx2QcfHq53xkO-2L1GxBTn4C7dPB1god59VlfLqKtuZIJwOa4-htF-pxUgrEzvx0HMfIeLA3IjLQbH4RNqldvagfoeq226Iamp_cdHCHp5lDXZ8P2Pxb8xTEiKIHUaNf3BxDXBu4eJe1nbn0lzCDmYTnCVO3xX1QN9EYem277F5WEmh2F7vnBvz4utb6YuH53oEE_C6HFcGkJAn15uqXjHPNMXT0e5jg0rDN1aOVT8F0yHaWBrIc86srrOpNU8b7hka8JAGgpJeMMDeH-t4y04nVxtESCjmcTapXQ-akPm3X6Usi7CRNvtmI-u6yNOWCwEgIy1RecZm7k-_oX6V9MuOagiXnMLGzD8RKAQiFcc0OOTwrlCwFqNe2pXflQKzZAofHsUN_Nzbt66SFCEncmw_fn5YCjAmcvRMKcipnjVfsq9urSQM5abi3-nLYhUdDeaFckvzdDe_u9zBf6BqA_DGaq8a9TodmI1kqPkx7ZU-_IsOsuxJBgTAyuNm00 is not correct : It means that JQuery has not generated a valid URL, but I don't know why.

Check that the following files:

jquery.js
rawdeflate.js
jquery_plantuml.js

 Are OK on your customer's site. (They probably are, since other diagrams are working...)

Note that It may be also a browser issue (IE/Chrome/Firefox) : can you check with several browser on your customer's site ?

Do you test with only one diagram per page.

Try to determine when it's beginning to crash:

Start with a simple diagram:

skinparam monochrome true
skinparam componentFontSize 12
[foo]

Then:

skinparam monochrome true
skinparam componentFontSize 12
[NCP Cardiac Cath Lab of TMC,\nLP\n47-1129699] -down-> [Cardiac Cath Lab of TMC, LP\n47-1097078]:99.0%

Add line one by one to see when it breaks.

 

...