Reproduction steps:
1. Create a Global Category
2. Create a Web Content using the Category
3. Display the Web Content in a Web Content Display portlet
4. Export the portlet
Result:
Process fails with IllegalStateException
Note:
Other display portlets might be effected as well.
It's only 6.2 issue, a partial backport of LPS-45935 is needed.