Zap Report Generation - Error

223 views
Skip to first unread message

NCoder

unread,
Nov 10, 2016, 9:30:21 PM11/10/16
to OWASP ZAP User Group
Hi,

Im trying to generate a ZAP HTML report via API. Sometimes, i get this weird error and am trying to find why this happens. Any help would be appreciated. I run a scan which is almost 8 hours long and then this happens. 

I also save my sessions, when i open it manually and try to generate a html report through the report tab the same error occurs.

Error (POPUP):

File creation may have failed or is not complete.

Exception:

ERROR ReportGenerator - Character reference "&#
org.xml.sax.SAXParseException; lineNumber: 2361; columnNumber: 1222; Character reference "&#
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)
at org.parosproxy.paros.extension.report.ReportGenerator.stringToHtml(Unknown Source)
at org.parosproxy.paros.extension.report.ReportLastScan.generate(Unknown Source)
at org.parosproxy.paros.extension.report.ReportLastScan.generateReport(Unknown Source)
at org.parosproxy.paros.extension.report.ExtensionReport$1.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:125)
at java.awt.MenuItem.processActionEvent(MenuItem.java:669)
at java.awt.MenuItem.processEvent(MenuItem.java:628)
at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:351)
at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:339)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:761)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
 

thc...@gmail.com

unread,
Nov 11, 2016, 5:30:56 AM11/11/16
to zaprox...@googlegroups.com
Hi.

Was that using version 2.5.0? If so, would you mind raising an issue? [1]


[1] https://github.com/zaproxy/zaproxy/issues/new

Best regards.

On 11/11/16 02:30, NCoder wrote:
> Hi,
>
> Im trying to generate a ZAP HTML report via API. Sometimes, i get this
> weird error and am trying to find why this happens. Any help would be
> appreciated. I run a scan which is almost 8 hours long and then this
> happens.
>
> I also save my sessions, when i open it manually and try to generate a
> html report through the report tab the same error occurs.
>
> *Error (POPUP):*
>
> File creation may have failed or is not complete.
> *
> *
> *Exception:*
> *
> *
> --
> You received this message because you are subscribed to the Google
> Groups "OWASP ZAP User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to zaproxy-user...@googlegroups.com
> <mailto:zaproxy-user...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/zaproxy-users/cec4140d-0fcd-4b0f-a6f5-7fe28b43340d%40googlegroups.com
> <https://groups.google.com/d/msgid/zaproxy-users/cec4140d-0fcd-4b0f-a6f5-7fe28b43340d%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

NCoder

unread,
Nov 11, 2016, 3:26:40 PM11/11/16
to OWASP ZAP User Group
Hi,

Yes i am using the 2.5.0. I have raised the bug here:


thc...@gmail.com

unread,
Nov 12, 2016, 7:26:26 PM11/12/16
to zaprox...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages