Open Kissaki opened 6 years ago
Looking at the code, the image tag is corrupt or missing in your Joomla database:
Unexpected token END OF FILE at position 0 <-- notice the image tag was empty. The warning can be ignored if you were not expecting images. I've not seen this before in Joomla 3.
This does not affect processing and I think it is a valid warning. I'll drop the stack trace from the warning.
Could you confirm which Joomla version you're trying to convert?
Joomla 3.8. It’s an upgraded install from various previous versions. So content may be in an old style or sth, if that's a thing. I dunno.
Thanks for the reply, I’ve cleaned up the code on master so that it doesn’t print the stack trace, as it’s possible the field could be blank as in your case. It now just reports a warning that the image Json is not present. Once I’ve got the other issues sorted I’ll do a release. I’m your case there was no consequence to the exception.
https://github.com/davetcc/hugojoomla/blob/6e0e6200e52bc1a02bc0bbc3cd51541839a2bb42/src/main/java/com/thecoderscorner/web/hugojoomla/JoomlaContent.java#L44