created an attachment (id=162941)
screenshot

test build:2.6.0.v20100325

steps to reproduce:
1. insert a label
2. define toc in it
3. preview in web viewer, export report to pdf
4. open pdf file

expected result:
no exception

current behavior:
see attached.

