Select to view content in your preferred language

SymbolDictionary 2525C Size Mobility Problem

3062
2
06-21-2013 10:18 AM
WilliamBabcock
Emerging Contributor
I'm getting the following error printed out when calling symbolDictionary.getSymbolImage("SHGPEXI---MO---", 150,150);

"--> Unexpected Bad JSON string for Id: SMO"

It retrieves the BufferedImage and only seems to have this issue when I make use of the Size/Mobility field (in this case the "MO").
I have tried several mobility values all with the same result. Any idea why this is happening?
0 Kudos
2 Replies
CarlosColón-Maldonado
Frequent Contributor
Are you trying to display this image: [ATTACH=CONFIG]25429[/ATTACH]? It works for me.

"--> Unexpected Bad JSON string for Id: SMO" ... Any idea why this is happening?


However, I have no idea what the unexpected bad JSON string for id is suppose to mean. I don't appear to be doing anything different.
0 Kudos
WilliamBabcock
Emerging Contributor
Yes, that symbol is plotting fine, I'm just getting the above mentioned print line.
0 Kudos