Hello,
Version : docmenta_v1-8
I started using this product recently and I am not a very experienced user. I created a tree structure of sections with content, created a product and was able to export as "webhelp" easily. This whole export worked well.
After this, I added 4 styles, and edited two pages with content using these styles. I now get a error when I export as webhelp with the following details :
Publication export log
Store: RM
Version: 1.0
Publication configuration: ConfigMgr
Output configuration: webhelp
Publication language: en
2016-02-06 16:04: INFO
Starting transformation to WEBHELP2.
2016-02-06 16:04: ERROR
java.lang.NullPointerException
2016-02-06 16:04: INFO
Export finished with errors!
Is there anything I can do to figure out what has gone wrong and how to correct this.
Pls advice.
Thank you,
Best regards,
D K
Hello,
Could you please check if there is a more detailed error message in the Tomcat log file. The log files are located in <installdir>/apache-tomcat/logs. Please check if there is a log file with a recent timestamp. Normally the error should be located in a file named localhost<date>. If there is no such file or the file does not contain an error, then please also check the other log files with a recent modification time. </date></installdir>
If there is an error, please attach the complete error message including all "at org.docma...." lines (or attach the complete log file).
Thanks!
Strangely, there are no logs. Is there any property file - log4j.properties etc. - where I can go and check where the logs are being written ?
If the Tomcat logs do not contain an error message then the error has probably not been logged. Would it be possible to send the product directory .../docstores/RM as a zip file? (either by email to support@docmenta.org or as attachment to this ticket)
Attached. Please do let me know.
Last edit: D Kuruppath 2016-02-12
The NullPointerException is caused by span elements in the content that do not have a class attribute. Normally this should be no problem, but there is a bug in the WebHelp v2 implementation that causes this error.
The problem will be fixed in the next Docmenta version planned for next month. Until then you can:
1.
either remove all span that have no class attribute (e.g. in your content there are several content nodes that contain <span style="font-size: 1em;">...</span>)
2.
or replace the WebFormatter.class file that is located in tomcatdir/webapps/docmenta/WEB-INF/classes/org/docma/app/ with the attached WebFormatter.class file
Furthermore, please replace in the section title "Dependencies & Assumptions" the & character by "and". The & character in section titles causes a problem during creation of the fulltext index. This will be solved in the next Docmenta version as well.
Last edit: Manfred P. 2016-02-14