{"action":"created","issue":{"url":"https://api.github.com/repos/dita-ot/dita-ot/issues/2885","repository_url":"https://api.github.com/repos/dita-ot/dita-ot","labels_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/2885/labels{/name}","comments_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/2885/comments","events_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/2885/events","html_url":"https://github.com/dita-ot/dita-ot/issues/2885","id":292698093,"number":2885,"title":"Images in bookmap title cause NPE and break PDF rendering wit DITA OT 3.0.1","user":{"login":"boris-horner","id":4948244,"avatar_url":"https://avatars1.githubusercontent.com/u/4948244?v=4","gravatar_id":"","url":"https://api.github.com/users/boris-horner","html_url":"https://github.com/boris-horner","followers_url":"https://api.github.com/users/boris-horner/followers","following_url":"https://api.github.com/users/boris-horner/following{/other_user}","gists_url":"https://api.github.com/users/boris-horner/gists{/gist_id}","starred_url":"https://api.github.com/users/boris-horner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boris-horner/subscriptions","organizations_url":"https://api.github.com/users/boris-horner/orgs","repos_url":"https://api.github.com/users/boris-horner/repos","events_url":"https://api.github.com/users/boris-horner/events{/privacy}","received_events_url":"https://api.github.com/users/boris-horner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-01-30T08:50:42Z","updated_at":"2018-03-14T22:10:50Z","closed_at":null,"author_association":"NONE","body":"## Expected Behavior\r\nAn image in bookmap title should be displayed on the first page of the rendered PDF.\r\n\r\n## Actual Behavior\r\nA NPE is thrown. With DITA-OT 2.5.4, no error occurs and a correct PDF is created.\r\n\r\n## Possible Solution\r\nUnknown - seems to be a bug that must be fixed.\r\n\r\n## Steps to Reproduce\r\n[manual_test.zip](https://github.com/dita-ot/dita-ot/files/1676889/manual_test.zip)\r\n\r\n1. `path\\to\\dita-ot-3.0.1\\bin\\dita -f pdf2 -i test.ditamap -v`\r\n\r\n## Copy of the error message, log file or stack trace\r\n`topic-reader:\r\n[topic-reader] Using Xerces grammar pool for DTD and schema caching.\r\n[topic-reader] Reading file:/C:/Users/Demo/AppData/Local/Temp/temp20180130004418366/aadcc03c12e05a7a01b6aba3ecb0be7c3526f358.ditamap\r\nError: java.lang.NullPointerException`\r\n\r\n## Environment\r\n* DITA-OT version: 3.0.1\r\n* Operating system and version: Windows 10\r\n* How did you run DITA-OT? dita command\r\n* Transformation type: PDF\r\n\r\n<!--\r\nBefore submitting, check the Preview tab above to verify the XML markup appears\r\ncorrectly and remember you can edit the description later to add information.\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/dita-ot/dita-ot/issues/comments/373191995","html_url":"https://github.com/dita-ot/dita-ot/issues/2885#issuecomment-373191995","issue_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/2885","id":373191995,"user":{"login":"boris-horner","id":4948244,"avatar_url":"https://avatars1.githubusercontent.com/u/4948244?v=4","gravatar_id":"","url":"https://api.github.com/users/boris-horner","html_url":"https://github.com/boris-horner","followers_url":"https://api.github.com/users/boris-horner/followers","following_url":"https://api.github.com/users/boris-horner/following{/other_user}","gists_url":"https://api.github.com/users/boris-horner/gists{/gist_id}","starred_url":"https://api.github.com/users/boris-horner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boris-horner/subscriptions","organizations_url":"https://api.github.com/users/boris-horner/orgs","repos_url":"https://api.github.com/users/boris-horner/repos","events_url":"https://api.github.com/users/boris-horner/events{/privacy}","received_events_url":"https://api.github.com/users/boris-horner/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T22:10:50Z","updated_at":"2018-03-14T22:10:50Z","author_association":"NONE","body":"Since I didn't get it to work with the data element approach, I linked in a topic in the frontmatter before the booklists as suggested as \"plan b\" above. Whenever I start referencing the image in that topic in front-matter.xsl though, I get the same problem again, a SEVERE error message in the fop block telling me it can't find the image.\r\n\r\nI go back to DITA OT 2.5.4 now. Either 3.x still has a bug in that area (probably in or before gen-lists) or I am doing something fundamentally wrong that I can't resolve myself. I invested almost 3 days to no avail. With 2.5.4, I get the cover image without any modifications to the map (image directly placed inside mainbooktitle element). This might not be the most elegant approach, and it's based on an outdated DITA-OT version, but at least it yields the result the customer expects. Sorry :-("}}
{"actor":{"display_login":"boris-horner"}}